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
u424467986
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`.
["\nA, B, C = input().split(' ')\n\nif (A == B == C) or (A != B != C):\n print('No')\nelse:\n print('Yes')", "\nA, B, C = input().split(' ')\n\nif (A == B == C) or (A != B != C != A):\n print('No')\nelse:\n print('Yes')"]
['Wrong Answer', 'Accepted']
['s557637390', 's829514544']
[2940.0, 2940.0]
[17.0, 17.0]
[212, 217]
p02771
u427485170
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 os, sys, re, math\n\n(A, B, C) = [int(n) for n in input().split()]\n\nif A == B == C or A != B != C:\n print('No')\nelse:\n print('Yes')\n", "import os, sys, re, math\n\n(A, B, C) = [int(n) for n in input().split()]\n\nif (A == B and B != C) or (A == C and A != B) or (B == C and A != B):\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Accepted']
['s788039266', 's644106176']
[9716.0, 9780.0]
[33.0, 32.0]
[143, 182]
p02771
u428246454
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 if len(set(x))== 2:\n print("Yes")\n else:\n print("No")', 'x = list(map(int,input().split()))\nif len(set(x))== 2:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s777832747', 's751772318']
[2940.0, 2940.0]
[17.0, 17.0]
[113, 93]
p02771
u428416104
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 = list(map(int, input().split()))\n\nif i[0]==i[1] and i[1]==i[2] and i[0]==i[2]:\n print("No")\nelif i[0]!=i[1] and i[1]!=i[2]:\n print("No")\nelse:\n print("Yes")', 'i = list(map(int, input().split()))\n \nif i[0]==i[1] and i[1]==i[2]:\n print("No")\nelif i[0]!=i[1] and i[1]!=i[2] and i[0]!=i[2]:\n print("No")\nelse:\n print("Yes")\n']
['Wrong Answer', 'Accepted']
['s559587130', 's377137827']
[3060.0, 3060.0]
[17.0, 17.0]
[168, 170]
p02771
u428747123
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 = list(map(int,input().split()))\nif len(lst) == lst.count(lst[0]):\n print("Yes")\nelse:\n print("No")', 'lst = list(map(int,input().split()))\ncnt = len(set(lst))\nif cnt == 2:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s355761399', 's782097481']
[2940.0, 2940.0]
[17.0, 18.0]
[109, 109]
p02771
u431981421
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, K = map(int, input().split())\nA = list(map(int, input().split()))\n\ncount = 1\nli = []\n\nfor index, a in enumerate(A):\n for b in range(count, len(A)):\n li.append(a * A[b])\n\n count += 1\n\nli.sort()\n\nprint(li[K-1])', "import sys\n\nA, B, C = map(int, input().split())\n\nans = 'Yes'\n\na = [A, B, C]\n\nif len(set(a)) == 2:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s792796619', 's626421241']
[3064.0, 2940.0]
[18.0, 17.0]
[216, 132]
p02771
u432385629
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()\nb = input()\nc = input()\n\nif (a == b and b == c):\n print('No')\nelif(a != c and a != b and b != c):\n print('No')\nelse:\n print('Yes')\n", "a, b, c = map(int, input().split()) \n\n\nif (a == b and b == c):\n print('No')\nelif(a != c and a != b and b != c):\n print('No')\nelse:\n print('Yes')\n"]
['Runtime Error', 'Accepted']
['s322177535', 's775220857']
[2940.0, 2940.0]
[17.0, 17.0]
[152, 154]
p02771
u433147299
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:\n print('No')\nelif a != b != c:\n print('No')\nelse:\n print('Yes')", "a, b, c = map(int, input().split())\n\nif a == b or a == c or b == c: \n if a == b == c:\n print('No')\n else:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s791511368', 's668538889']
[3060.0, 2940.0]
[17.0, 17.0]
[119, 147]
p02771
u435593586
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())\n\nif a == b == c:\n print('No')\nelif a != b and b != c and a != c:\n print('No')\nelif a == b and a != c:\n print('Yes')\nelif a == c and a != b:\n print('Yes')\nelif b == c and a != b:\n print('Yes')\nelse:\n print('No')", 'n, k = map(int, input().split())\nlst = [int(x) for x in input().split()]\nnewLst = []\n\nfor i in range(n-1):\n for j in range(i+1, n):\n newLst.append(lst[i]*lst[j])\n\nnewLst = sorted(newLst)\nprint(newLst[k-1])', "a,b,c = input().split()\n\nif a == b == c:\n print('No')\nelif a != b and b != c and a != c:\n print('No')\nelif a == b and a != c:\n print('Yes')\nelif a == c and a != b:\n print('Yes')\nelif b == c and a != b:\n print('Yes')\nelse:\n print('No')\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s229039138', 's849374692', 's201079593']
[3060.0, 3060.0, 2940.0]
[17.0, 18.0, 17.0]
[245, 215, 241]
p02771
u436725550
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\nfrom collections import OrderedDict\n\n\nN = int(input())\nS = [input() for i in range(N)]\n\n\nc = OrderedDict(collections.Counter(S))\nln = len(c.values())\n\n\nd = OrderedDict(sorted(c.items(), key = lambda x : x[1], reverse=True))\ndval = list(d.values())\ndkey = list(d.keys())\n\n\nword = list()\nword.append(dkey[0])\ni=1\nif ln>1:\n while dval[i-1]==dval[i]:\n word.append(dkey[i])\n i+=1\n if i==ln:\n break\n\n\ndic = sorted(word)\n\n\nfor i in range(len(dic)):\n print(dic[i])', 'A = input()\nB = input()\nC = input()\n\nif A==B==C:\n print("No")\nelif A==B or B==C or C==A:\n print("Yes")\nelse:\n print("No")', 'N = input().split()\nA = N[0]\nB = N[1]\nC = N[2]\n\nif A==B==C:\n print("No")\nelif A==B or B==C or C==A:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s581337200', 's746698215', 's193930853']
[3316.0, 2940.0, 2940.0]
[23.0, 18.0, 17.0]
[687, 130, 141]
p02771
u437351386
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`.
['k=list(map(int,input().split())))\nfrom collections import Counter\nl=Counter(k)\nif len(l)==2:\n print("Yes")\nelse:\n print("No")\n \n ', 'k=list(map(int,input().split()))\nfrom collections import Counter\nl=Counter(k)\nif len(l)==2:\n print("Yes")\nelse:\n print("No")\n \n ']
['Runtime Error', 'Accepted']
['s488536185', 's016008001']
[2940.0, 3316.0]
[17.0, 20.0]
[133, 132]
p02771
u442855260
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\nfrom operator import itemgetter\n\nN=int(input())\nList=[str(input()) for i in range(N)]\nSetList=list(set(List))\nnc=[List.count(SetList[i]) for i in range(len(SetList))]\n\nindexmax=np.where(np.array(nc) == np.array(nc).max())[0]\nif(len(indexmax)==1):\n print(itemgetter(*indexmax)(SetList))\nelse:\n for i in sorted(itemgetter(*indexmax)(SetList)):\n print(i) \n', "A, B, C=map(int,input().split())\nif((A==B) & (B!=C)):\n ans='Yes'\nelif((A==C) & (B!=C)):\n ans='Yes'\nelif((B==C) & (B!=A)):\n ans='Yes'\nelse:\n ans='No'\nprint(ans)"]
['Runtime Error', 'Accepted']
['s779313033', 's804821779']
[12424.0, 3060.0]
[157.0, 18.0]
[385, 171]
p02771
u444082822
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 + B==C + C==A) =1:\n print("Yes")\nelse:\n print("No")', 'A,B,C=map(int,input().split())\nif (A==B + B==C + C==A) ==1:\n print("Yes")\nelse:\n print("No")', 'A,B,C=map(int,input().split())\nif (A==B or B==C or C==A) and not(A==B and B==C and C==A):\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s426573278', 's513769280', 's883233023']
[2940.0, 2940.0, 2940.0]
[19.0, 17.0, 17.0]
[93, 94, 124]
p02771
u447068988
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 len(set(A) ) == 2:\n print("Yes")\nelse:\n print("No")', 'A = map(int,input().split())\nif len(set(A)) == 2:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s062026731', 's668079613']
[2940.0, 2940.0]
[17.0, 17.0]
[91, 88]
p02771
u448720391
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")\nelse\n if b == c:\n print("Yes")\n else:\n if a == c:\n print("Yes")\n else:\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")\nelse:\n if b == c:\n print("Yes")\n else:\n if a == c:\n print("Yes")\n else:\n print("No")']
['Runtime Error', 'Accepted']
['s672337637', 's393020486']
[2940.0, 2940.0]
[17.0, 17.0]
[245, 246]
p02771
u450147945
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()\n\nif A==B==C:\n print('No')\nelse:\n if A==B:\n if B!=C:\n print('Yes')\n if A==C:\n if C!=B:\n print('Yes')\n if B==C:\n if C!=A:\n print('Yes')\n else:\n print('No')", 'import numpy as np\n\nN, K = input().split()\nA = input().split()\nN = int(N)\nK = int(K)\nA = list(map(int, A))\n\nB = []\nfor i in range(N):\n for j in range(N):\n if i>j:\n B.append(np.dot(A[i], A[j]))\n\nB.sort()\nprint(B[K-1])', "A, B, C = input().split()\n\nif A==B==C:\n print('No')\nelse:\n if A==B:\n if B!=C:\n print('Yes')\n elif A==C:\n if C!=B:\n print('Yes')\n elif B==C:\n if C!=A:\n print('Yes')\n else:\n print('No')"]
['Wrong Answer', 'Runtime Error', 'Accepted']
['s195960060', 's342523412', 's040008534']
[2940.0, 12392.0, 3060.0]
[17.0, 149.0, 18.0]
[255, 237, 259]
p02771
u450983668
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());print('YNeos'[a==b==c or a!=b!=c::2])", "a,b,c=map(int,input().split());print('YNeos'[a==b==c or a!=b!=c!=a::2])"]
['Wrong Answer', 'Accepted']
['s696432242', 's775104314']
[2940.0, 2940.0]
[17.0, 17.0]
[68, 71]
p02771
u453623947
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 = [map(int, input().split())]\n\nif a = b or b = c or a = c :\n print("Yes")\nelse :\n print("No")', 'a, b, c = map(int, input().split())\n\nif a == b != c or b == c != a or a == c != b :\n print("Yes")\nelse :\n print("No")']
['Runtime Error', 'Accepted']
['s503035968', 's100860438']
[2940.0, 2940.0]
[17.0, 17.0]
[104, 123]
p02771
u453683890
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())\nmydict = {}\nfor i in range(N):\n t = input()\n if t in mydict:\n mydict[t]+=1\n else:\n mydict[t] = 1\nmax_k_list = [kv[0] for kv in mydict.items() if kv[1] == max(mydict.values())]\nmax_k_list.sort()\nfor i in max_k_list:\n print(i)', 'line = input().split(\' \')\nk = set(line)\nif len(k) == 2:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s115730417', 's551301841']
[3060.0, 2940.0]
[17.0, 18.0]
[251, 90]
p02771
u454524105
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`.
['if a[0] == a[1] == a[2]: print("No")\nelif a[0] == a[1] or a[1] == a[2]: print("Yes")\nelse: print("No")', 'a = [int(x) for x in input().split()]\na.sort()\nif a[0] == a[1] == a[2]: print("No")\nelif a[0] == a[1] or a[1] == a[2]: print("Yes")\nelse: print("No")']
['Runtime Error', 'Accepted']
['s467484666', 's170618129']
[2940.0, 3060.0]
[17.0, 17.0]
[102, 149]
p02771
u461836414
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, k = [int(x) for x in input().split()]\nnums = [int(x) for x in input().split()]\nnums.sort()\nif 0 in nums:\n index = nums.index(0)\n if index == 0:\n print(nums[1] * nums[k]\n break\n if index == n-1:\n print(nums[-2] * nums[-k - 1]\n else:\n num_neg = index\n num_pos = n - index\n if k < num_neg * num_pos:\n s = k // num_pos\n f = k % num_pos\n if f == 0:\n print(nums[-s] * nums[index+1])\n else:\n print(nums[-s-1] * nums[-f-1])\n else:\n new_list = nums[index:] + [-x for x in nums[:inedex]]\n new_list.sort()\n print(new_list[1] * new_list[k]\nelse:\n l, h = 0, n - 1\n while l < h:\n m = (l+h) // 2\n if nums[m] >= 0:\n h = m\n else:\n l = m + 1\n index = l\n num_neg = index\n num_pos = n - index\n if k < num_neg * num_pos:\n s = k // num_pos\n f = k % num_pos\n if f == 0:\n print(nums[-s] * nums[index+1])\n else:\n print(nums[-s-1] * nums[-f-1])\n else:\n new_list = nums[index:] + [-x for x in nums[:inedex]]\n new_list.sort()\n print(new_list[0] * new_list[k-1]', 'n = int(input())\nd = {}\nfor i in range(n):\n s = input()\n if s not in d:d[s] = 0\n d[s] += 1\nmax_cnt = sorted(d.items(), key=lambda tp:tp[1])[-1][1]\na1 = filter(lambda tp:tp[1] == max_cnt, d.items())\na2 = map(lambda tp:tp[0], a1)\nfor s in sorted(a2):\n print(s)\n', "a,b,c = [int(x) for x in input().split()]\n\nif (a==b and c!= a) or (a==c and a!=b) or (b == c and a!=b):print('Yes')\nelse:print('No')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s007877965', 's532923184', 's906118188']
[2940.0, 3060.0, 2940.0]
[18.0, 18.0, 17.0]
[1196, 263, 132]
p02771
u464205401
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(a)\nprint('No' if len(a)-len(b)==1 else 'Yes')\n", "a=list(map(int,input().split()))\nb=set(a)\nprint('Yes' if len(a)-len(b)==1 else 'No')\n"]
['Wrong Answer', 'Accepted']
['s625057634', 's376529871']
[2940.0, 2940.0]
[17.0, 17.0]
[85, 85]
p02771
u464912173
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 = set(map(int,input().split()))\n\nif len(a)==2:\n print('YES')\nelse:\n print('No')", "a = set(map(int,input().split()))\n\nif len(a)==2:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s883971710', 's013278738']
[2940.0, 2940.0]
[18.0, 17.0]
[83, 83]
p02771
u465067725
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`.
["case = int(input())\n\nA, B, C =[int(x) for x in case.split(' ')]\nif (A == B and A != C) or(B == C and A != C) or (A == C and A != C):\n print('Yes')\nelse:\n print('No')", "\ncase = input()\n\nA, B, C =[int(x) for x in case.split(' ')]\nif (A == B and A != C) or(B == C and A != C) or (A == C and A != B):\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s783650761', 's256031732']
[2940.0, 2940.0]
[17.0, 18.0]
[171, 167]
p02771
u468972478
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")', 'print "Yes" if len(set(input().split())) == 2 else "No"', 'print("Yes" if len(set(input().split())) == 2 else "No")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s039317450', 's472565035', 's117516971']
[9100.0, 8956.0, 9028.0]
[26.0, 26.0, 26.0]
[88, 55, 56]
p02771
u470618774
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 = 0\nf a[0]==a[1]:\n if a[1] == a[2]:\n print("No")\n b=1\nif b==0:\n print("Yes")', 'a = list(map(int,input().split()))\nb = 0\nif a[0]==a[1] and a[1]==a[2]:\n print("No")\nelif a[0]!=a[1] and a[1]!=a[2] and a[0]!=a[2]:\n print("NO")\nelse:\n print("YES")', 'a = list(map(int,input().split()))\nb = 0\nif a[0]==a[1] and a[1]==a[2]:\n print("No")\nelif a[0]!=a[1] and a[1]!=a[2] and a[0]!=a[2]:\n print("No")\nelse:\n print("Yes")']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s021062200', 's424837538', 's200435208']
[2940.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0]
[133, 172, 172]
p02771
u471503862
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 and b!=c and c !=a):\n print('No')\nelse:\n print('No')", "a, b, c = map(int, input().split())\nif a==b==c or (a!=b and b!=c and c !=a):\n print('No')\nelse:\n print('Yes')"]
['Wrong Answer', 'Accepted']
['s244193909', 's622867559']
[2940.0, 2940.0]
[18.0, 17.0]
[110, 111]
p02771
u472279714
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=input().split()\na=i[0]\nb=i[1]\nc=i[2]\nif(a==b and b==c):\n print("YES")\nelse:\n print("NO")', 'i=input().split()\na=i[0]\nb=i[1]\nc=i[2]\nif(a==b and b==c):\n print("Yes")\nelse:\n print("No")', 'i=input().split()\na=i[0]\nb=i[1]\nc=i[2]\nif((a==b and b!=c) or (b==c and c!=a) or (a==c and c!=b)):\n print("YES")\nelse:\n print("NO")', 'i=input().split()\na=i[0]\nb=i[1]\nc=i[2]\nif((a==b and b!=c) or (b==c and c!=a) or (a==c and c!=b)):\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s483371544', 's811299101', 's923023218', 's189366561']
[2940.0, 2940.0, 3060.0, 3060.0]
[17.0, 17.0, 18.0, 18.0]
[90, 90, 130, 130]
p02771
u472696272
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`.
["num = [map(int, input().split())]\n\nif len(set(num))==2: 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')\n"]
['Wrong Answer', 'Accepted']
['s336527461', 's510903494']
[2940.0, 2940.0]
[17.0, 17.0]
[86, 132]
p02771
u482157295
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 b / a == 1 and c / a == 1:\n print("No")\nelse:\n print("Yes)', '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("No")\nelse:\n print("Yes")\n\n\n']
['Runtime Error', 'Accepted']
['s747707171', 's876250282']
[2940.0, 2940.0]
[17.0, 18.0]
[97, 189]
p02771
u482522932
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 not a = b = c:\n print("Yes")\nelif b = c and not a = b = c:\n print("Yes")\nelif c = a and not a = b = c:\n print("Yes")\nelse:\n print("No")', 'a,b,c = map(int,input().split())\nif a is b and not a is b is c:\n print("Yes")\nelif b is c and not a is b is c:\n print("Yes")\nelif c is a and not a is b is c:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s202392756', 's326500559']
[2940.0, 2940.0]
[17.0, 17.0]
[185, 194]
p02771
u483178572
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()\na = "No"\nif x != y:\n\tif y = z:\n a = "Yes"\n elif x = z:\n a = "Yes"\n else: a = "No"\nif x = y:\n if y = z:\n a = "No"\n elif x = z:\n a = "No"\n else: a = "Yes"\nprint(a)', "x,y,z = input.split()\nif x = y:\n if y = z:\n print('No')\n else print('Yes')\nif y = z:\n if x = z:\n print('No')\n else print('Yes')\nif x = z:\n if x = y:\n print('No')\n else print('Yes')", 'x, y, z = input().split()\na = "No"\nif x != y:\n if x == z:\n a = "Yes"\n elif y == z:\n a = "Yes"\n else:\n a = "No"\nif x == y:\n if x == z:\n a = "No"\n elif y == z:\n a = "No"\n else:\n a = "Yes"\nprint(a)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s338014100', 's919659976', 's806704067']
[2940.0, 2940.0, 3060.0]
[18.0, 18.0, 17.0]
[222, 195, 254]
p02771
u484052148
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())\ns = [input() for i in range(n)]\n\nl = [s.count(i) for i in s]\nd = {i:j for i,j in zip(s, l)}\nm = max(l)\n\nd = {i:j for i, j in zip(s, l)}\nans = [i for i in d if d[i] == m]\nsorted(ans)\n\nfor i in ans:\n print(i)', 'a = {int(i) for i in input().split()}\nif len(a) == 2:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s614823933', 's643485827']
[3064.0, 2940.0]
[17.0, 18.0]
[226, 92]
p02771
u485286322
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()\nfor i in a:\n b = [j for j in a if i == j]\n if len(b) == 2:\n print("Yes")\n else:\n \tprint("No")', 'a = input().split()\nif a[0] == a[1] and a[0] != a[2]:\n print("Yes")\nelif a[0] == a[2] and a[0] != a[1]:\n print("Yes")\nelif a[1] == a[2] and a[1] != a[0]:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s004978345', 's560037651']
[2940.0, 3060.0]
[17.0, 18.0]
[125, 198]
p02771
u485319545
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\nPoors = list(map(int,input().split()))\n\nc = Counter(Poors)\n\nif 1 in list(c.values()) and len(list(c.values()))==3:\n print('Yes')\nelse:\n print('No')", "from collections import Counter\n\nPoors = list(map(int,input().split()))\n\nc = Counter(Poors)\n\nif 1 in list(c.values()) and 2 in list(c.values()):\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s596485087', 's864450413']
[3316.0, 3316.0]
[21.0, 21.0]
[186, 183]
p02771
u486209657
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())\n\nif (A == B and B==C) or (A!=B and B!=C and C!=A):\n print('No')\nelse:\n print('Yes')"]
['Wrong Answer', 'Accepted']
['s116009843', 's059829693']
[9132.0, 9132.0]
[28.0, 27.0]
[88, 116]
p02771
u488925368
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()\n\nvalue = 0\n\nif a == b:\n value = value + 1\n\nif a == c:\n value = value + 1\n\nif b == c:\n value = value + 1\n\nif value == 2:\n print("Yes")\nelse:\n print("No")\n', 'a, b, c = input().split()\n\nvalue = 0\n\nif a == b:\n value = value + 1\n\nif a == c:\n value = value + 1\n\nif b == c:\n value = value + 1\n\nif value == 1:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s562252809', 's651949632']
[2940.0, 2940.0]
[19.0, 17.0]
[194, 193]
p02771
u489153633
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())\ni=list(map(int,input().split()))\na=0\nfor x in range(N):\n if i[x]%2==0:\n if i[x]%3!=0:\n if i[x]%5!=0:\n x+=1\nif a==0:\n print("APPROVED")\nelse:\n print("DENIED")', 'N=int(input())\ni=list(map(int,input().split()))\nx=0\nfor x in range(N):\n if x%2==0:\n if x%3!=0:\n if x%5!=0:\n x+=1\nif x==0:\n print("APPROVED")\nelse:\n print("DENIED")', 'N=int(input())\ni=list(map(int,input().split()))\nx=0\nfor x in range(N):\n if x%2==0:\n if x%3!=0:\n if x%5!=0:\n x+=1\nif x==0:\n return "APPROVED"\nelse:\n return "DENIED"', 'a,b,c=input().split()\n \nif a==b==c:\n print("No")\nelif a==b!=c:\n print("Yes")\nelif a==c!=b:\n print("Yes")\nelif a!=b==c:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s162658469', 's369989130', 's760868812', 's532052247']
[3060.0, 3064.0, 2940.0, 3060.0]
[18.0, 18.0, 18.0, 17.0]
[214, 181, 181, 156]
p02771
u493130708
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 = str(input()).split()\n\na = l[0]\nb = l[1]\nc = l[2]\n\nif (a == b and a != c )or (c == b and a != c )or (a == c and b != c ):\n print("YES")\nelse:\n print("NO")', 'l = input().split\n\na = l[0]\nb = l[1]\nc = l[2]\n\nif (a == b and a != c )or (c == b and a != c )or (a == c and b != c ):\n print("Yes")\nelse:\n print("No")', 'l = str(input()).split()\n \na = l[0]\nb = l[1]\nc = l[2]\n \nif (a == b and a != c )or (c == b and a != c )or (a == c and b != c ):\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s688452565', 's986794222', 's049783090']
[3060.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0]
[163, 156, 165]
p02771
u493318999
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\tprint('No')\nelif a!=b and b!=c:\n print('No')\nelse:\n\tprint('Yes')\n", "a,b,c = int(input())\nif a==b==c or a!=b!=c:\n\tprint('No')\nelse:\n\tprint('Yes')", "a,b,c = map(int,input().split())\nif a==b==c or a!=b!=c:\n\tprint('No')\nelse:\n\tprint('Yes')\n", "a,b,c = map(int,input().split())\nif a==b==c:\n\tprint('No')\nelif a!=b and b!=c and c!=a:\n print('No')\nelse:\n\tprint('Yes')\n"]
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s002765797', 's153116102', 's798124633', 's270870808']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[114, 76, 89, 123]
p02771
u499106786
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 = [int(x) for x in input().split()]\n \nif i[0]==i[1]:\n if i[1]!=i[2]:\n print("YES")\n else:\n print("NO")\nelif i[0]==i[2]:\n print("YES")\nelif i[1]==i[2]:\n print("YES")\nelse:\n print("NO")', 'i = input().split(" ")\ni = [int(a) for a in i]\n\nif i[0]==i[1]:\n if i[1]!=i[2]:\n print("YES")\n else:\n print("NO")\nelif i[0]==i[2]:\n print("YES")\nelif i[1]==i[2]:\n print("YES")\nelse:\n print("NO")', 'a, b, c = input().split(" ")\na = int(a)\nb = int(b)\nc = int(c)\n \nif a==b:\n\tif a!=c:\n\t\tprint("YES")\n\telse:\n\t\tprint("NO")\nelif a==c:\n print("YES")\nelif b==c:\n print("YES")\nelse:\n print("NO")', 'a, b, c = input().split(" ")\na = int(a)\nb = int(b)\nc = int(c)\n\nif a==b and a!=c:\n print("YES")\nelif a==c:\n print("YES")\nelif b==c:\n print("YES")\nelse:\n print("NO")', 'i = [int(x) for x in input().split()]\n \nif i[0]==i[1]:\n if i[1]!=i[2]:\n print("Yes")\n else:\n print("No")\nelif i[0]==i[2]:\n print("Yes")\nelif i[1]==i[2]:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s176618422', 's497322906', 's562319214', 's581942990', 's617455651']
[3060.0, 3064.0, 3060.0, 3060.0, 3060.0]
[17.0, 18.0, 17.0, 17.0, 18.0]
[196, 204, 190, 167, 196]
p02771
u500990280
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 == C or A != B != C:\n print('No')\nelse:\n print('Yes')\n", "if __name__ == '__main__':\n x, y, z = (int(x) for x in input().split())\n if x == y == z:\n print('No')\n elif x == y or y == z or x == z:\n print('Yes')\n else:\n print('No')"]
['Wrong Answer', 'Accepted']
['s501850103', 's856577642']
[2940.0, 3060.0]
[17.0, 17.0]
[99, 202]
p02771
u502200133
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 or a != b == c or a == c != b:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s478002931', 's753811478']
[2940.0, 2940.0]
[17.0, 17.0]
[105, 120]
p02771
u502649733
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\nimport collections\nn = int(input())\nli=[input() for _ in range(n)]\nc = collections.Counter(li)\nmax_list = [kv[0] for kv in c.items() if kv[1] == max(c.values())]\nmax_list.sort()\nfor s in max_list:\n print(s)', 'import collections\nn = int(input())\nli=[input() for _ in range(n)]\nc = collections.Counter(li)\nmax_list = [kv[0] for kv in c.items() if kv[1] == max(c.values())]\nmax_list.sort()\nfor s in max_list:\n print(s)', 'import sys\nli = list(map(int,input().split()))\nli.sort()\nif(str(li[0]) == str(li[1]) == str(li[2])):\n print("No")\n sys.exit()\nif(str(li[0]) != str(li[1]) != str(li[2])):\n print("No")\n sys.exit()\nfor i in range(3):\n if(str(li[i]) == str(li[i+1])):\n print("Yes")\n break']
['Runtime Error', 'Runtime Error', 'Accepted']
['s911753467', 's922097871', 's907716680']
[3316.0, 3316.0, 3064.0]
[21.0, 22.0, 17.0]
[218, 207, 278]
p02771
u502731956
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`.
['stdin = open(0)\nA, B, C = map(int, stdin.read().split())\nfor _ in range(3):\n A, B, C = B, C, A\n if A == B != C:\n print("Yes")\nelse:\n print("No")', 'stdin = open(0)\nA, B, C = map(int, stdin.read().split())\nfor _ in range(3):\n A, B, C = B, C, A\n if A == B != C:\n print("Yes")\n break\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s273012534', 's506600175']
[2940.0, 2940.0]
[17.0, 17.0]
[160, 174]
p02771
u503111914
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(map(int,input().split())\nprint("Yes" if len(set(S))==2 else "No")', 'S = list(map(int,input().split()))\nprint("Yes" if len(set(S))==2 else "No")']
['Runtime Error', 'Accepted']
['s878559091', 's252093781']
[2940.0, 2940.0]
[17.0, 19.0]
[74, 75]
p02771
u507113442
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()\nans="Yes"\nif a!=b and b!=c:\n ans="No"\nif a==b==c:\n ans="No"', 'n=int(input())\na=list(map(int,input().split()))\nans="APPROVED"\nfor i in range (n):\n if a[i]%2==0:\n if a[i]%3!=0and a[i]%5!=0:\n ans="DENIED"\n else:\n ans="APRROVED"\n \nprint(ans)', 'a,b,c=input().split()\nans="Yes"\nif a!=b and b!=c and c!=a:\n ans="No"\nif a==b==c:\n ans="No"', 'a,b,c=input().split()\nans="Yes"\nif a!=b and b!=c and c!=a:\n ans="No"\nif a==b==c:\n ans="No"\nprint(ans)']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s507005734', 's804759371', 's810218555', 's760224523']
[2940.0, 3060.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[83, 195, 92, 103]
p02771
u508061226
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:\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 c != a:\n print("No");\nelse:\n print("Yes");\n']
['Wrong Answer', 'Accepted']
['s086305598', 's726963772']
[2940.0, 2940.0]
[17.0, 17.0]
[135, 146]
p02771
u511449169
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()))\nif a[0] == a[1] and a[1] == a[2]:\n print("No")\nelif a[0] != a[1] and a[1] != a[2] and a[0] != a[2]:\n print("No")\nelse:\n print("Yes")', 'a = list(map(int, input().split()))\nif a[0] == a[1] and a[1] == a[2]:\n print("No")\nelif a[0] != a[1] and a[1] != a[2] and a[0] != a[2]:\n print("No")\nelse:\n print("Yes")']
['Runtime Error', 'Accepted']
['s225957252', 's231379869']
[3064.0, 3060.0]
[17.0, 17.0]
[171, 171]
p02771
u511870776
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())\ni = 0\nif a == b and b != c:\n i = 1\nelif a != b and b == c:\n i = 1\n\nprint('Yes' if i else 'No')", "a, b, c = map(int, input().split())\nd = set([a,b,c])\nif len(d) == 1:\n print('Yes')\nelse:\n print('No')", "a,b,c = map(int, input().split())\ni = 0\nif a == b and b != c:\n i = 1\nelif a != b and b == c:\n i = 1\nelif a == c and a != c:\n i = 1\n \nprint('Yes' if i else '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())\ni = 0\nif a == b and b != c:\n i = 1\nelif a != b and b == c:\n i = 1\nelif a == c and a != b and b != c:\n i = 1\n \nprint('Yes' if i else 'No')\n"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s178249501', 's261639021', 's562112307', 's598379887', 's533846421']
[2940.0, 2940.0, 3060.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 17.0, 17.0]
[130, 103, 163, 101, 175]
p02771
u514118270
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[2] == A[4] or A[2] != A[4] == A[0] or A[0] != A[4] == A[2]:\n input('Yes')\nelse:\n input('No') ", "N = int(input())\nAf = list(map(int,input().split()))\nA = list()\nfor i in range(N):\n if Af[i] % 2 == 0:\n A.append(Af[i])\n continue\n else:\n continue\nfor i in range(len(A)):\n if A[i] % 3 != 0 and A[i] % 5 != 0:\n print('DENIED')\n import sys\n sys.exit()\n if A[i] % 3 == 0 or A[i] % 5 == 0:\n continue \nprint('APPROVED')", "A = input()\nif A[0] != A[2] == A[4] or A[2] != A[4] == A[0] or A[4] != A[0] == A[2]:\n input('Yes')\nelse:\n input('No')", "A = input()\nif A[0] != A[2] == A[4] or A[2] != A[4] == A[0] or A[4] != A[0] == A[2]:\n print('Yes')\nelse:\n print('No')\n"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s500465365', 's584651109', 's723095726', 's831185792']
[3060.0, 3064.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[124, 352, 123, 124]
p02771
u514815477
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().split(" "))\na1,a2,a3=int(a[0]),(a[1]),int(a[2])\nans="No"\nif a1!=a2 and (a1==a3 or a2==a3):\n ans="Yes"\nif a1!=a3 and (a1==a2 or a2==a3):\n ans="Yes"\nif a2!=a3 and (a1==a2 or a1==a3):\n ans="Yes"', 'a=int(input().split(" "))\na1,a2,a3=int(a[0]),int(a[1]),int(a[2])\nans="No"\nif a1!=a2 and (a1==a3 or a2==a3):\n ans="Yes"\nif a1!=a3 and (a1==a2 or a2==a3):\n ans="Yes"\nif a2!=a3 and (a1==a2 or a1==a3):\n ans="Yes"\n \nprint(ans)', 'a=int(input().split(" "))\na1,a2,a3=int(a[0]),(a[1]),int(a[2])\nans="No"\nif a1!=a2 and (a1==a3 or a2==a3):\n ans="Yes"\nif a1!=a3 and (a1==a2 or a2==a3):\n ans="Yes"\nif a2!=a3 and (a1==a2 or a1==a3):\n ans="Yes"\n \nprint(ans)', 'a=input().split(" ")\na1,a2,a3=int(a[0]),int(a[1]),int(a[2])\nans="No"\nif a1!=a2 and (a1==a3 or a2==a3):\n ans="Yes"\nif a1!=a3 and (a1==a2 or a2==a3):\n ans="Yes"\nif a2!=a3 and (a1==a2 or a1==a3):\n ans="Yes"\n \nprint(ans)']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s002465638', 's440838040', 's930374690', 's050719577']
[3060.0, 3064.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0, 17.0]
[208, 225, 222, 220]
p02771
u515740713
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 \nread = sys.stdin.buffer.read\nreadline = sys.stdin.buffer.readline\nreadlines = sys.stdin.buffer.readlines\nA,B,C = map(int, readline().split())\nif (A == B and B != C) or (B == C and C != A) (A == C and C != B):\n print('Yes')\nelse:\n print('No')", "import sys \nread = sys.stdin.buffer.read\nreadline = sys.stdin.buffer.readline\nreadlines = sys.stdin.buffer.readlines\nA,B,C = map(int, readline().split())\nif (A == B and B != C) or (B == C and C != A) or (A == C and C != B):\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s364010406', 's662490713']
[9180.0, 9232.0]
[25.0, 26.0]
[260, 262]
p02771
u516589098
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\n\nN = int(input())\n\nS = [input() for i in range(N)]\n\nresult = collections.Counter(S)\n\nresult_max = sorted([i for i in result.keys() if result[i] == max(result.values())])\n\nfor r in result_max:\n print(r)', 'ABC = [int(i) for i in input().split()]\n\nif len(set(ABC)) == 2:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s596540739', 's563732089']
[3316.0, 2940.0]
[21.0, 17.0]
[223, 102]
p02771
u517621096
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 = list(map(int, input().split()))\n\nif len(set(a)) == 2:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s828481179', 's845496332']
[2940.0, 2940.0]
[17.0, 18.0]
[111, 96]
p02771
u517674755
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())\nif a == b and a !=c:\n print("Yes")\nelif a == c and a !=b:\n print("Yes")\nelse:\n print("No")\n', 'a = int(input())\nb = int(input())\nc = int(input())\nif a == b and a !=c:\n print("Yes")\nelif a == c and a !=b:\n print("Yes")\nelse:\n print("No")\n', 'a = int(input())\nb = int(input())\nc = int(input())\nif a == b and a !=c:\n print("Yes")\nelif a == c and a !=b:\n print("Yes")\nelse:\n print("No")\n', 'a = int(input())\nb = int(input())\nc = int(input())\nif a == b and a !=c:\n print("Yes")\nelif a == c and a !=b:\n print("Yes")\nelse:\n print("No")\n', 'A = map(int,input().split())\nif len(set(A)) == 2:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s156274968', 's550753677', 's565455519', 's681903331', 's516419625']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0, 17.0, 17.0]
[151, 151, 151, 151, 88]
p02771
u518064858
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())\nd=a-b\ne=a-c\nf=b-c\nif d*e*f==0 and (d+e+f!=0):\n print("Yes")\nelse:\n print("No")\n', 'a,b,c=map(int,input().split())\nd=a-b\ne=a-c\nf=b-c\nif d*e*f==0 and (a!=b or b!=c or c!=a):\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s779204993', 's738959782']
[2940.0, 2940.0]
[17.0, 17.0]
[116, 128]
p02771
u519787311
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 #sys.stdin.readline()\nimport heapq #heap\nfrom collections import defaultdict\nfastinp = lambda: sys.stdin.readline().split(' ')[0].split('\\n')\ninp = lambda: input().split(' ')\nml = lambda x, y=int: list(map(y, x))\ndebug = lambda *args: print(*args, sep=' | ')\nn = int(fastinp()[0])\nhmap = defaultdict(int)\nfor i in range(n):\n hmap[fastinp()[0]] += 1\nm = 0\nfor k, v in hmap.items():\n m = max(m, v)\nlist = []\nfor k, v in hmap.items():\n if v == m:\n list.append(k)\nprint(*sorted(list), sep='\\n')\n", "import sys #sys.stdin.readline()\nimport heapq #heap\nfrom collections import defaultdict\nfastinp = lambda: sys.stdin.readline().split(' ')\ninp = lambda: input().split(' ')\nml = lambda x, y=int: list(map(y, x))\ndebug = lambda *args: print(*args, sep=' | ')\na, b, c = ml(inp())\nif a == b and a != c:\n print('Yes')\nelif b == c and a != b:\n print('Yes')\nelif a == c and b != a:\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Accepted']
['s875475119', 's423883436']
[3316.0, 3444.0]
[20.0, 87.0]
[518, 418]
p02771
u523087093
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 if B == C:\n print('No')\n else:\n print('Yes')\nelif B == C:\n print('Yes')\nelse:\n print('No')", "A, B, C = map(int, input().split())\n\nif A == B:\n if B == C:\n print('No')\n else:\n print('Yes')\nelif B == C:\n print('Yes')\nelif A == C:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s690675121', 's201314758']
[3064.0, 3316.0]
[17.0, 20.0]
[165, 195]
p02771
u523545435
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\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\nS={A,B,C}\n\nif len(S)==2:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s205633859', 's738382467', 's808986972']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[98, 98, 95]
p02771
u523957440
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 or A != B != C != B:\n print("No")\nelse:\n print("Yes")', 'A, B, C = map(int, input().split())\nif A == B == C or A != B != C != A:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s813028273', 's964332778', 's821263874']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[101, 106, 106]
p02771
u524489226
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()\n\nif len(set([a, b, c])) == 2:\n print("yes")\nelse:\n print("No")', 'a, b, c = input()\n\nif len(set(a, b, c)) == 2:\n print("yes")\nelse:\n print("No")', 'a, b, c = input().split()\n \nif len(set([a, b, c])) == 2:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s968510368', 's973702928', 's834243339']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[82, 80, 91]
p02771
u527616458
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()\ncount = 0\nfor i in range(len(a)-1):\n if a[i] == a[i+1]:\n count += 1\nif count == 2:\n print("Yes")\nelse:\n print("No")', 'a = list(map(int, input().split()))\na.sort()\ncount = 0\nfor i in range(len(a)-1):\n if a[i] == a[i+1]:\n count += 1\nif count == 1:\n print("Yes")\nelse:\n print("No")\n\n']
['Wrong Answer', 'Accepted']
['s702131943', 's228401912']
[2940.0, 2940.0]
[17.0, 17.0]
[166, 168]
p02771
u527993431
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 len(L)==2:\n print("Yes")\nelse:\n print("No")', 'L=list(map(int,input().split()))\nif len(set(L))==2:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s344852795', 's318502251']
[2940.0, 2940.0]
[17.0, 17.0]
[81, 87]
p02771
u528720841
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&&B!=C) || (A==C&&C!=B) || (C==B&&B!=A):\n print('Yes')\nelse:\n print('No')", "A, B, C = map(int, input().split())\n\nif (A==B and B!=C) or (A==C and C!=B) or (C==B and B!=A):\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s659910011', 's555677978']
[2940.0, 2940.0]
[17.0, 17.0]
[120, 129]
p02771
u529243496
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 == C or A != B != C != A:\n print('No')\nelse:\n print('Yes')"]
['Wrong Answer', 'Accepted']
['s221919732', 's924937532']
[2940.0, 2940.0]
[17.0, 17.0]
[106, 111]
p02771
u529722835
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 and c != b and c != a:\n print('Yes')\nelif b=c and a != b and a != c:\n print('Yes')\nelif c=a and b != a and b != c:\n print('Yes')\nelse: print('No')", "a,b,c = input().split()\nif a==b and c != b and c != a:\n print('Yes')\nelif b==c and a != b and a != c:\n print('Yes')\nelif c==a and b != a and b != c:\n print('Yes')\nelse: print('No')"]
['Runtime Error', 'Accepted']
['s859897749', 's225472599']
[2940.0, 3060.0]
[17.0, 18.0]
[185, 183]
p02771
u530883476
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())\nkawaiso = 0 \nif a==b && a!=c:\n kawaiso = 1\n\nelse if b==c && b!=a :\n kawaiso = 1\n\nelse if c==a && c!=b :\n kawaiso = 1\nelse :\n kawaiso = 0\n\nif kawaiso == 1 :\n print ('yes')\n\nelse :\n print('No')\n", "a, b, c= map(int, input().split())\nkawaiso = 0 \nif a==b && a!=c:\n kawaiso = 1\n\nif b==c && b!=a :\n kawaiso = 1\n]\nif c==a && c!=b :\n kawaiso = 1\n\nif kawaiso == 1 :\n print ('yes')\n\nelse :\n print('No')\n", "a, b, c= map(int, input().split())\nkawaiso = 0 \nif a==b && a!=c:\n kawaiso = 1\n\nif b==c && b!=a :\n kawaiso = 1\n\nif c==a && c!=b :\n kawaiso = 1\nelse :\n kawaiso = 0\n \nif kawaiso == 1 :\n print ('yes')\n\nelse :\n print('No')\n", "a, b, c= map(int, input().split())\nkawaiso = 0 \nif a==b && a!=c:\n kawaiso = 1\n\nif b==c && b!=a :\n kawaiso = 1\n\nif c==a && c!=b :\n kawaiso = 1\n\nif kawaiso == 1 :\n print ('yes')\n\nelse :\n print('No')\n", 'a, b, c= map(int, input().split())\nkawaiso = 0 \nif a==b && a!=c [\n kawaiso = 1\n]\nif b==c && b!=a [\n kawaiso = 1\n]\nif c==a && c!=b [\n kawaiso = 1\n]\nif kawaiso == 1 [\n print (yes)\n]\nelse [\n print(No)\n]\n', "a, b, c= map(int, .input().split())\nkawaiso = 0 \nif a==b and a!=c:\n kawaiso = 1\n \n else if b==c and b!=a :\n kawaiso = 1\n \n else if c==a and c!=b :\n kawaiso = 1\n\nif kawaiso == 1 :\n print ('Yes')\n \n else :\n print('No')", 'a, b, c= map(int, input().split())\nkawaiso = 0 \nif a==b and a!=c:\n kawaiso = 1\n \nelif b==c and b!=a:\n kawaiso = 1\n \nelif c==a and c!=b:\n kawaiso = 1\n \nelse:\n kawaiso = 0\n \n \nif kawaiso == 1:\n print ("Yes")\n \nelse:\n print("No")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s209627218', 's437757136', 's479094209', 's543210607', 's723411962', 's991708212', 's323074467']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3188.0, 3060.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0]
[245, 213, 239, 212, 215, 240, 252]
p02771
u537976628
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 = set(input().split())\nprint('yes' if len(ABC) == 2 else 'No')", "ABC = set(input().split())\nprint('Yes' if len(ABC) == 2 else 'No')"]
['Wrong Answer', 'Accepted']
['s400568182', 's503740725']
[2940.0, 2940.0]
[17.0, 17.0]
[66, 66]
p02771
u538844871
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(' ')\nif (A == B == C) or (A!= B != C):\n print('No')\nelse:\n print('Yes')\n", "A, B, C = int(input().split(' '))\nif A == B == C or A!= B != C:\n print('No')\nelse:\n print('Yes')", "A, B, C = input().split(' ')\nif (A == B == C) or (A!= B != C != A):\n print('No')\nelse:\n print('Yes')"]
['Wrong Answer', 'Runtime Error', 'Accepted']
['s270947003', 's709356706', 's185157468']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[98, 98, 102]
p02771
u539367121
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()\n\nif a==b==c:\n print('No')\nelif a!=b!=c:\n print('No')\nelse:\n print('Yes')", "a,b,c=input().split()\n\nif a==b==c:\n print('No')\nelif a!=b!=c!=a:\n print('No')\nelse:\n print('Yes')\n"]
['Wrong Answer', 'Accepted']
['s712087215', 's880938093']
[9104.0, 9008.0]
[30.0, 25.0]
[97, 101]
p02771
u540698208
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\n\na, b, c = [int(x) for x in stdin.readline().rstrip().split()]\n\nif (a == b or b == c or c == b) and not (a == b == c):\n print("Yes")\nelse:\n print("No")', 'from sys import stdin\n\na, b, c = [int(x) for x in stdin.readline().rstrip().split()]\n\nprint("Yes" if not ((a == b == c) or (a != b != c)) else "No")\n', 'from sys import stdin\n\na, b, c = [int(x) for x in stdin.readline().rstrip().split()]\n\nif (a == b or b == c or c == a) and not (a == b == c):\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s482138334', 's915746508', 's466614952']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 20.0]
[179, 149, 179]
p02771
u541193159
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`.
['line = input()\nnumbs = [int(v.strip()) for v in line.split()]\n\nif numbs[0] == numbs[1] and numbs[1] == numbs[2]:\n print("Yes")\nelse:\n print("No")\n', '\n\nline = input()\nnumbs = [int(v.strip()) for v in line.split()]\n\n\ndef get_status(numb1, numb2, numb3):\n\n if numb1 == numb2 and numb2 == numb3:\n return "Yes"\n return "No"\n\n\nprint(get_status(numbs[0], numbs[1], numbs[2]))\n', '\n\nline = input()\nnumbs = [int(v.strip()) for v in line.split()]\n\n\ndef is_equal(numb1, numb2):\n return numb1 == numb2\n\nnumb1, numb2, numb3 = numbs\nres = sum([is_equal(numb1, numb2), is_equal(numb1, numb3), is_equal(numb2, numb3)])\n\nif res == 1:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s193763035', 's273572029', 's987313282']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[148, 234, 286]
p02771
u545221414
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())\n\nif a == b == c:\n print("Yes")\nelse:\n print("No")\n', 'a,b,c = map(str,input().split())\n\nif a == b == c:\n print("No")\nelif a == b:\n print("Yes")\nelif a == c:\n print("Yes")\nelif b == c :\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s202653337', 's602964215']
[2940.0, 2940.0]
[17.0, 17.0]
[89, 179]
p02771
u546165262
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,intpu().split())\nif len(set(a)) == 2:\n print("Yes")\nelse:\n print("No")', 'a = map(int,input().split())\nif len(set(a)) == 2:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s466814472', 's297227497']
[2940.0, 2940.0]
[19.0, 18.0]
[85, 84]
p02771
u549603397
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 a==b and a!=c:\n print("Yes")\nelif a==b and a!=c:\n print("Yes")\nelse:\n print("No")', 'a,b,c=map(int,input().split())\n\nif a==b and a!=c:\n print("Yes")\nelif a==c and a!=b:\n print("Yes")\nelif c==b and a!=c:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s014851754', 's078586534']
[3060.0, 3060.0]
[17.0, 18.0]
[162, 162]
p02771
u550835660
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())\nprint("Yes" if set(A) == 2 else "No")', 'A = map(int, input().split())\nprint("Yes" if len(set(A)) == 2 else "No")']
['Wrong Answer', 'Accepted']
['s904757871', 's212952876']
[2940.0, 2940.0]
[19.0, 17.0]
[67, 72]
p02771
u554784585
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\n\nif A==B and B==C or A!=B!=C:\n print("No")\nelse:\n print("Yes")\n', 'A,B,C=map(int,input().split())\n\n\nif A==B and B==C or A!=B and B!=C and A!=C:\n print("No")\nelse:\n print("Yes")\n']
['Wrong Answer', 'Accepted']
['s200757292', 's296954869']
[2940.0, 2940.0]
[17.0, 17.0]
[101, 116]
p02771
u557168336
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 sum(a==b,b==c,c==a)==1 else "No")', 'a,b,c=input().split()\nprint("YNeos"[sum((a==b,b==c,c==a))!=1::2])']
['Runtime Error', 'Accepted']
['s490630557', 's222335792']
[2940.0, 2940.0]
[17.0, 18.0]
[70, 65]
p02771
u557282438
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(C == B && A != B):\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(C == B and A != B):\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s694913337', 's905755624']
[2940.0, 3060.0]
[17.0, 18.0]
[175, 178]
p02771
u557642273
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 check(input_list):\n kawaiso = False\n a = input_list[0]\n b = input_list[1]\n c = input_list[2]\n\n if((a == b or a == c or b == c) and not(a == b and b == c)):\n kawaiso = True\n\n return kawaiso\n\nif __name__ == \'__main__\':\n input_list = input().split()\n \n if check(input_list):\n print("yes")\n else:\n print("no")', '\ndef check(input_list):\n kawaiso = False\n a = input_list[0]\n b = input_list[1]\n c = input_list[2]\n\n if((a == b or a == c or b == c) and not(a == b and b == c)):\n kawaiso = True\n\n return kawaiso\n\nif __name__ == \'__main__\':\n input_list = input().split()\n \n if check(input_list):\n print("yes")\n else:\n print("no")\n \n', '\n\n\ndef check(input_list):\n kawaiso = False\n a = input_list[0]\n b = input_list[1]\n c = input_list[2]\n\n if((a == b or a == c or b == c) and not(a == b and b == c)):\n kawaiso = True\n\n return kawaiso\n\nif __name__ == \'__main__\':\n input_list = input().split()\n \n if check(input_list):\n print("yes")\n else:\n print("no")\n\t\t', 'def check(input_list):\n if(input_list.count(input_list[0]) == 2 or input_list.count(input_list[1]) == 2):\n return True\n else:\n return False\n\nif __name__ == \'__main__\':\n input_list = input().split()\n \n if check(input_list):\n print("yes")\n else:\n print("no")\n ', '\n\n\ndef check(input_list):\n if(input_list.count(input_list[0]) == 2 or input_list.count(input_list[1]) == 2):\n return True\n else:\n return False\n\nif __name__ == \'__main__\':\n input_list = input().split()\n \n if check(input_list):\n print("Yes")\n else:\n print("No")\n\t\t']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s489659046', 's507054003', 's561569132', 's655264808', 's558654296']
[3064.0, 3060.0, 3060.0, 2940.0, 2940.0]
[17.0, 20.0, 17.0, 17.0, 20.0]
[368, 379, 531, 319, 473]
p02771
u559196406
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\nN,K = map(int,input().split())\na = np.array(input().split(),np.int64)\na = np.sort(a)\nzero = a[a==0]\npos = a[a>0]\nneg = a[a<0]\n\ndef f(x):\n count = 0\n c = x // pos\n count += np.searchsorted(a, c, side='right').sum()\n count += N*len(zero) if x >= 0 else 0\n c = -(-x // neg)\n count += (N - np.searchsorted(a, c, side='left')).sum()\n count -= a[a*a <= x].size\n count //= 2\n return count\n\nright = 10**18\nleft = -10**18\nwhile right-left>1:\n mid = (right + left)//2\n if f(mid)<K:\n left = mid\n else:\n right = mid\n \nprint(int(right))", "A, B, C = map(int, input().split())\n\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')", "A, B, C = map(int, input().split())\n\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', 'Wrong Answer', 'Accepted']
['s244421756', 's752965948', 's610847428']
[17924.0, 3060.0, 2940.0]
[272.0, 17.0, 17.0]
[599, 177, 178]
p02771
u559891647
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`.
['if len(set(list(map(int, input())))) == 2:\n print("Yes")\nelse:\n print("No")', 'if len(set(list(map(int, input().split())))) == 2:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s402930078', 's788006683']
[2940.0, 2940.0]
[17.0, 17.0]
[77, 85]
p02771
u562015767
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")\n\nelif B == C and A != C:\n print("YES")\n\nelif A == C and A != B:\n print("YSE")\n\nelse:\n print("NO")', 'N = int(input())\nA = list(map(int,input().split()))\nB = list((i for i in A if i % 2 == 0))\n\ncount = 0\n\nfor i in B:\n if i%3 == 0 or i%5 == 0:\n count += 1\n else:\n count += 0\n\nif int(count) == int(len(B)):\n print("APROVED")\nelse:\n print("DENIED")', 'A = list(map(int,input().split()))\nA_unique = list(set(A))\nA_length = len(A_unique)\n\nif A_length == 2:\n print("YES")\n\nelse:\n print("NO")', 'A = list(map(int,input().split()))\nA_unique = list(set(A))\nA_length = len(A_unique)\n\nif A_length == 2:\n print("Yes")\n\nelse:\n print("No")']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s144182768', 's275084798', 's606599167', 's031188427']
[3444.0, 3064.0, 2940.0, 2940.0]
[21.0, 17.0, 17.0, 17.0]
[179, 269, 142, 142]
p02771
u566297428
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()\n\nif a == b == c:\n print(Yes)\nelse:\n print(No)\n', 'a,b,c = input().split()\n\nif a == b ==c:\n print(Yes)\nelse:\n print(No)', 'a,b,c = 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 = input()\na = list(map(int,input().split()))\n\nfor i in range(n):\n if not a[i] % 2 != 0 or (a[i] % 3 == 0 or a[i] % 5 == 0):\n print("DNIED")\n exit()\nelse:\n print("APPROVED")\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']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s142667239', 's283498691', 's403542579', 's991899282', 's394227231']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[72, 70, 124, 183, 140]
p02771
u569479281
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('Yes')\nelse:\n print('No')", "A, B, C = map(int, input().split())\nif A == B == C and 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 A != C and B != C:\n print('No')\nelse:\n print('Yes')"]
['Wrong Answer', 'Runtime Error', 'Accepted']
['s496260010', 's919133655', 's637118622']
[2940.0, 3064.0, 2940.0]
[17.0, 18.0, 17.0]
[86, 104, 135]
p02771
u571444155
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:\n print('No')\nelif a != b and a != c and b != c:\n print('No')\nelse:\n print('Yes')", "a, b, c = list(map(int, 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')", "a, b, c = (int(x) for x in 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')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s686752412', 's759811378', 's229617675']
[2940.0, 2940.0, 3060.0]
[17.0, 20.0, 17.0]
[134, 140, 146]
p02771
u571832343
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]:\n print('No')\nelif a[0] != a[1] and a[0] != a[2]:\n print('No')\nelse:\n print('Yes')", "a = input()\nif a[0] == a[1] and a[1] == a[2]:\n print('No')\nelif a[0] != a[2] and (a[1] != a[2] and a[1] != a[0]):\n print('No')\nelse:\n print('Yes')", "a,b,c = (x for x in input().split())\nif a == b and b != c:\n print('Yes')\nelif b == c and c != a:\n print('Yes')\nelif c == a and a != b:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s135162440', 's706838629', 's719633962']
[3060.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0]
[130, 149, 171]
p02771
u571969099
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=1<<1000000000', 'a=1<<1000000000\nb = 1<<a\nprint(b)', 'if len(set([int(i) for i in input().split()])) == 2:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s002881374', 's137897786', 's665690661']
[133240.0, 133236.0, 2940.0]
[49.0, 50.0, 17.0]
[15, 33, 91]
p02771
u572122511
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()))\nprint('Yes' if set([A, B, C]) == 2 else 'No')", "A, B, C = list(map(int, input().split()))\nprint('Yes' if len(set([A, B, C])) == 2 else 'No')"]
['Wrong Answer', 'Accepted']
['s684834331', 's105494816']
[2940.0, 2940.0]
[17.0, 18.0]
[87, 92]
p02771
u573234244
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\nf a == b:\n if b == c:\n print('No')\n else:\n print('Yes')\nelif b == c:\n print('Yes')\nelif c == a:\n print('Yes')\nelse:\n print('No')", "a,b,c = map(int, input().split())\n\nif a == b:\n if b == c:\n print('No')\n else:\n print('Yes')\nelif b == c:\n print('Yes')\nelif c == a:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s642555246', 's963379129']
[2940.0, 3060.0]
[17.0, 17.0]
[192, 193]
p02771
u576917603
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()))\nimport test\ntest.solve(a)', "a=list(map(int,input().split()))\na=set(a)\nif len(a)==2:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s756710409', 's978946379']
[2940.0, 2940.0]
[24.0, 17.0]
[58, 94]
p02771
u577139181
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\nif __name__ == \'__main__\':\n args = sys.argv\n ret="No"\n \n if (args[1] == args[2] || args[2] == args[3] || args[1] == args[3]):\n ret="Yes"\n \n print(ret)', 'import sys\n \nif __name__ == \'__main__\':\n args = sys.argv\n ret="No"\n \n if (args[1] == args[2] | args[2] == args[3] | args[1] == args[3]):\n ret="Yes"\n \n print(ret)', 'import sys\n \nif __name__ == \'__main__\':\n args = sys.argv\n ret="No"\n \n if (args[1] == args[2] or args[2] == args[3] or args[1] == args[3]):\n ret="Yes"\n \n print(ret)\n', 'import sys\n \nif __name__ == \'__main__\':\n args = input().split()\n ret="No"\n if ((args[0] == args[1] or args[0] == args[2] or args[1] == args[2]) and (args[0] != args[1] or args[1] != args[2])):\n ret="Yes"\n \n print(ret)']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s096331750', 's655622001', 's695031787', 's781698993']
[2940.0, 2940.0, 2940.0, 3060.0]
[18.0, 17.0, 18.0, 17.0]
[173, 172, 175, 227]
p02771
u578462133
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 a == c and a != b:\n print("Yes")\nelif b == c and a != b:\n print("Yes")\nese:\n print("No")\n', 'a, b, c = map(int, input().split())\n\nif a == b and a != c:\n print("Yes")\nelif a == c and a != b:\n print("Yes")\nelif b == c and a != b:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s149767949', 's156331672']
[3064.0, 2940.0]
[17.0, 18.0]
[179, 180]
p02771
u579508806
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`.
["num = [x for x in input()]\nans = 0\nif num[0] == num[1]:\n ans = ans + 1\nif num[0] == num[2]:\n ans = ans + 1\nif num[1] == num[2]:\n ans = ans + 1\n\nif ans == 1:\n print('Yes')\nelse:\n print('No')", "num = [x for x in input().split()]\nprint(num)\nans = 0\nif num[0] == num[1]:\n ans = ans + 1\nif num[0] == num[2]:\n ans = ans + 1\nif num[1] == num[2]:\n ans = ans + 1\n\nif ans == 1:\n print('Yes')\nelse:\n print('No')\n", "num = [x for x in input().split()]\nans = 0\nif num[0] == num[1]:\n ans = ans + 1\nif num[0] == num[2]:\n ans = ans + 1\nif num[1] == num[2]:\n ans = ans + 1\n\nif ans == 1:\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s467023460', 's511355597', 's907069430']
[3060.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0]
[194, 214, 203]
p02771
u581403769
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 if a == c:\n print('No')\n else:\n print('Yes')\nelse:\n if b == c:\n print('Yes')\n else:\n print('No')", "a, b, c = map(int, input().split())\n\nif a == b:\n if a == c:\n print('No')\n else:\n print('Yes')\nelse:\n if b == c or a == c:\n print('Yes')\n else:\n print('No')\n"]
['Wrong Answer', 'Accepted']
['s826705523', 's714078456']
[9160.0, 9012.0]
[27.0, 24.0]
[185, 196]
p02771
u583455650
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')", "print('Yes' if len(set(input().split())) == 2 else 'No')"]
['Wrong Answer', 'Accepted']
['s535948016', 's208194556']
[2940.0, 2940.0]
[17.0, 17.0]
[75, 56]
p02771
u583507988
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(input(A,B,C))\n\nif A==B and A/=C:\n print('Yes')\nelif A==C and A/=B:\n print('Yes')\nelif B==C and A/=B:\n print('Yes')\nelse:\n print('No')\n ", "a, b, c = map(int, input().split())\n\nif a == b and a == c:\n print('No')\nelif a != b and a != c and b!= c:\n print('No')\nelse:\n print('Yes')"]
['Runtime Error', 'Accepted']
['s617426108', 's972223461']
[2940.0, 3060.0]
[17.0, 17.0]
[146, 141]
p02771
u586662847
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 resolve():\n A, B, C = map(int, input().split())\n\n if A == B and B == C:\n print('No')\n return\n\n if A != B and B != C:\n print('No')\n return\n\n print('Yes')\n\n\nresolve()\n", "def resolve():\n A, B, C = map(int, input().split())\n\n if A == B and B == C:\n print('No')\n return\n\n if A == B or B == C:\n print('Yes')\n return\n\n print('No')\n\n\nresolve()\n", "def resolve():\n A, B, C = map(int, input().split())\n\n if A == B and B == C:\n print('No')\n return\n\n if A != B and B != C:\n print('No')\n return\n\n if A < 10 and B < 10 and C < 10:\n print('Yes')\n return\n\n print('No')\n\n\nresolve()\n", "def resolve():\n A, B, C = map(int, input().split())\n\n if A == B and B == C:\n print('No')\n return\n\n if A == B or B == C or A == C:\n print('Yes')\n return\n\n print('No')\n \n\nresolve()"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s245638037', 's399767521', 's651646317', 's734563914']
[2940.0, 3068.0, 2940.0, 3064.0]
[17.0, 18.0, 17.0, 19.0]
[209, 208, 282, 221]
p02771
u589381719
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())\nprint("Yes" if len(set(A))==1 else "No" )', 'A = map(int,input().split())\nprint("Yes" if len(set(A))==2 else "No" )']
['Wrong Answer', 'Accepted']
['s462612851', 's090835031']
[2940.0, 2940.0]
[17.0, 17.0]
[70, 70]