problem_id stringlengths 6 6 | user_id stringlengths 10 10 | time_limit float64 1k 8k | memory_limit float64 262k 1.05M | problem_description stringlengths 48 1.55k | codes stringlengths 35 98.9k | status stringlengths 28 1.7k | submission_ids stringlengths 28 1.41k | memories stringlengths 13 808 | cpu_times stringlengths 11 610 | code_sizes stringlengths 7 505 |
|---|---|---|---|---|---|---|---|---|---|---|
p02771 | u589969467 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a,b,c = map(int,input().split())\nif a == b and b == c and C == a:\n print('No')\nelif a != b and b != c and C != a:\n print('No')\nelse:\n print('Yes')\n", "a,b,c = map(int,input().split())\nif a == b and b == c and c == a:\n print('No')\nelif a != b and b != c and c != a:\n print('No')\nelse:\n print('Yes')\n"] | ['Runtime Error', 'Accepted'] | ['s098823222', 's528428553'] | [9012.0, 9040.0] | [29.0, 30.0] | [156, 156] |
p02771 | u592035627 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['s = map(int,input().split())\na =0\nif s[0] == s[1]and s[0] != s[2] or s[1] == s[2] and s[0] != s[2] or s[0] == s[2] and s[1] != s[2]:\n print("Yes")\nelse:\n print("No")', 's = [int(x) for x in input().split()]\na =0\nif s[0] == s[1]and s[0] != s[2] or s[1] == s[2] and s[0] != s[2] or s[0] == s[2] and s[1] != s[2]:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s224035677', 's319185297'] | [3060.0, 3060.0] | [17.0, 19.0] | [171, 180] |
p02771 | u592819389 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['A,B,C=map(int, input().split()) #1 2 3\n# print(A) 1\n\nif A == B or A == C or B == C:\n print("NO")\nelse:\n print("YES")', 'A,B,C=map(int, input().split()) #1 2 3\n\nif A == B == C:\n print("NO")\nelif (A != B and A!=C) and B != C:\n print("NO")\nelse:\n print("YES")', 'A,B,C=map(int, input().split()) #1 2 3\n# print(A) 1\n\nif A == B or A == C:\n print("NO")\nelse:\n print("YES")\n', 'A,B,C=map(int, input().split()) #1 2 3\n\nif A == B and B == C:\n print("NO")\nelse:\n print("YES")\n', 'A,B,C=map(int, input().split()) #1 2 3\n\nif (A == B and A == C) and (B == C):\n print("NO")\nelif (A != B and A != C) and (B != C):\n print("NO")\nelse:\n print("YES")', 'A,B,C=map(int, input().split()) #1 2 3\n\nif (A == B and A != C) or (A != B and A == C):\n print("YES")\nelse:\n print("NO")\n', 'A,B,C=map(int, input().split()) #1 2 3\n# print(A) 1\n\nif A == B or A == C:\n print("YES")\nelse:\n print("NO")\n', 'A,B,C=map(int, input().split()) #1 2 3\n\nif A == B == C:\n print("No")\nelif (A != B and A!=C) and B != C:\n print("No")\nelse:\n print("Yes")'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s146935991', 's289023701', 's449052711', 's459818637', 's676642091', 's873745053', 's907908310', 's432462006'] | [2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 2940.0, 3064.0] | [17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 19.0, 18.0] | [118, 139, 109, 97, 165, 122, 109, 139] |
p02771 | u594803920 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["s = list(input())\nif s[0]==s[1] and s[0]!=s[2]:\n print('Yes')\nelif s[0]==s[2] and s[0]!=s[1]:\n print('Yes')\nelif s[2]==s[1] and s[0]!=s[2]:\n print('Yes')\nelse:\n print('No')", "s = input().split()\nif s[0]==s[1] and s[0]!=s[2]:\n print('Yes')\nelif s[0]==s[2] and s[0]!=s[1]:\n print('Yes')\nelif s[2]==s[1] and s[0]!=s[2]:\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s896203208', 's481175474'] | [3060.0, 3064.0] | [17.0, 17.0] | [176, 186] |
p02771 | u595764679 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["lis = list(map(int,input().split()))\nlis = set(lis)\nif len(lis) == 2:\n print('YES')\nelse:\n print('NO')", "lis = list(map(int,input().split()))\nlis = set(lis)\nif len(lis) == 2:\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s142531114', 's010721823'] | [2940.0, 2940.0] | [17.0, 17.0] | [108, 108] |
p02771 | u595952233 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["N = int(input())\naa = map(int, input().split())\n\nf = False\nfor a in aa:\n if a % 2 == 0:\n if (a % 3 != 0) and (a % 5 != 0):\n print('DENIED')\n f = True\n break\nif not f:\n print('APPROVED')", "N = int(input())\naa = map(int, input().split())\n\nf = False\nfor a in aa:\n if a % 2 == 0:\n if a % 3 != 0:\n print('DENIED')\n f = True\n break\n elif a % 5 != 0:\n print('DENIED')\n f = True\n break\nif not f:\n print('APPROVED')\n", 'N, K = map(int, input().split())\naa = map(int, input().split())\n\np = []\nfor i in range(N-1):\n for j in range(i+1, N):\n p.append(i*j)\n\nprint(p.sorted[K])', "abc = map(int, input().split())\n\nabc_set = set(abc)\n\nif len(set) == 2:\n print('Yes')\nelse:\n print('No')", "abc = map(int, input().split())\n \nabc_set = set(abc)\n\nif len(abc_set) == 2:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s100700867', 's115956232', 's256067876', 's316403787', 's932142675'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0, 17.0, 17.0] | [205, 257, 156, 105, 110] |
p02771 | u598924163 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a,b,c = map(int,input().split())\ncount=0\nif(a==b):\n count+=1\nif(b==c):\n count+=1\nif(c==a):\n count+=1\n\nif(count==1):\n print('YES')\nelse:\n print('NO')\n ", "a,b,c = map(int,input().split())\ncount=0\nif(a==b):\n count+=1\nif(b==c):\n count+=1\nif(c==a):\n count+=1\n\nif(count==1):\n print('Yes')\nelse:\n print('No')\n"] | ['Wrong Answer', 'Accepted'] | ['s233555158', 's082508532'] | [2940.0, 2940.0] | [17.0, 17.0] | [168, 164] |
p02771 | u600261652 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['A = list(input().split())\nprint("Yes" if len(set(A)) == 2 and A[0].count(A) == 1 or A[0].count(A) == 2 else"No")', 'A = list(input().split())\nprint("Yes" if len(set(A)) == 2 and (A[0].count(A) == 1 or A[0].count(A) == 2) else "No")', 'A = list(input().split())\nprint("Yes" if len(set(A)) == 2 else "No")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s001449692', 's350707232', 's739956269'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [112, 115, 68] |
p02771 | u601575292 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a, b, c = map(int, input().split())\n\nif (a == b and b == c) or (a != b and b != c):\n print("No")\nelse:\n print("Yes")\n ', 'a, b, c = map(int, input().split())\n\nif a == b == c:\n print("No")\nelif a == b:\n print("Yes")\nelif b == c:\n print("Yes")\nelif a == c:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s075047538', 's125858753'] | [2940.0, 2940.0] | [17.0, 17.0] | [127, 180] |
p02771 | u603324902 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a, b, c = map(int,input().split())\n\nif a == b and b == c:\n print("NO")\nelif a != b and b != c and a != c:\n print("NO")\nelse:\n print("YES")\n', 'a, b, c = map(int,input().split())\n\nif a == b and b == c:\n print("No")\nelif a != b and b != c and a != c:\n print("No")\nelse:\n print("Yes")\n'] | ['Wrong Answer', 'Accepted'] | ['s383886742', 's343984517'] | [2940.0, 2940.0] | [19.0, 17.0] | [148, 148] |
p02771 | u604655161 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["def ABC_155_A():\n A,B,C = map(int, input().split())\n\n if (A == B and B != C) or (A != B and B == C):\n print('Yes')\n else:\n print('No')\n\nif __name__ == '__main__':\n\n ABC_155_A()", "def ABC_155_A():\n A,B,C = map(int, input().split())\n\n if (A == B and B != C) or (A != B and B == C) or (A != B and A == C):\n print('Yes')\n else:\n print('No')\n\nif __name__ == '__main__':\n\n ABC_155_A()"] | ['Wrong Answer', 'Accepted'] | ['s031191101', 's841297844'] | [2940.0, 2940.0] | [17.0, 17.0] | [202, 225] |
p02771 | u606146341 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a, b, c = map(int, input().split())\n\nif a == b and b == c:\n print(\'Yes\')\nelse:\n print("No")', 'a, b, c = map(int, input().split())\ni = 0\nif a == b:\n i += 1\nif b == c:\n i += 1\nif a == c:\n i += 1\n \n \nif i == 1: \n print(\'Yes\')\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s318164979', 's116006225'] | [2940.0, 2940.0] | [17.0, 17.0] | [93, 154] |
p02771 | u606858659 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | [' GNU nano 4.3 main 変更済み \na,b,c=map(int,input().split())\nif a == b and a != c:\n print("Yes")\nelif a == c and a != b:\n print("Yes")\nelif b == c and b != a:\n print("Yes")\nelse:\n print("No")\n', 'a,b,c=map(int,input().split())\nif a == b and a != c:\n print("Yes")\nelif a == c and a != b:\n print("Yes")\nelif b == c and b != a:\n print("Yes")\nelse:\n print("No")\n'] | ['Runtime Error', 'Accepted'] | ['s474352966', 's916621969'] | [2940.0, 2940.0] | [17.0, 17.0] | [276, 174] |
p02771 | u607729897 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["A,B,C=input().split()\nprint('Yes' if A==B==C else 'NO')", "A,B,C=input().split()\nprint('Yes' if A==B!=C or A==C!=B or B==C!=A else 'No')\n"] | ['Wrong Answer', 'Accepted'] | ['s797622209', 's660909478'] | [2940.0, 2940.0] | [17.0, 17.0] | [55, 78] |
p02771 | u609922073 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['s = input().sprit()\nif s[0]==s[1] and s[0]!=s[2] print("Yes")\nelif s[0]==s[2] and s[0]!=s[1] print("Yes")\nelif s[2]==s[1] and s[0]!=s[2] print("Yes")\nelse print("No")', 's = input().split()\nif s[0]==s[1] and s[0]!=s[2]:\n print("Yes")\nelif s[0]==s[2] and s[0]!=s[1]:\n print("Yes")\nelif s[2]==s[1] and s[0]!=s[2]:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s459386887', 's067728705'] | [9020.0, 9120.0] | [27.0, 29.0] | [166, 178] |
p02771 | u612635771 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['s = input()\nprint("Yes" if len(set(s)) == 2 else "No")', 's = [input().split()]\nprint("Yes" if len(set(s)) == 2 else "No")', 's = input()\nprint("Yes" if len(set(s)) == 2 else "No")', 's = list(input().split())\nprint("Yes" if len(set(s)) == 2 else "No")'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s052777736', 's102106900', 's383596050', 's759049602'] | [9092.0, 8928.0, 9072.0, 9028.0] | [30.0, 20.0, 27.0, 26.0] | [54, 64, 54, 68] |
p02771 | u613144488 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["import sys\n\nN = list(map(int, input().split()))\nA = list(map(int, input().split()))\n\nfor x in A:\n if (x % 2 == 0) and (x % 3 != 0) and (x % 5 != 0):\n print('DENIED')\n sys.exit()\n\nprint ('APPROVED')\n", "N = list(map(int, input().split()))\nA = list(map(int, input().split()))\n\nisApprove = True\n\nfor x in A:\n if x % 2 == 0:\n if (x % 3 != 0) or (x % 5 != 0):\n isApprove = False\n break\n \nif isApprove:\n print ('APPROVED')\nelse:\n print('DENIED')\n", "i = list(map(int, input().split()))\na = i[0]\nb = i[1]\nc = i[2]\n\nisPoor = False\n\nif (a == b or a == c) and b != c:\n isPoor = True\nelif (b == a or b == c ) and a != c:\n isPoor = True\nelif (c == a or c == b) and a != b:\n isPoor = True\n\nif isPoor:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s262891731', 's271096594', 's135713188'] | [2940.0, 3060.0, 3064.0] | [17.0, 17.0, 20.0] | [215, 283, 291] |
p02771 | u614628638 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['import collections\na = input().split()\nc = list(collections.Counter(a).values())\nb = 0\nprint(c)\nfor k in c:\n b += 1\n if k == 2:\n print("Yes")\n break\n elif b == 3:\n print("No")\n elif c == 3:\n print("No")', 'a = input()\na = int(a)\n\nline = [int(k) for k in input().split()]\nb = 0\nfor k in range(len(line)):\n if line[k] % 2 == 0:\n if not line[k] % 5 == 0 and not line[k] % 3 == 0:\n print("DENIED")\n break\n elif k == a-1:\n print("APPROVED")', 'import collections\na = input().split()\nc = list(collections.Counter(a).values())\nb = 0\nprint(c)\nfor k in c:\n b += 1\n if k == 2:\n print("Yes")\n break\n elif b == 3:\n print("No")\n elif c == c:\n print("No")', 'import collections\na = input().split()\nc = list(collections.Counter(a).values())\nb = 0\nprint(c)\nfor k in c:\n b += 1\n if k == 2:\n print("Yes")\n break\n elif b == 3:\n print("No")\n elif k == 3:\n print("No")', 'import collections\na = input().split()\nc = list(collections.Counter(a).values())\nb = 0\nfor k in c:\n b += 1\n if k == 2:\n print("Yes")\n break\n elif b == 3:\n print("No")\n elif k == 3:\n print("No")'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s382458515', 's525115785', 's649600579', 's851427165', 's804577825'] | [3316.0, 3060.0, 3316.0, 3444.0, 3316.0] | [20.0, 18.0, 21.0, 21.0, 20.0] | [218, 247, 218, 218, 209] |
p02771 | u615323709 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a, b, c = map(int, input())\nif a == b == c or a != b != c:\n print('No')\nelse:\n print('Yes')", "a, b, c = map(int, input().split())\nif a == b == c or a != b != c:\n print('No')\nelse:\n print('Yes')", "a, b, c = map(int, input().split())\nif a == b == c == a or a != b != c != a:\n print('No')\nelse:\n print('Yes')"] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s645377334', 's658393796', 's807475823'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [93, 101, 111] |
p02771 | u617556913 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a,b,c=map(int,input().split())\nl=[b,c]\nans=0\nfor i in l:\n if a==i:\n ans+=1\nif b==c:\n ans+=1\nif ans==1:\n print("No")\nelse:\n print("Yes")', 'a,b,c=map(int,input().split())\nl=[b,c]\nans=0\nfor i in l:\n if a==i:\n ans+=1\nif b==c:\n ans+=1\nif ans==1:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s830357623', 's737829302'] | [9120.0, 8868.0] | [31.0, 32.0] | [142, 142] |
p02771 | u620238824 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['s,t,u = input().split()\n\nif s == t == u:\n print("No")\nelif s != t != u:\n\tprint("No") \nelse:\n print("Yes")', 'A= map(int, input().split()) \nif len(set(A)) == 2:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s628790995', 's396490837'] | [2940.0, 2940.0] | [20.0, 17.0] | [114, 97] |
p02771 | u622047241 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a, b, c = map(int, input().split())\n\nif a == b == c or a != b != c:\n print('No')\nelse:\n print('Yes')\n", "A = input()\narr1 = [i for i in A.split(' ')]\nif(arr1[0]==arr1[1]==arr1[2]):\n\tprint('No')\nelif((arr1[0]!=arr1[1]) and (arr1[0]!=arr1[2]) and (arr1[1]!=arr1[2])):\n\tprint('No')\nelse:\n\tprint('Yes')"] | ['Wrong Answer', 'Accepted'] | ['s212384163', 's089792806'] | [2940.0, 3064.0] | [17.0, 18.0] | [107, 193] |
p02771 | u624613992 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['abc = map(int,input().split())\nif len(abc) == len(set(abc)):\n print("No")\n exit()\nprint("Yes")abc = list(map(int, input().split()))\nif len(abc) == len(set(abc)):\n print("No")\n exit()\nprint("Yes")\n', 'n = int(input())\na = list(map(int, input().split()))\nfor i in range(n):\n if a[i] % 2 == 0:\n if a[i] % 3 == 0 or a[i] % 5 == 0:\n pass\n else:\n print("DENIED")\n exit()\nprint("APPROVED")', 'abc = list(map(int, input().split()))\na = len(set(abc))\nif len(set(abc)) == 2:\n print("Yes")\n exit()\nprint("No")\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s357159157', 's830299995', 's482332635'] | [2940.0, 3060.0, 2940.0] | [17.0, 17.0, 18.0] | [204, 232, 119] |
p02771 | u627213696 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a,b,c=map(int,input().split())\nprint("No" if a==b==c or a!=b!=!c else "Yes")', 'a,b,c=map(int,input().split())\nprint("No" if a==b==c or a!=b!=c else "Yes")', 'a=set(map(int,input().split()))\nprint("Yes" if len(a)==2 else "No")'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s025104235', 's282106254', 's113409644'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [76, 75, 67] |
p02771 | u629454253 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a, b, c = map(int, input().split())\n\nif a is b and b is c:\n print('Yes')\nelse:\n print('No')", "a, b, c = map(int, input().split())\n\nif a == b and b == c:\n print('Yes')\nelse:\n print('No')", "a, b, c = map(int, input().split())\nisPoor = False\nif a == b:\n if b != c:\n \tisPoor = True\nelse:\n if b == c or a == c:\n isPoor = True\n \nif isPoor:\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s247884885', 's442281705', 's659210253'] | [2940.0, 2940.0, 3064.0] | [17.0, 17.0, 18.0] | [93, 93, 189] |
p02771 | u630027862 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["N = int(input())\nA = list(map(int, input().split()))\nfor val in A:\n if val % 2 == 1:\n continue\n elif val % 2 == 0:\n if val % 3 == 0:\n continue\n elif val % 5 == 0:\n continue\n else:\n print('DENIED')\n break\nelse:\n print('APPROVED')", "A = set(map(int, input().split()))\nif len(A) == 2:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s150879272', 's609694511'] | [3060.0, 2940.0] | [17.0, 17.0] | [309, 89] |
p02771 | u631579948 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a,b,c=map(int,input().split())\nif a==b and a!=c\n print('Yes')\nelif a==c and a!=b:\n print('Yes')\nelif b==c and b!=a:\n print('Yes')\nelse:\n print('NO')", "a,b,c=map(int,input().split())\nif a==b:\n if a!=c :\n print('Yes')\n else:\n print('No')\nelif a==c:\n if a!=b :\n print('Yes')\n else:\n print('No') \nelif c==b:\n if a!=c :\n print('Yes')\n else:\n print('No') \nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s275048083', 's646018801'] | [2940.0, 3060.0] | [17.0, 17.0] | [152, 247] |
p02771 | u632369368 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["# from functools import reduce\n\nN = int(input())\nAL = list(map(int, input().split()))\n\nR = reduce(lambda x, y: x and y, [n % 3 == 0 or n % 5 == 0 for n in AL if n % 2 == 0])\n\nif R:\n print('APPROVED')\nelse:\n print('DENIED')\n\n", "A, B, C = map(int, input().split())\n\nif len(set([A, B, C])) == 2:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s228776274', 's144143361'] | [2940.0, 2940.0] | [18.0, 17.0] | [230, 104] |
p02771 | u632757234 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["import numpy as np\n\ni=list(map(int, input().split()))\nprint(i)\nif i[0]==i[1]&i[1]!=i[2]:\n print('Yes')\nelif i[0]==i[2]&i[1]!=i[2]:\n print('Yes')\nelif i[1]==i[2]&i[0]!=i[1]:\n print('Yes')\nelse:\n print('no')\n", "import numpy as np\n\ni=list(map(int, input().split()))\nprint(i)\nif 1<=i[0]<=9:\n if i[0]==i[1]&i[1]!=i[2]:\n print('Yes')\n elif i[0]==i[2]&i[1]!=i[2]:\n print('Yes')\n elif i[1]==i[2]&i[0]!=i[1]:\n print('Yes')\n else:\n print('no')\n", "import numpy as np\n\ni=[int(input()) for i in range(3)]\nprint(i)\nif i[0]==i[1]&i[1]!=i[2]:\n print('Yes')\nelif i[0]==i[2]&i[1]!=i[2]:\n print('Yes')\nelif i[1]==i[2]&i[0]!=i[1]:\n print('Yes')\nelse:\n print('no')\n", "i=[int(input()) for i in range(3)]\nprint(i)\nif i[0]==i[1]&&i[1]!=i[2]:\n print('Yes')\nelse if i[0]==i[2]&&i[1]!=i[2]:\n print('Yes')\nelse if i[1]==i[2]&&i[0]!=i[1]:\n print('Yes')\nelse:\n print('no')\n ", "A,B,C=input().split()\n\nif A==B==C:\n print('No')\nelif A!=B and A!=C and B!=C:\n print('No')\nelse:\n print('yes')\n", "\n\ni=list(map(int, input().split()))\n\n\nif i[0]==i[1]&i[1]!=i[2]:\n print('Yes')\nelif i[0]==i[2]&i[1]!=i[2]:\n print('Yes')\nelif i[1]==i[2]&i[0]!=i[1]:\n print('Yes')\nelse:\n print('No')\n", "A,B,C=input().split()\n\nif A==B==C:\n print('No')\nelif A!=B and A!=C and B!=C:\n print('No')\nelse:\n print('Yes')\n"] | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s238628676', 's395771934', 's571987497', 's621553381', 's746233087', 's790590261', 's112606310'] | [12500.0, 12504.0, 14452.0, 2940.0, 2940.0, 3060.0, 2940.0] | [149.0, 149.0, 148.0, 18.0, 17.0, 17.0, 17.0] | [210, 265, 211, 202, 120, 193, 120] |
p02771 | u640346682 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a,b,c = map(int, input().split())\n\nif a==b or b==c:\n print("Yes")\nelse:\n print("No")\n', 'a,b,c = map(int, input().split())\nif (a==b and a!=c) or (a==c and a!=b) or (c==b and c!=a):\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s550986411', 's856356777'] | [2940.0, 2940.0] | [18.0, 17.0] | [87, 126] |
p02771 | u642909262 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['A, B, C = map(int, input().split())\nif (A == B) or (B == C ):\n print("Yes")\nelse:\n print("No")', 'A, B, C = map(int, input().split())\nif (A == B) or (B == C) or (A == C) and (B != C) and (A != C) and (A != B):\n print("Yes")\nelse:\n print("No")\n', "A, B, C = map(int, input().split())\nif (A == B or A == C) and (B != C):\n print('Yes')\nelif (B == C or B == C) and (A != C):\n print('Yes')\nelif (C == A or C == B) and (A != B):\n print('Yes')\nelse:\n print('No')\n"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s144397173', 's441568242', 's757042411'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [100, 151, 221] |
p02771 | u646244131 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a, b, c = map(int, input().split())\nif a == b && a != c:\n print('Yes')\nelif a == c && a != b:\n print('Yes')\nelif b == c && a != c:\n print('Yes')\nelse:\n print('No')", "a, b, c = map(int, input().split())\nif a == b and a != c:\n print('Yes')\nelif a == c and a != b:\n print('Yes')\nelif b == c and a != c:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s403322576', 's253943912'] | [2940.0, 3060.0] | [17.0, 17.0] | [167, 170] |
p02771 | u646445992 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['A, B, C = map(int, input().split())\n\nif A==B or A==C or B==C:\n if A==B and A==C:\n print("NO")\n else:\n print("YES")\nelse:\n print("NO")', 'A, B, C = map(int, input().split())\n\nif A==B or A==C or B==C:\n if A==B and A==C:\n print("No")\n else:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s756812431', 's945912956'] | [2940.0, 2940.0] | [18.0, 17.0] | [156, 156] |
p02771 | u652569315 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["l=list(map(int,input().split()))\nif l[0]==l[1] and l[1]!=l[2]:\n print('Yes')\nelif l[1]==l[2] and l[1]!=l[0]:\n print('Yes')\nelse:\n print('No')\n", "l=list(map(int,input().split()))\nl.sort()\nif l[0]==l[1] and l[1]!=l[2]:\n print('Yes')\nelif l[1]==l[2] and l[1]!=l[0]:\n print('Yes')\nelse:\n print('No')\n"] | ['Wrong Answer', 'Accepted'] | ['s862689752', 's724300127'] | [2940.0, 3064.0] | [17.0, 17.0] | [145, 154] |
p02771 | u652908807 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['#-*- coding: utf-8 -*-\na,b,c = map(int,input().split())\ncun = 0\nif a==b and a!=c:\n cun = 1\nelif a==c and a!=b:\n cun = 1\nelif b==c and b!=a:\n cun = 1\n\nprint("Yse" if cun == 1 else "No")', '#-*- coding: utf-8 -*-\na,b,c = map(int,input().split())\nif a == b == c:\n print("No")\nelif a != b != c:\n print("No")\nelse :\n print("Yes")\n ', '#-*- coding: utf-8 -*-\na,b,c = map(int,input().split())\nprint("Yse" if a==b and a!=c or a==c and a!=b or b==c and b!=a else "No")', '#-*- coding: utf-8 -*-\na,b,c = map(int,input().split())\nif a == b == c:\n print("No")\nelif a != b and a != c and b != c:\n print("No")\nelse :\n print("Yes")\n'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s240799753', 's662410022', 's825188992', 's249465650'] | [3060.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [193, 150, 129, 163] |
p02771 | u653175574 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["A, B, C = int(input().split())\nif A == B or B == C or C == A:\n if A == B and B == C:\n print('No')\n else:\n print('Yes')\nelse:\n print('No')", 'A, B, C = int(input().split())\nif (A == B) or (B == C) or (C == A):\n if (A == B) and (B == C):\n print("No")\n else:\n print("Yes")\nelse:\n print("No")\n', 'A, B, C = map(int, input().split())\nif (A == B) or (B == C) or (C == A):\n if (A == B) and (B == C):\n print("No")\n else:\n print("Yes")\nelse:\n print("No")\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s125546208', 's673513283', 's986858675'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [146, 157, 162] |
p02771 | u653600072 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['x, y, z = input.split()\nif x == y:\n if x == z and y == z:\n print("No")\n elif x != z and y != z:\n print("No")\n else:\n print("Yes")\nelif x == z:\n if x == y and y == z:\n print("No")\n elif x != y and y != z:\n print("No")\n else:\n print("Yes")\nelif y == z:\n if x == y and x == z:\n print("No")\n elif x != y and x != z:\n print("No")\n else:\n print("Yes")\nelse:\n print("No")', "n = int(input())\na = [int(i) for i in input().split()]\nx = 0\nfor j in range(0,n):\n if not (((a[j] % 2) == 0) and (((a[j] % 3) != 0) or (a[j] % 5 != 0))):\n x = 1\nif x == 1:\n print('APPROVED')\nelse:\n print('DENIED')", "n = int(input())\na = [int(i) for i in input().split()]\nx = 0\nfor j in range(0,n):\n if not (((a[j] % 2) == 0) and (((a[j] % 3) != 0) and (a[j] % 5 != 0))):\n x = 1\nif x == 1:\n print('APPROVED')\nelse:\n print('DENIED')", 'x, y, z = input().split()\nif x == y:\n if x == z and y == z:\n print("No")\n else:\n print("Yes")\nelif x == z:\n if x == y and y == z:\n print("No")\n else:\n print("Yes")\nelif y == z:\n if x == y and x == z:\n print("No")\n else:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s231240194', 's816309401', 's944513870', 's521177942'] | [3064.0, 3060.0, 3060.0, 3060.0] | [17.0, 17.0, 17.0, 18.0] | [401, 219, 220, 277] |
p02771 | u658987783 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a,b,c=map(int,input().split())\n\nif a=b or b=c or c=a and not a=b=c:\n print("Yes")\nelse:\n print("No")', 'a,b,c=map(int,input().split())\n\nif not a==b==c:\n if a==b or b==c or c==a:\n \tprint("Yes")\n else:\n print("No")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s289340269', 's416448173'] | [2940.0, 2940.0] | [17.0, 17.0] | [102, 134] |
p02771 | u661347997 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["x = list(map(int, input().split(' ')))\n\nif len(set(x)) == 3:\n print('Yes')\nelse:\n print('No')", "x = list(map(int, input().split(' ')))\n \nif len(set(x)) == 2:\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s159627271', 's196914681'] | [2940.0, 2940.0] | [17.0, 20.0] | [95, 96] |
p02771 | u661902454 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a, b, c = map(int, input().split())\n\nr = 0\nr += 1 if a == b else 0\nr += 1 if a == c else 0\nr += 1 if b == c else 0\n\nif r == 1:\n print('Yse')\nelse:\n print('No')\n", "a, b, c = map(int, input().split())\n \nr = 0\nr += 1 if a == b else 0\nr += 1 if a == c else 0\nr += 1 if b == c else 0\n \nif r == 1:\n print('Yse')\nelse:\n print('No')", "a, b, c = map(int, input().split())\n \nr = 0\nr += 1 if a == b else 0\nr += 1 if a == c else 0\nr += 1 if b == c else 0\n \nif r == 1:\n print('Yes')\nelse:\n print('No')\n"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s167528354', 's638599295', 's515287281'] | [2940.0, 3060.0, 2940.0] | [17.0, 17.0, 18.0] | [166, 167, 168] |
p02771 | u666195238 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a = map(int, input().split())\nif ((a[0] == a[1]) or (a[0] == a[2]) or (a[2] == a[1])):\n if ((a[0] == a[1]) and (a[2] == a[1])):\n print("No")\n else:\n print("Yes")\nelse:\n print("No")', 'a = map(int, raw_input().split())\nif (a[0] == a[1]) and (a[0] != a[2]):\n print("Yes")', 'a = map(int, raw_input().strip().split())\nif ((a[0] == a[1]) or (a[0] == a[2]) or (a[2] == a[1])):\n if ((a[0] == a[1]) and (a[2] == a[1])):\n print("No")\n else:\n print("Yes")\nelse:\n print("No)', 'a = map(int, raw_input().split())\nif ((a[0] == a[1]) or (a[0] == a[2]) or (a[2] == a[1])):\n if ((a[0] == a[1]) and (a[2] == a[1])):\n print("No")\n else:\n print("Yes")\nelse:\n print("No)', 'a = map(int, raw_input().strip().split())\nif a[0] == a[1] or a[0] == a[2] or a[2] == a[1]:\n if a[0] == a[1] and a[2] == a[1]:\n print("No")\n else:\n print("Yes")\nelse:\n print("No)', 'a = map(int, input().split())\nif ((a[0] == a[1]) or (a[0] == a[2]) or (a[2] == a[1])):\n if ((a[0] == a[1]) and (a[2] == a[1])):\n print("No")\n else:\n print("Yes")\nelse:\n print("No)', 'a = map(int, raw_input().split())\nif ((a[0] == a[1]) or (a[0] == a[2]) or (a[2] == a[1])):\n if ((a[0] == a[1]) and (a[2] == a[1])):\n print("No")\n else:\n print("Yes")\nelse:\n print("No")', 'a = map(int, raw_input().strip().split())\nif ((a[0] == a[1]) or (a[0] == a[2]) or (a[2] == a[1])):\n if a[0] == a[1] and a[2] == a[1]:\n print("No")\n else:\n print("Yes")\nelse:\n print("No)', 'a = list(map(int, input().split()))\nif ((a[0] == a[1]) or (a[0] == a[2]) or (a[2] == a[1])):\n if ((a[0] == a[1]) and (a[2] == a[1])):\n print("No")\n else:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s070502500', 's155018550', 's232862544', 's266236121', 's460366205', 's670387884', 's911384980', 's955803693', 's223397481'] | [3060.0, 2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 3064.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 19.0, 17.0, 17.0] | [189, 86, 200, 192, 186, 188, 193, 194, 195] |
p02771 | u667694979 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['S=input()\nif S[0]==S[1] or S[1]==S[2] or S[2]==S[0]:\n print("Yes")\nelse:\n print("No")\n', 'S=input()\nif S[0]==S[1] and S[1]==S[2]:\n print("Yes")\nelse:\n print("No")\n', 'a,b,c=map(int,input().split())\n\nif (a==b and a!=c) or (b==c and b!=a) or (c==a and c!=b):\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s271564415', 's603431798', 's907478462'] | [2940.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0] | [88, 75, 124] |
p02771 | u667794916 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a = int(input())\nb = int(input())\nc = int(input())\nd=0\nif (a==b):\n d+=1\nif (b==c):\n d+=1\nif (c==a):\n d+=1\nif (d==1):\n print('Yes')\nelse:\n print('No')\n", "a,b,c=input().split()\na=int(a)\nb=int(b)\nc=int(c)\nd=0\nif (a==b):\n d+=1\nif (b==c):\n d+=1\nif (c==a):\n d+=1\nif (d==1):\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s646636085', 's282796660'] | [3060.0, 3064.0] | [17.0, 17.0] | [165, 162] |
p02771 | u669246680 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a,b,c = map(int, input().split())\nif a == b or b == c or c == a:\n return "Yes"\nelse:\n return "No"', 'a,b,c = map(int, input().split())\nispoor = False\nif (a == b and b!=c) or (b == c and a!=b) or (c==a and c!=b):\n ispoor = True\nif ispoor:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s554874207', 's095710551'] | [2940.0, 2940.0] | [17.0, 17.0] | [99, 178] |
p02771 | u670826407 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['st = input().split(" ")\ns = st[0]\nt = st[1]\n\nab = input().split(" ")\na =int(ab[0])\nb =int(ab[1])\n\nu = input()\nif u == s:\n print(a-1,b)\nif u == t:\n print(a,b-1)\n', 'abc = input().split(" ")\na = int(abc[0])\nb = int(abc[1])\nc = int(abc[2])\n\nd = 0\nif a==b:\n d=d+1\nif b==c:\n d=d+1\nif c==a:\n d=d+1\nif d==1:\n print("yes")\nelse:\n print("no")\n', 'abc = input().split(" ")\na = int(abc[0])\nb = int(abc[1])\nc = int(abc[2])\n\nd = 0\nif a==b:\n d=d+1\nif b==c:\n d=d+1\nif c==a:\n d=d+1\nif d==1:\n print("yes")\nelse:\n print("no")\n', 'abc = input().split(" ")\na = int(abc[0])\nb = int(abc[1])\nc = int(abc[2])\n\nd = 0\nif a==b:\n d=d+1\nif b==c:\n d=d+1\nif c==a:\n d=d+1\nif d==1:\n print("Yes")\nelse:\n print("No")\n'] | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s065652415', 's133266793', 's222862401', 's386432724'] | [3060.0, 3060.0, 3060.0, 3060.0] | [17.0, 17.0, 18.0, 17.0] | [166, 185, 185, 185] |
p02771 | u670838922 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['alf=list(map(int,input().split()))\nif(alf[0]!=alf[1] and alf[1]!=alf[2] and alf[0]!=alf[2]):\n print("NO")\nelif(alf[0]==alf[1] and alf[2]==alf[1] and alf[0]==alf[2]):\n print("NO")\nelse:\n print("YES")', 'alf=list(map(int,input().split()))\nif(alf[0]!=alf[1] and alf[1]!=alf[2] and alf[0]!=alf[2]):\n print("NO")\nelif(alf[0]==alf[1] and alf[2]==alf[1] and alf[0]==alf[2]):\n print("NO")\nelse:\n print("YES")', 'import numpy as np\nimport sys\ninput=sys.stdin.readline\n\ndef ok(a,b):\n ans=0\n n=len(a)\n for i in range(n):\n l=0\n r=len(a)-1\n \n if(a[i]*a[i]<b):\n ans-=1\n \n if(a[i]<0):\n if(a[l]*a[i]<b):\n ans+=n\n \n continue\n if(a[r]*a[i]>=b):\n ans+=0\n continue\n \n while(l+1<r):\n middle=(l+r)//2\n if(a[i]*a[middle]<b):\n r=middle\n else:\n l=middle\n ans+=n-r\n else:\n \n if(a[r]*a[i]<b):\n ans+=n\n continue\n if(a[l]*a[i]>=b):\n ans+=0\n continue \n while(l+1<r):\n middle=(l+r)//2\n if(a[i]*a[middle]<b):\n l=middle\n else:\n r=middle \n \n ans+=l+1\n\n ans/=2\n \n return ans\n\n\nNK=list(map(int,input().split()))\nN=NK[0]\nK=NK[1]\nA=np.array(list(map(int,input().split())))\nA=sorted(A)\nl=-10**18\nr=10**18\n\nwhile(l+1<r):\n\n middle=(l+r)//2\n if(ok(A,middle)<K):\n l=middle\n else:\n r=middle\n\nprint(l)\n \n \n \n \n \n \n \n\n \n ', 'alf=list(map(int,input().split()))\nif(alf[0]!=alf[1] and alf[1]!=alf[2] and alf[0]!=alf[2]):\n print("No")\nelif(alf[0]==alf[1] and alf[2]==alf[1] and alf[0]==alf[2]):\n print("No")\nelse:\n print("Yes")'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s179829300', 's651655509', 's731035823', 's990020586'] | [3060.0, 3060.0, 12492.0, 3060.0] | [18.0, 17.0, 149.0, 43.0] | [207, 207, 1459, 207] |
p02771 | u673922428 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['n = input()\nans = "No"\n\nif n[0]==n[1]:\n if n[0]!=n[2]:\n ans="Yes"\nelse:\n if n[0]==n[2]:\n ans="Yes"\n elif n[1]==n[2]:\n ans="Yes"\n\n\nprint(ans)', 'n = [int(x) for x in input().split()]\nans = "No"\n\nif n[0]==n[1]:\n if n[0]!=n[2]:\n ans="Yes"\nelse:\n if n[0]==n[2]:\n ans="Yes"\n elif n[1]==n[2]:\n ans="Yes"\n\n\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s202968609', 's988701731'] | [3060.0, 3060.0] | [17.0, 19.0] | [152, 178] |
p02771 | u674588203 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a,b,c=map(int,input().split())\ns=set(a,b,c)\nif len(s)==2:\n print('Yes')\nelse:\n print('No)\n", "S=map(int,input().split())\ns=set(S)\nif len(s)==2:\n print('Yes')\nelse:\n print('No)\n", "S=input().split()\ns=set(S)\nif len(s)==2:\n print('Yes')\nelse:\n print('No)", "a,b,c=map(int,input().split())\nS=[a,b,c]\ns=set(S)\nif len(s)==2:\n print('Yes')\nelse:\n print('No')\n"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s212523778', 's766996643', 's954477041', 's350795994'] | [3188.0, 3064.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 17.0] | [92, 84, 74, 99] |
p02771 | u675155417 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['x,y,z = map(int,input().split())\t\nif y == x == z or x != y != z:\n print("No")\nelse:\n print("Yes")', 's = list(input())\nif s[o]==s[1] and s[1]==s[2] and s[0]==s[2]:\n print("No")\nelse:\n print("Yes")', 's = list(input())\nif s[0] == s[1] or s[1] == s[2] or s[0] == s[2]:\n print("Yes")\nelse:\n print("No")', 'x,y,z = map(int,input().split())\t\nif y == x and y == z and x == z:\n print("No")\nelif x != y and y != z and x != z:\n print("No")\nelse:\n print("Yes")'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s366209160', 's416309824', 's815324273', 's507754894'] | [2940.0, 3064.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [99, 97, 101, 151] |
p02771 | u675996406 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["import collections\ninputs = input().split()\nif len(collections.Counter(inputs)) == 2:\n print('yes')\nelse:\n print('no')", "import collections\ninputs = input().split()\nif len(collections.Counter(inputs)) == 2:\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s639469705', 's540287139'] | [3316.0, 3444.0] | [21.0, 24.0] | [120, 120] |
p02771 | u677121387 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a,b,c = map(int,input().split())\nans = "Yes" if len(set(a,b,c)) == 2 else "No"\nprint(ans)', 'a,b,c = map(int,input().split())\nans = "Yes" if len(set((a,b,c))) == 2 else "No"\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s539563769', 's576866096'] | [2940.0, 2940.0] | [17.0, 19.0] | [89, 91] |
p02771 | u681811488 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a = int(input())\nb = int(input())\nx = 0\n \nif (a==0) :\n\tprint('DENIED')\nelif (b.count(0) > 0):\n\tprint('DENIED')\nelse:\n for i in b:\n if i % a == 0:\n x += 1\n if x == len(b):\n print('APPROVED')\n else:\n print('DENIED')", "a = int(input())\nb = input()\nx = 0\n\nif (a==0) :\n\tprint('DENIED')\nelif (b.count(0) > 0):\n\tprint('DENIED')\nelse:\n for i in b:\n if i % a == 0:\n x += 1\n if x == len(b):\n print('APPROVED')\n else:\n print('DENIED')\n", "a,b,c = map(int, input().split())\n\nif (a == b) :\n\tprint('yes')\nelif (a ==c):\n\tprint('yes')\nelif (b == c):\n\tprint('yes')\nelse:\n\tprint('no')", "a,b,c = map(int, input().split())\n \nif (a == b) and (b !=c):\n\tprint('Yes')\nelif (a == c) and (b !=c):\n\tprint('Yes')\nelif (b == c) and (a !=c):\n\tprint('Yes')\nelse:\n\tprint('No')"] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s311024469', 's421218744', 's480607318', 's022850837'] | [3064.0, 3060.0, 2940.0, 3060.0] | [17.0, 17.0, 18.0, 17.0] | [240, 235, 138, 175] |
p02771 | u685244071 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["A, B, C = map(int, input().split())\nif A == B and B ==C:\n input('No')\nelif A != B and B != C and C != A:\n input('No')\nelse:\n input('Yes')", "A, B, C = map(int, input().split())\nif A == B and B ==C:\n print('No')\nelif A != B and B != C and C != A:\n print('No')\nelse:\n print('Yes')\n"] | ['Runtime Error', 'Accepted'] | ['s829530593', 's796803280'] | [3060.0, 2940.0] | [17.0, 18.0] | [140, 141] |
p02771 | u686713618 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a, b, c = map(int, input().split())\nif a == b == c or a != b != c:\n print("No")\nelse:\n print("Yes")', 'a, b, c = map(int, input().split())\nif a == b == c:\n print("No")\nelif a != b and b != c and a != c:\n print("No")\nelse:\n print("Yes")'] | ['Wrong Answer', 'Accepted'] | ['s381864226', 's833060738'] | [2940.0, 2940.0] | [18.0, 17.0] | [101, 136] |
p02771 | u686989171 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['n=int(input())\nstring_list=[input() for i in range(n)]\nimport collections\nimport numpy as np\nc = collections.Counter(string_list)\nd=c.most_common()\nx=int(d[0][1])\nz=[]\nfor i in range(len(d)):\n y=int(d[i][1])\n if x==y:\n z.append(str(d[i][0]))\n \nz.sort()\nfor i in range(len(z)):\n print(z[i])', 'a=list(map(int,input().split()))\ncount=0\nif a[0]==a[1]:\n count=count+1\nif a[0]==a[2]:\n count=count+1\nif a[1]==a[2]:\n count=count+1 \nif count==1:\n print("Yes")\n\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s191089888', 's643724325'] | [3064.0, 3060.0] | [18.0, 17.0] | [298, 184] |
p02771 | u688564053 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['A, B, C = map(int, input().split())\n\nif A == B == C or A != B != C:\n print("No")\nelse:\n print("Yes")', 'A, B, C = map(int, input().split())\n\nif (A == B and B != C) or (A == C and C != B) or (B == C and A != C):\n print("Yes")\n\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s015264955', 's676838533'] | [3064.0, 2940.0] | [17.0, 17.0] | [106, 146] |
p02771 | u689835643 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['x, y, z = map(int, input().split())\nif x == y == z or x != y != z:\n print("No")\nelse:\n print("Yes")\n', 'x, y, z = map(int, input().split())\nif x == y == z or x != y != z and z != x:\n print("No")\nelse:\n print("Yes")\n'] | ['Wrong Answer', 'Accepted'] | ['s136443701', 's380198528'] | [2940.0, 2940.0] | [17.0, 18.0] | [106, 117] |
p02771 | u692336506 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['A = list(map(int, input().split()))\nA.sort()\nprint("Yes" if A[0] == A[-1] else "No")', 'A = set(map(int, input().split()))\nprint("Yes" if len(A) == 2 else "No")'] | ['Wrong Answer', 'Accepted'] | ['s005159117', 's554821491'] | [3316.0, 2940.0] | [20.0, 17.0] | [84, 72] |
p02771 | u693933222 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a, b, c = map(int, input().split())\n\nif ((a == b and b == c) or (a != b and b != c)):\n print("No")\nelse:\n print("Yes")', 'a, b, c = map(int, input().split())\n\nif ((a == b and b == c and c == a) or (a != b and b != c and c != a)):\n print("No")\nelse:\n print("Yes")'] | ['Wrong Answer', 'Accepted'] | ['s060785420', 's850694166'] | [2940.0, 2940.0] | [18.0, 17.0] | [124, 146] |
p02771 | u694402282 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a,b,c = map(str, input().split())\nif a==b and a!=c:\n print("Yes")\nif a==c and a!=b:\n print("Yes")\nif b==c\tand b!=a:\n print("Yes")\nelse:\n print("No")', 'a,b,c = map(str, input().split())\nif a==b and a!=c:\n print("Yes")\nelif a==c and a!=b:\n print("Yes")\nelif b==c\tand b!=a:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s556126666', 's658291905'] | [2940.0, 3060.0] | [17.0, 18.0] | [160, 164] |
p02771 | u694422786 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a = list(map(int, input().split()))\nif a[0] == a[1] and a[0] == a[2]:\n print("Yes")\nelse:\n print("No")', 'a = list(map(int, input().split()))\na = set(a)\nif len(a) == 1 or len(a) == 3:\n print("No")\nelse:\n print("Yes")\n'] | ['Wrong Answer', 'Accepted'] | ['s782060594', 's961676861'] | [2940.0, 2940.0] | [17.0, 17.0] | [108, 117] |
p02771 | u695644361 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['print(["No","Yes"][len(set(input().split()))==3])', 'print(["No","Yes"][len(set(input().split()))==2])'] | ['Wrong Answer', 'Accepted'] | ['s891112135', 's069858155'] | [9072.0, 9096.0] | [28.0, 26.0] | [49, 49] |
p02771 | u697601622 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['A, B, C = map(int, input().split())\n\nif int(A) == int(B) == int(C):\n print("Yes")\nelse:\n print("No")\n', 'a, b, c = map(int, input().split())\n\nif a==b or a==c or b==c:\n print("No")\nelse:\n print("Yes")', 'A, B, C = map(input().split())\n\nif int(A) == int(B) == int(C):\n print("Yes")\nelse:\n print("No")', 'a = input().split()\nif(len(set(a))==2):\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s035091128', 's173083503', 's507978339', 's808160354'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0, 18.0] | [103, 96, 97, 76] |
p02771 | u698197687 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["from collections import Counter\n\n\ndef words_sort_ordered(words_list):\n word_cnt = Counter()\n for word in words_list:\n word_cnt[word] += 1\n\n word_written_max_time = 0\n for each_word_ct in word_cnt.values():\n if each_word_ct > word_written_max_time:\n word_written_max_time = each_word_ct\n\n answer_words_list = []\n for word, number in dict(word_cnt).items():\n if number == word_written_max_time:\n answer_words_list.append(word)\n\n return sorted(answer_words_list)\n\n\nif __name__ == '__main__':\n words_num = int(input())\n words_list = [input() for i in range(words_num)]\n for w in words_sort_ordered(words_list):\n print(w)\n", "def is_kawaisou(a, b, c):\n if a == b and a == c:\n return 'No'\n if a == b or b == c or a == c:\n return 'Yes'\n else:\n return 'No'\n\n\nif __name__ == '__main__':\n a, b, c = map(int, input().split())\n print(is_kawaisou(a, b, c))\n"] | ['Runtime Error', 'Accepted'] | ['s952070691', 's829816628'] | [3316.0, 2940.0] | [21.0, 18.0] | [697, 259] |
p02771 | u698988260 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['A, B, C = map(int, input().split())\nif (A == B == C) or (A != B != C):\n print("No")\nelse:\n print("Yes")\n', 'A, B, C = map(int, input().split())\nif (A == B == C) or ((A != B) and (A != C) and (B != C)) :\n print("No")\nelse:\n print("Yes")\n'] | ['Wrong Answer', 'Accepted'] | ['s262748767', 's421590543'] | [2940.0, 2940.0] | [17.0, 17.0] | [110, 134] |
p02771 | u699522269 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['d=input()\na=list(map(int,input().split()))\nrt=0\nfor i in a:\n if i % 2 == 1:\n pass\n else:\n if i%3==0 or i%5==0:\n rt=1\n else:\n rt=0\n print("DENIED")\n break\nif rt==1:\n print("APPROVED")', 'd=input()\na=list(map(int,input().split()))\nrt=0\nprint(a)\nfor i in a:\n if i % 2 == 1:\n pass\n else:\n if i%3==0 or i%5==0:\n rt=1\n else:\n rt=0\n print("DENIED")\n break\nif rt==1:\n print("APPROVED")', 'a=list(map(int,input().split()))\nif a[0]==a[1] & a[0]==[2]:\n print("Yes")\nelse:\n print("No")', 'a=list(map(int,input().split()))\nif(a[0]==a[1]==a[2]):\n print("No")\nelse:\n if (a[0]==a[1])|(a[1]==a[2])|(a[2]==a[0]):\n print("Yes")\n else:\n print("No")'] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s219188883', 's753202185', 's989328394', 's291494941'] | [2940.0, 3060.0, 2940.0, 3060.0] | [18.0, 17.0, 17.0, 17.0] | [214, 223, 94, 160] |
p02771 | u704001626 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['# -*- coding: utf-8 -*-\na,b,c = list(map(int,input().split()))\nret = "No"\nif len(set(a,b,c))==2:\n ret = "Yes"\nprint(ret)\n', '# -*- coding: utf-8 -*-\na,b,c = list(map(int,input().split()))\nret = "No"\nif len(set([a,b,c]))==2:\n ret = "Yes"\nprint(ret)'] | ['Runtime Error', 'Accepted'] | ['s873520724', 's840482926'] | [2940.0, 2940.0] | [17.0, 17.0] | [124, 125] |
p02771 | u704563784 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a, b, c = map(int, input().split())\n\nif a==b or a==c or b==c: print('YES')\nelse: print('NO')", "a, b, c = map(int, input().split())\n\nif a==b==c: print('No')\nelif a==b or a==c or b==c: print('Yes')\nelse: print('No')"] | ['Wrong Answer', 'Accepted'] | ['s502422023', 's032108594'] | [2940.0, 2940.0] | [17.0, 18.0] | [92, 118] |
p02771 | u706433263 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a,b,c=map(int.input().split())\nif a==b:\n if a==c:\n print("No")\n else:\n print("Yes")\nelif a==c:\n print("Yes")\nelif b==c:\n prunt("Yes")\nelse:\n print("No")', 'a,b,c=map(int,input().split())\nif a==b:\n if a==c:\n print("No")\n else:\n print("Yes")\nelif a==c:\n print("Yes")\nelif b==c:\n print("Yes")\nelse:\n print("No")\n'] | ['Runtime Error', 'Accepted'] | ['s912865298', 's418007700'] | [2940.0, 2940.0] | [17.0, 18.0] | [163, 164] |
p02771 | u712284046 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['list = list(map(int, input().split()))\nset = set(list)\n\nif len(set) == 2:\n print("YES")\nelse:\n print("NO")\n', 'list = list(map(int, input().split()))\nset = set(list)\n\nif len(set) == 2:\n print("Yes")\nelse:\n print("No")\n'] | ['Wrong Answer', 'Accepted'] | ['s270668341', 's748758029'] | [2940.0, 2940.0] | [17.0, 17.0] | [113, 113] |
p02771 | u717265305 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a,b,c = map(int, input().split())\n\nif a==b and a!=c:\n print('Yes')\nelif b==c and b!=a:\n print('Yes')\nelse:\n print('No')", "a,b,c = map(int, input().split())\nif a==b and a!=c:\n print('Yes')\nelif b==c and b!=a:\n print('Yes')\nelif a==c and a!=b:\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s956616963', 's511816580'] | [2940.0, 3060.0] | [17.0, 17.0] | [122, 156] |
p02771 | u718706479 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['n = list(map(int, input().split()))\ns=0\nfor i, x in enumerate(n):\n if x in n[i+1:]: s+=1\nprint("%s" % "YES" if s==1 else "NO")', 'n = list(map(int, input().split()))\ns=0\nfor i, x in enumerate(n):\n if x in n[i+1:]: s+=1\nprint("%s" % "Yes" if s==1 else "No")\n'] | ['Wrong Answer', 'Accepted'] | ['s157938657', 's390137291'] | [2940.0, 2940.0] | [17.0, 17.0] | [129, 130] |
p02771 | u719193574 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['A,B,C=map(int,input().split())\nif (A=B=C):\n print(No)\n else:\n if (A=B):\n print (Yes)\n if (A=C):\n print (Yes)\n if (B=C):\n print (Yes)\n else:\n print (No)', "A,B,C=map(int,input().split())\nif (A==B==C):\n print ('No')\nelif (A != B and A != C and B != C):\n print ('No')\nelse:\n print ('Yes')"] | ['Runtime Error', 'Accepted'] | ['s444950439', 's637300891'] | [2940.0, 2940.0] | [17.0, 17.0] | [185, 133] |
p02771 | u720483676 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a,b,c=map(int,input().split())\nif a==b and b==c:\n\tprint("No")\nelif a!=b and b!=c:\n\tprint("No")\nelse:\n\tprint("Yes")', 'a,b,c=map(int,input().split())\nif a==b and a!=c:\n\tprint("Yes")\nelif a==c and a!=b:\n\tprint("Yes")\nelif b==c and a!=b:\n\tprint("Yes")\nelse:\n\tprint("No")'] | ['Wrong Answer', 'Accepted'] | ['s556223775', 's281065644'] | [2940.0, 3060.0] | [18.0, 17.0] | [114, 149] |
p02771 | u720721463 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['N = int(input())\nlis = [input() for i in range(N)]\n\n \ntmp_dic = {}\nfor s in lis:\n if s not in tmp_dic:\n tmp_dic[s] = 1\n else:\n tmp_dic[s] += 1\n \nmax_count = 0\nfor k,v in tmp_dic.items():\n max_count = max(v,max_count)\n \nans_lis = []\nfor k,v in tmp_dic.items():\n if v == max_count:\n ans_lis.append(k)\n \nans_lis.sort()\n[print(f"{s}") for s in ans_lis]', 'lis = list(map(int, input().split(" ")))\n\ntmp_dic = {}\nfor n in lis:\n if n not in tmp_dic:\n tmp_dic[n] = 1\n else:\n tmp_dic[n] += 1\n \nif len(tmp_dic) == 2:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s208670362', 's531158442'] | [3064.0, 2940.0] | [17.0, 17.0] | [398, 220] |
p02771 | u723792785 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a,b,c=map(int, input.split())\ncount = 0\nif a==b:\n count = count + 1\nif b==c:\n count = count + 1\nif c==a:\n count = count + 1\nif count == 1:\n print("Yes")\nelse:\n print("No")', 'a,b,c = map(int, input().split())\ncount = 0\nif a==b:\n count = count + 1\nif b==c:\n count = count + 1\nif c==a:\n count = count + 1\nif count == 1:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s950754927', 's453507934'] | [2940.0, 3064.0] | [17.0, 17.0] | [176, 180] |
p02771 | u725757838 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['from sys import stdin \ninput = stdin.readline\nA,B,C=map(int,input().split())\nif A != B:\n if B==C:\n print("Yes")\n else:\n print("No")\nelif B != C:\n if A==B:\n print("Yes")\n else:\n print("No")\nelif C != A:\n if A==B:\n print("Yes")\n else:\n print("No")\nelse:\n print("No")', 'A=set(map(int,input().split()))\nif len(A)==2:\n print("Yes")\nelse:\n print ("No")'] | ['Wrong Answer', 'Accepted'] | ['s621039242', 's177759363'] | [3064.0, 2940.0] | [17.0, 17.0] | [292, 81] |
p02771 | u729133443 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["print('YNeos'[len(set(input()))^1::2])", "print(len({*input()})%2*'Yes'or'No')"] | ['Wrong Answer', 'Accepted'] | ['s185910416', 's370234639'] | [8968.0, 8896.0] | [26.0, 26.0] | [38, 36] |
p02771 | u729535891 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | [" lst = map(int, input().split())\n print('Yes' if len(set(lst)) >= 2 else 'No')", "lst = map(int, input().split())\nprint('Yes' if set(len(lst)) >= 2 else 'No')", "lst = list(map(int, input().split()))\nprint('Yes' if len(set(lst)) == 2 else 'No')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s316652878', 's362975136', 's276283612'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 20.0] | [84, 76, 82] |
p02771 | u731627862 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['A = int(input())\nB = int(input())\nC = int(input())\n\nif (A==B==C or A!=C and B !=C):\n print("No")\n\nelse:\n print("Yes")\n', 'A = input ()\nB = input ()\nC = input ()\n\nif (A==B and A!=C or B==C and B!=A or A==C and A!=B ):\n print("Yes")\n \nelse:\n print("No")', 'A,B,C = map(int, input().split())\n\nif (A==B==C or A!=C and A!=B and B!=C):\n print("No")\n\nelse:\n print("Yes")\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s171139214', 's249433917', 's285363265'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [121, 132, 112] |
p02771 | u734195782 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a,b,c=(int(x) for x in input().split())\nif a==b==c or a!=b!=c:\n print("No")\nelse:\n print("Yes")', 'a,b,c=(int(x) for x in input().split())\nif a==b==c or a!=b!=c!=a:\n print("No")\nelse:\n print("Yes")'] | ['Wrong Answer', 'Accepted'] | ['s647276181', 's696466930'] | [2940.0, 3064.0] | [17.0, 18.0] | [101, 104] |
p02771 | u736149053 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a, b, c = map(int, input().split())\nprint(len(set([a, b, c])) > 2)\n', 'a, b, c = map(int, input().split())\nreturn len(set([a, b, c])) > 2', "a, b, c = map(int, input().split())\nprint('Yes' if len(set([a, b, c])) == 2 else 'No')\n"] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s634467700', 's810747860', 's022150163'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [67, 66, 87] |
p02771 | u736443076 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['def solve():\n A, B, C = list(input().split())\n if A == B == C:\n print("No")\n exit()\n if A != B != C:\n print("No")\n else:\n print("Yes")\n\n\nif __name__ == \'__main__\':\n solve()\n', 'def solve():\n A, B, C = list(input().split())\n if A == B == C:\n print("Yes")\n exit()\n else:\n print("No")\n\n\nif __name__ == \'__main__\':\n solve()\n', 'def solve():\n a, b, c= list(input().split())\n if a == b == c:\n print("No")\n elif a == b or a == c or b == c:\n print("Yes")\n else:\n print("No")\n\n\nif __name__ == \'__main__\':\n solve()\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s115658818', 's314873546', 's821299881'] | [2940.0, 2940.0, 3064.0] | [17.0, 18.0, 17.0] | [216, 176, 217] |
p02771 | u736848749 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['LIST = sorted(input().split(),reverse=True)\n\nflag = 0\nif LIST[0] == LIST[1]:\n flag += 1\nif LIST[1] == LIST[2]:\n flag += 1\nif LIST[0] == LIST[2]:\n flag = 0\n\nif flag == 1:\n print("YES")\nelse:\n print("NO")', 'LIST = sorted(input().split(),reverse=True)\n\nflag = 0\nif LIST[0] == LIST[1]:\n flag += 1\nif LIST[1] == LIST[2]:\n flag += 1\n\nif flag == 1:\n print("YES")\nelse:\n print("NO")', 'LIST = sorted(input().split(),reverse=True)\n\nflag = 0\nif LIST[0] == LIST[1]:\n flag += 1\nif LIST[1] == LIST[2]:\n flag += 1\n\nif flag == 1:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s352717777', 's940837637', 's811789396'] | [3060.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [217, 181, 181] |
p02771 | u737718679 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["A,B,C=map(int,input().split())\n\nif A==B and B==C and A!=C:\n print('Yes')\nelif B==C and C==A and B!=A:\n print('Yes')\nelif C==A and A==B and C!=B:\n print('Yes')\nelse:\n print('No')", "A=[0]*3\nA[0],A[1],A[2]=map(int,input().split())\nA.sort()\n\nif (A[0]==A[1] and A[1] != A[2]) or (A[0]!=A[1] and A[1] == A[2]):\n print('Yes')\nelse:\n print('No')\n"] | ['Wrong Answer', 'Accepted'] | ['s470576126', 's082953359'] | [3060.0, 3064.0] | [17.0, 17.0] | [181, 160] |
p02771 | u740267532 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['N = int(input())\nA = list(map(int, input().split()))\n\nans = all(a%3==0 or a%5==0 for a in A if a%2==0)\nif ans:\n print("APPROVED")\nelse:\n print("DENIED")\n', 'N = int(input())\nn = list(map(int, input().split()))\n\nans = False\nfor a in n:\n if a % 2 == 0:\n if a % 3 == 0 or a % 5 == 0:\n ans = True\nif ans:\n print("APPROVED")\nelse:\n print("DENIED")\n', 'A, B, C = map(int, input().split())\nif A == B and A == C:\n print("No")\nelif A == B or A == C or B == C:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s128607813', 's380066519', 's248928477'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0] | [159, 213, 145] |
p02771 | u742569919 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a, b, c = map(int,input().split())\nif ( a == b != c | a != b == c | a == c != b):\n print('Yes')\nelse:\n print('No')\n", "a, b, c = map(int,input().split())\nif ( a == b != c | a != b == c | a == c != b):\n print('yes')\nelse:\n print('no')\n", "a, b, c = map(int,input().split())\nif ( a == b != c or a != b == c or a == c != b):\n print('Yes')\nelse:\n print('No')\n"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s411147944', 's981552474', 's960956624'] | [2940.0, 2940.0, 3064.0] | [17.0, 18.0, 18.0] | [122, 122, 124] |
p02771 | u743164083 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a, b, c = list(map(int, input().split()))\n\nif a==b==c or a!=b!=c:\n print("No")\nelse:\n print("Yes")', 'a = list(map(int, input().split()))\ncnt = len(set(a))\nprint("Yes") if cnt == 2 else print("No")\n'] | ['Wrong Answer', 'Accepted'] | ['s598428691', 's482139778'] | [3316.0, 3316.0] | [18.0, 24.0] | [104, 96] |
p02771 | u744521311 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['N=int(input())\n\nl=[]\nnum2=1\nnum3=1\nl = list(map(int,input().rstrip().split()))\nfor i in range(N):\n \n if l[i] % 2 == 0:\n if l[i] % 3 == 0 and l[i] % 5 == 0:\n num2=0\n else:\n num3=0\n\n\n \n\n\n \nif num2==0:\n if num3==0:\n print("DENIED")\n else:\n print("APPROVED")\nelse:\n print("DENIED")', 'a,b,c = map(int,input().rstrip().split())\n\nif a==b or a==c or b==c:\n if a==b and a==c:\n print("No")\n else:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s350009410', 's291957302'] | [3064.0, 2940.0] | [17.0, 17.0] | [337, 148] |
p02771 | u744683641 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['n_list = set(input().split())\n\nif len(n_list)= 2:\n print("Yes")\nelse:\n print("No")', 'n_list = set(input().split())\n\nif len(n_list)== 2:\n print("Yes")\nelse:\n print("No")\n'] | ['Runtime Error', 'Accepted'] | ['s973263533', 's854419622'] | [2940.0, 2940.0] | [18.0, 17.0] | [84, 86] |
p02771 | u744695362 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a,b,c =map(int,input().split()) \nif a==b==c or a!=b!=c :\n print('No')\nelif a==b or a==c or b==c:\n print('Yes') ", "x=set( map(int,input().split()) )\nif len(x)==2: \n print('Yes')\nelse : \n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s328289547', 's940857167'] | [2940.0, 3064.0] | [17.0, 17.0] | [120, 89] |
p02771 | u745687363 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["A = list(map(int, input().split()))\nB = set(map(int, input().split()))\nif len(B) == 2:\n print('Yes')\nelse:\n print('No')", "A = list(map(int, input().split()))\nB = set(A)\nif len(B) == 2:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s767237807', 's239149961'] | [2940.0, 2940.0] | [18.0, 17.0] | [121, 97] |
p02771 | u746428948 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a,b,c = map(int,input().split())\nif a == b and b == c and c == a: print('Yes')\nelif a != b and b != c and c != a: print('Yes')\nelse: print('No')", "a,b,c = map(int,input().split())\nif a == b and b == c and c == a: print('No')\nelif a != b and b != c and c != a: print('No')\nelse: print('Yes')"] | ['Wrong Answer', 'Accepted'] | ['s360892862', 's119646842'] | [9108.0, 9072.0] | [25.0, 29.0] | [144, 143] |
p02771 | u751539777 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['N = int(input())\nA = list(map(int, input().split()))\n\nflag = 0\n\nfor i in range(N):\n if A[i] % 2 == 0:\n if A[i] % 3 == 0 or A[i] % 5 == 0:\n pass\n else:\n flag = 1\n break\n \nif flag = 0:\n print("PASS")\nelse:\n print("DENIED")', 'N = int(input())\nA = list(map(int, input().split()))\n\nflag = 0\n\nfor i in range(N):\n if A[i] % 2 == 0:\n if A[i] % 3 == 0 or A[i] % 5 == 0:\n pass\n else:\n flag = 1\n break\n \n if flag = 0:\n print("PASS")\n else:\n print("DENIED")', 'N = int(input())\nA = list(map(int, input().split()))\n\nflag = 0\n\nfor i in range(N):\n if A[i] % 2 == 0:\n if A[i] % 3 == 0 or if A[i] % 5 == 0:\n pass\n else:\n flag = 1\n break\n \nif flag = 0:\n print("PASS")\nelse:\n print("DENIED")', 'A, B, C = map(int,input().split())\n\nif A == B == C:\n print(No)\n \nelse:\n print(Yes)', 'N = int(input())\nA = list(map(int, input().split()))\n\nflag = 0\n\nfor i in range(N):\n if A[i] % 2 == 0:\n if A[i] % 3 == 0 or A[i] % 5 == 0:\n pass\n else:\n flag = 1\n break\n \nif flag = 0:\n print("APPROVED")\nelse:\n print("DENIED")', 'a = set(map(int, input().split()))\nif len(a) == 2:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s144671873', 's165964972', 's318106523', 's419855463', 's673221890', 's858123749'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 18.0] | [283, 285, 286, 91, 287, 85] |
p02771 | u752522099 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a,b,c = map(int,input().split)\n\nif a == b:\n print("Yes")\nelse:\n if c == a:\n print("Yes")\n else:\n if c == b:\n print("Yes")\n else:\n print("No")\n \n', 'admission = []\nn = int(input())\nadmission.append(map(int,input().split()))\n\nfor i in range(n):\n if admission[n] % 2 == 0:\n if admission[n] % 3 == 0 or admission[n] % 5 == 0:\n print("APPROVED")\n else:\n print("DENIED")', 'a,b,c = map(str,input().split)\n\ns = set(["a","b","c"])\n\nif len(s) == 2:\n print("Yes)\nelse:\n print("No")', 'a,b,c = map(int,input().split)\n\ns = set([a,b,c)]\n\nif len(s) == 2:\n print("Yes)\nelse:\n print("No")', 'a,b,c = map(int,input(),split)\n\nif a != b:\n if b==c:\n print("Yes")\n else:\n print("No")\nelif a == b:\n print("Yes")\nelse:\n print("Yes")\n\n \n ', 'a,b,c = map(int,input().split())\n\ns = set(["a","b","c"])\n\nif len(s) = 2:\n print("Yes")\nelse:\n print("No")', 'a,b,c = map(int,input().split)\n\na = set(a,b,c)\n\nif len(a) == 2:\n print("Yes)\nelse:\n print("No")', 'a,b,c = map(str,input().split())\n\nsum_distance = set(["a","b","c"])\n\nif len(sum_distance) == 2:\n print("Yes)\nelse:\n print("No")', 'a,b,c = map(int,input().split)\n\nif a == b:\n print("No")\nelse a!= b:\n if c == a:\n print("Yes")\n else:\n if c ==b:\n print("Yes")\n else:\n print("No")\n ', 'a,b,c = map(int,input().split())\n\ns = set([a,b,c])\n\nif len(s) = 2:\n print("Yes")\nelse:\n print("No")\n', 'a,b,c = map(str,input().split())\n\nsum_distance = set(["a","b","c"])\n\nif len(sum_distance) == 2:\n print("Yes")\nelse:\n print("No")', 'a,b,c = map(int,input().split())\n\nsum_distance = set([a,b,c])\n\nif len(sum_distance) == 2:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s411456361', 's492343367', 's588094861', 's608587118', 's629855963', 's659999881', 's829516481', 's900808970', 's901214625', 's922168337', 's979172944', 's126768659'] | [2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 17.0] | [167, 255, 109, 103, 150, 107, 101, 133, 170, 102, 134, 128] |
p02771 | u754511616 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["a=input()\nif (a[0]==a[1] and a[1]==a[2] and a[0]==a[2] )or (a[0]!=a[1] and a[1]!=a[2] and a[0]!=a[2]):\n print('No')\nelse:\n print('Yes')", "a,b,c=list(map(int,input().splilt()))\nif a==b==c or a!=b!=c:\n print('No')\nelse:\n print('Yes')", "a=input()\nif (a[0]==a[1] and a[1]==a[2] and a[0]==a[2] )or (a[0]!=a[1] and a[1]!=a[2] and a[0]!=a[2]):\n print('No')\nelse:\n print('Yes')", "a=input().split()\nif (a[0]==a[1] and a[1]==a[2] and a[0]==a[2] )or (a[0]!=a[1] and a[1]!=a[2] and a[0]!=a[2]):\n print('No')\nelse:\n print('Yes')"] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s330738170', 's687560993', 's983442127', 's390616642'] | [9072.0, 9020.0, 8920.0, 9004.0] | [31.0, 26.0, 26.0, 31.0] | [137, 95, 137, 145] |
p02771 | u756518089 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ["input_line = input().split(' ')\n\narr = set(input_line)\nif(len(arr) === 2):\n print('Yes')\nelse:\n print('No')", "input_line = input().split(' ')\n \narr = set(input_line)\nif(len(arr) == 2):\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s758712677', 's307598592'] | [2940.0, 2940.0] | [17.0, 17.0] | [109, 109] |
p02771 | u760391419 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['a,b,c = map(int, input().split())\n\nif a == b == c or a != b != c: print("No")\nelse: print("Yes")', 'a,b,c = map(int, input().split())\n\nif a == b == c || a != b != c: print("No")\nelse: print("Yes")', 'a,b,c = map(int, input().split())\n\nif a == b == c or a != b != c != a: print("No")\nelse: print("Yes")'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s755466895', 's805462351', 's316642499'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [96, 96, 101] |
p02771 | u763628696 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['i = map(int,input().split())\nif (i[0] == i[1] and i[0] != i[2]) or (i[0] == i[2] and i[0] != i[1]) or (i[1] == i[2] and i[1] != i[0]):\n print("Yes")\nelse:\n print("No")', 'i = map(int,input(),split())\nif (i[0] == i[1] and i[0] != i[2]) or (i[0] == i[2] and i[0] != i[1]) or (i[1] == i[2] and i[1] != i[0]):\n print("Yes")\nelse:\n print("No")', 'i = list(map(int,input().split()))\nif (i[0] == i[1] and i[0] != i[2]) or (i[0] == i[2] and i[0] != i[1]) or (i[1] == i[2] and i[1] != i[0]):\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s648796978', 's659582866', 's273444954'] | [8916.0, 9032.0, 9156.0] | [23.0, 21.0, 29.0] | [170, 170, 176] |
p02771 | u767438459 | 2,000 | 1,048,576 | A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`. | ['# -*- coding: utf-8 -*-\nA,B,C=map(int,input().split())\nif A!=B and B!=C and C!=A:\n print("Yes")\nelse:\n print("No")', 'A,B,C=map(int,input().split())\nif A!=B and B!=C and C!=A:\n print("No")\nelif A==B and B==C and C==A:\n print("No")\nelse:\n print("Yes")'] | ['Wrong Answer', 'Accepted'] | ['s251031243', 's277365075'] | [2940.0, 3064.0] | [17.0, 18.0] | [120, 141] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.