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
u237601489
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 != c :\n print("Yes")\nelif b = c != a :\n print("Yes")\nelif a = c != b :\n print("Yes")\nelse :\n print("No")', 'a,b,c = int(input().split())\nif a == b != c :\n print("Yes")\nelif b == c != a :\n print("Yes")\nelif a == c != b :\n print("Yes")\nelse :\n print("No")\n', 'a,b,c = int(input().split())\nif a == b != c :\n print("Yes")\nelif b == c != a :\n print("Yes")\nelif a == c != b :\n print("Yes")\nelse :\n print("No")\n', 'a,b,c = map(int,input().split())\nif a == b != c :\n print("Yes")\nelif b == c != a :\n print("Yes")\nelif a == c != b :\n print("Yes")\nelse :\n print("No")\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s474464151', 's514684459', 's916210194', 's873718078']
[2940.0, 2940.0, 2940.0, 3060.0]
[18.0, 17.0, 17.0, 18.0]
[154, 158, 158, 162]
p02771
u238084414
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 and B != C:\n print("Yes")\nelif A == B and A != C and B == C:\n print("Yes")\nelif A != B and A == C and B == C:\n print("Yes")\nelse:\n print("No")', 'A, B, C = map(int, input().split())\n\nif A == B and A != C and B != C:\n print("Yes")\nelif A != B and A == C and B != C:\n print("Yes")\nelif A != B and A != C and B == C:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s437129532', 's429511223']
[3060.0, 3060.0]
[17.0, 17.0]
[204, 204]
p02771
u239253654
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 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) or (A == B and B != C) or (A == C and B != C):\n print("YES")\nelse:\n print("NO")\n', 'A, B, C = map(int, input().split())\n\nif (A == B == C) or (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) or (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) or (A == B and B != C):\n print("YES")\nelse:\n print("NO")\n\n', 'A, B, C = map(int, input().split())\n\nif (A == B == C) or (A != B and B != C and A != C):\n print("No")\nelse:\n print("Yes")\n']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s217555574', 's346741482', 's713362133', 's788257338', 's855928970', 's350299667']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0, 17.0, 17.0, 18.0]
[134, 146, 128, 134, 124, 128]
p02771
u239653493
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 = []\nfor j in range(N):\n S.append(input())\nfrom collections import Counter\nS2=collections.Counter(S)\nS1=S2.most_common()\n\nS3=[]\nS3.append(S1[0][0])\nfor i in range(1,len(S1)):\n if S1[i][1]==S1[0][1]:\n S3.append(S1[i][0])\n else:\n break\nS3=' '.join(sorted(S3))\nprint(S3)", '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!=b:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s941341150', 's828153217']
[3064.0, 3060.0]
[17.0, 18.0]
[307, 165]
p02771
u239772565
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\tprint("Yes")\nelse:\n\tprint("No")\n', 'A,B,C=map(int,input().split())\nif A==B and A!=C:\n\tprint("Yes")\nelif A==C and B!=C:\n\tprint("Yes")\nelif B==C and A!=B:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s493342228', 's542970081']
[2940.0, 2940.0]
[17.0, 17.0]
[82, 156]
p02771
u240292623
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()\n_list = input().split(" ")\n_list = [int(x) for x in _list]\neven = [x for x in _list if x % 2 == 0]\nanswer = []\nfor x in even:\n if x % 3 == 0 or x % 5 == 0:\n answer.append(True)\nif len(even) == len(answer):\n print("APPROVED")\nelse:\n print("DENIED")', 'n = input()\n_list = input().split(" ")\n_list = [int(x) for x in _list]\neven = [x for x in _list if x % 2==0]\nanswer = []\nfor x in even:\n if x % 3 == 0 or x % 5 == 0:\n answer.append(True)\nif len(even) ==len(answer):\n print("APPROVED")\nelse:\n print("DENIED")', "x, y, z = input().split()\nif x == y != z or x == z != y or x != y == z:\n print('Yes')\nelse:\n print('No')\n "]
['Runtime Error', 'Runtime Error', 'Accepted']
['s554266244', 's629874603', 's821954228']
[3064.0, 3064.0, 2940.0]
[18.0, 18.0, 17.0]
[275, 272, 115]
p02771
u243061947
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 PoorOrnot(number_list):\n number_dict = {}\n for num in number_list:\n if num not in number_dict:\n number_dict[num] = 1\n if len(number_dict) == 2:\n return "Yes"\n else:\n return "No"\n \nnumber_list = list[map(int, input().split())]\nprint (PooeOrNot(number_list))', 'def PoorOrNot(number_list):\n number_dict = {}\n for num in number_list:\n if num not in number_dict:\n number_dict[num] = 1\n if len(number_dict) == 2:\n return "Yes"\n else:\n return "No"\n \nnumber_list = list[map(int, input().split())]\nprint (PooeOrNot(number_list))', 'def PoorOrNot(number_list):\n number_dict = {}\n for num in number_list:\n if num not in number_dict:\n number_dict[num] = 1\n if len(number_dict) == 2:\n return "Yes"\n else:\n return "No"\n \nnumber_list = list[map(int, input().split())]\nprint (PoorOrNot(number_list))', 'def PoorOrNot(number_list):\n number_dict = {}\n for num in number_list:\n if num not in number_dict:\n number_dict[num] = 1\n if len(number_dict) == 2:\n return "Yes"\n else:\n return "No"\n \nnumber_list = list(map(int, input().split()))\nprint (PoorOrNot(number_list))']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s127475821', 's639562612', 's911337985', 's282042911']
[2940.0, 3060.0, 3060.0, 3064.0]
[17.0, 17.0, 17.0, 17.0]
[279, 279, 279, 279]
p02771
u243312682
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 main():\n a, b, c = map(int, input().split())\n if a == b == c:\n print('No')\n elif a != b != c:\n print('No')\n else:\n print('Yes')\n \nif __name__ == '__main__':\n main()", "def main():\n a, b, c = map(int, input().split())\n if a == b == c:\n print('No')\n elif a != b and b != c and c != a:\n print('No')\n else:\n print('Yes')\n \nif __name__ == '__main__':\n main()"]
['Wrong Answer', 'Accepted']
['s763502074', 's153464948']
[9028.0, 9076.0]
[28.0, 33.0]
[211, 228]
p02771
u243572357
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(list(map(int, input().split())))\nprint('yes' if len(a) == 2 else 'no')", "a = set(list(map(int, input().split())))\nprint('Yes' if len(a) == 2 else 'No')"]
['Wrong Answer', 'Accepted']
['s478298584', 's588362990']
[2940.0, 2940.0]
[18.0, 19.0]
[78, 78]
p02771
u244656600
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`.
['z,y,x=(int(x) for x in input().split())\nif z == y:\n if y ==x:\n return "No"\n else:\n return "Yes"\nelse:\n if z ==x:\n return "Yes"\n else:\n if y == x:\n return "Yes"\n else:\n return "No"\n', 'x,y,z=(input().split(" "))\nif z == y:\n if y ==x:\n return("No")\n else:\n return("Yes")\nelse:\n if z ==x:\n return("Yes")\n else:\n if y == x:\n return("Yes")\n else:\n return("No")\n', 'x,y,z=(input().split(" "))\nif z == y:\n if y == x:\n return "No"\n else:\n return "Yes"\nelse:\n if z == x:\n return "Yes"\n else:\n if y == x:\n return "Yes"\n else:\n return "No"\n', 'z,y,x=(int(x) for x in input().split())\nif z == y:\n if y ==x:\n return "No"\n else:\n return "Yes"\nelse:\n if z ==x:\n return "Yes"\n else:\n if y == x:\n return "Yes"\n else:\n return "No"', 'x,y,z=(input().split(" "))\nif z == y:\n if y ==x:\n return "No"\n else:\n return "Yes"\nelse:\n if z ==x:\n return "Yes"\n else:\n if y == x:\n return "Yes"\n else:\n return "No"\n', 'x,y,z=(input().split(" "))\nif z == y:\n if y ==x:\n print("No")\n else:\n print("Yes")\nelse:\n if z ==x:\n print("Yes")\n else:\n if y == x:\n print("Yes")\n else:\n \n print("No")\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s033589484', 's084640917', 's180908040', 's464270286', 's726920481', 's862241066']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3064.0]
[18.0, 18.0, 17.0, 18.0, 17.0, 17.0]
[209, 201, 198, 208, 196, 203]
p02771
u245960901
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()))\nif len(list(set(s))) == 1 or len(list(set(s))) == 3:\n print('NO')\nelse:\n print('Yes')\nprint(set(s))", "s = list(map(int, input().split()))\nif len(list(set(s))) == 1 or len(list(set(s))) == 3:\n print('No')\nelse:\n print('Yes')"]
['Wrong Answer', 'Accepted']
['s028746523', 's492367919']
[2940.0, 2940.0]
[17.0, 18.0]
[141, 127]
p02771
u246372582
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 if a==B==C:\n print("No")\n else :\n print("Yes")\n\nelse :\n print("No")', 'a,b,c=map(int,input().split())\nif (a==b or b==c or c==a) :\n if a==b==c:\n print("No")\n else :\n print("Yes")\n\nelse :\n print("No")\n']
['Runtime Error', 'Accepted']
['s915484257', 's448324050']
[2940.0, 2940.0]
[17.0, 17.0]
[138, 139]
p02771
u250828304
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:\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 b == c:\n if b != a:\n print(\'yes\')\n else:\n print("no")\nelse:\n print("no")\n', 'a,b,c=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 b == c:\n if b != a:\n print(\'yes\')\n else:\n print("no")\nelse:\n print("no")\n', 'a,b,c=int(input().splot())\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")\nelse:\n print("no")\n', 'a,b,c=int(input().splot())\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")\nelse:\n print("no")\n', 'a,b,c=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")\nelse:\n print("no")\n', 'a,b,c=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 b == c:\n if b != a:\n print(\'yes\')\n else:\n print("no")\nelse:\n print("no")\n', 'a,b,c=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 b == c:\n if b != a:\n print(\'Yes\')\n else:\n print("No")\nelse:\n print("No")\n']
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s172878793', 's239001836', 's297771524', 's367537011', 's370501800', 's986200639', 's460313693']
[3060.0, 2940.0, 2940.0, 2940.0, 3064.0, 2940.0, 2940.0]
[18.0, 19.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[297, 279, 206, 205, 200, 279, 279]
p02771
u252511810
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 = int(input())\ny = int(input())\nz = int(input())\nif x == y or y == z or x == z:\n print("Yes")\nelse:\n print("No")', 'x,y,z = input().split()\nif x == y and x == z:\n print("No")\nelif x == y or y == z or x == z:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s545278885', 's203744669']
[2940.0, 2940.0]
[20.0, 18.0]
[120, 133]
p02771
u254622396
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()))\nans = "No"\n\nif a[0] == a[1]:\n if a[0] != a[2]:\n \tans = "Yes"\nelse:\n if a[0] == a[1] or a[1] == a[2]:\n ans = "Yes"\n \nprint(ans)', 'a = list(map(int,input().split()))\nans = "No"\n \nif a[0] == a[1] and a[0] == a[2]:\n ans = "Yes"\n \nprint(ans)', 'a = list(map(int,input().split()))\nans = "No"\n \nif a[0] == a[1]:\n a[0] != a[2]:\n \tans = "Yes"\nelse:\n a[0] == a[2]:\n ans = "Yes"\n \nprint(ans)', 'a = list(map(int,input().split()))\nans = "No"\n\nif a[0] == a[1]:\n if a[0] != a[2]:\n \tans = "Yes"\nelse:\n if a[0] == a[2] or a[1] == a[2]:\n ans = "Yes"\n \nprint(ans)']
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s196641539', 's665697222', 's692556479', 's497369884']
[3060.0, 2940.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0, 17.0]
[171, 109, 150, 171]
p02771
u257084573
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`.
['vA, B, C = map(int, input().split())\n\nif A == B and B != C:\n print("Yes")\nelif B == C and A != B:\n print("Yes")\nelif A == C and A != B:\n print("Yes")\nelse:\n pirnt("No")', 'A, B, C = map(int, input().split())\n\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']
['s332672001', 's071928134']
[3060.0, 2940.0]
[17.0, 18.0]
[180, 163]
p02771
u260216890
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=[]\nfor i in range(n):\n S.append(input())\n\nfrom collections import defaultdict\nd = defaultdict(lambda:0)\n\nfor k in S:\n d[str(k)]+=1\n\nansn=max(d.values())\nans=[]\nfor i in set(S):\n if d[i]==ansn:\n ans.append(i)\n\nans=sorted(ans)\nfor i in range(len(ans)):\n print(ans[i])\n', "a,b,c=map(int, input().split()) \nx=len(set([a,b,c]))\nif x==2:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s916863075', 's682024363']
[3060.0, 3060.0]
[18.0, 19.0]
[302, 101]
p02771
u272279638
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(map(int,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')", "a,b,c=input(map(int,split()))\nif a==b==c:\n print('No')\nelif a!=b and b!=c and c!=a:\n print('No')\nelse:\n print('Yes')", "a,b,c=map(int,input().split())\n\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\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s606328042', 's861803750', 's563624243']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[134, 119, 138]
p02771
u272457181
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 print('Yes')\nelif C == B and C != A:\n print('Yes')\nelif A == C and C != B:\n print('Yes')\nelse('No')\n", "A, B, C = map(int,input().split())\nif A = B and B != C:\n print('Yes')\nelif C = B and C != A:\n print('Yes')\nelif A = C and C != B:\n print('Yes')\nelse('No')", "\nA, B, C = map(int,input().split())\nif A == B and B != C:\n print('Yes')\nelif C == B and C != A:\n print('Yes')\nelif A == C and C != B:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s365146280', 's669748637', 's406306655']
[8892.0, 8908.0, 9072.0]
[20.0, 25.0, 27.0]
[167, 163, 170]
p02771
u273186459
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=[]\nl.append(a)\nl.append(b)\nl.append(c)\n\na=set(l)\nif len(a)==1:\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 b==c and a!=b:\n print('Yes')\nelse :\n print('No')"]
['Wrong Answer', 'Accepted']
['s607255403', 's699941939']
[9184.0, 9176.0]
[23.0, 22.0]
[131, 155]
p02771
u274080981
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("No")\nelse:\n if a!=b & a!=c:\n print("No")\n else:\n print("Yes")\n ', '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 a==c:\n print("Yes")\n else:\n if b==c:\n print("Yes")\n else:\n print("No")\n ']
['Wrong Answer', 'Accepted']
['s929296385', 's993920116']
[2940.0, 2940.0]
[17.0, 18.0]
[127, 195]
p02771
u275145490
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`.
["read = lambda: map(int, input().split())\na, b, c = read()\nprint('Yes' if set((a, b, c)) == 2 else 'No')", "read = lambda: map(int, input().split())\na, b, c = read()\nprint('Yes' if len(set((a, b, c))) == 2 else 'No')\n"]
['Wrong Answer', 'Accepted']
['s516019227', 's754029691']
[2940.0, 2940.0]
[17.0, 17.0]
[103, 109]
p02771
u276686572
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())\n\nans = "No"\n\nif (a == b or a== c or b == c) and not (a==b==c): ans = "Yes"\n \nprint(ans)', 'a,b,c = map(int, input().split())\n\nans = "No"\n\nif (a == b or a== c or b == c) and not (a==b==c): ans = "Yes"\n \nprint(ans)\n']
['Runtime Error', 'Accepted']
['s476470387', 's025074396']
[9112.0, 9152.0]
[28.0, 30.0]
[114, 123]
p02771
u277920185
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(input().split())\nif a == b or a == c:\n if b != c:\n print('Yes')\n else:\n print('No')\nelif b == c:\n print('Yes')\n\n", "a,b,c = map(int,input().split())\nif a == b:\n if a != c and b !=c:\n print('Yes')\n else:\n print('No')\nelif a == c:\n if a != b and c != b:\n print('Yes')\n else:\n print('No')\nelif b == c:\n if b != a and c != a:\n print('Yes')\n else:\n print('No')\nelif a == b == c:\n print('No')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s413323989', 's618536156']
[2940.0, 3060.0]
[18.0, 17.0]
[147, 315]
p02771
u280853184
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 = 0\nif A==B:\n ans = ans+1\nif B==C:\n ans=ans+1\nif A==C:\n ans=ans+1\nif ans==3:\n print("Yes")\nelse:\n print("No")', 'A,B,C=map(int,input().split())\nans = 0\nif A==B:\n ans = ans+1\nif B==C:\n ans=ans+1\nif A==C:\n ans=ans+1\nif ans==3 or ans==0:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s643587612', 's508910524']
[2940.0, 2940.0]
[17.0, 17.0]
[149, 159]
p02771
u283852107
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 \nline = [l for l in sys.stdin][0]\ndigits = line.split(' ')\nnum = [int(s) for s in digits]\n \nres = 'No'\nif num[0] == num[1]:\n if num[0] != num[2]:\n res = 'Yes'\n \nif num[1] == num[2]:\n if num[1] != num[0]:\n res = 'Yes'\nprint(res)", "import sys\n\nline = sys.argv[1]\ndigits = line.split(' ')\nnums = [int(s) for s in digits]\n\nres = 'No'\nif num[0] == num[1]:\n if num[0] != num[2]:\n res = 'Yes'\n \nif num[1] == num[2]:\n if num[1] != num[0]:\n res = 'Yes'\n \nif num[2] == num[0]:\n if num[2] != num[1]:\n res = 'Yes'\nreturn res", "import sys\n \nline = [l for l in sys.stdin][0]\ndigits = line.split(' ')\nnum = [int(s) for s in digits]\n \nres = 'No'\nif num[0] == num[1]:\n if num[0] != num[2]:\n res = 'Yes'\n \nif num[1] == num[2]:\n if num[1] != num[0]:\n res = 'Yes'\n\nif num[2] == num[1]:\n if num[2] != num[0]:\n res = 'Yes'\n \nprint(res)\n", "import sys\n \nline = [l for l in sys.stdin][0]\ndigits = line.split(' ')\nnum = [int(s) for s in digits]\n \nres = 'No'\nif num[0] == num[1]:\n if num[0] != num[2]:\n res = 'Yes'\n \nif num[1] == num[2]:\n if num[1] != num[0]:\n res = 'Yes'\n\nif num[2] == num[0]:\n if num[2] != num[1]:\n res = 'Yes'\n \nprint(res)\n"]
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s332723468', 's461321667', 's808399178', 's809065080']
[3064.0, 3064.0, 3064.0, 3064.0]
[17.0, 17.0, 17.0, 20.0]
[250, 300, 317, 317]
p02771
u288001809
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:\n if a = c:\n print("No")\n else:\n print("Yes")\nelse:\n if a = c:\n print("Yes")\n else:\n print("No")', 'a, b, c =list(map(int, input().split()))\n\nif a == b:\n if a == c:\n print("No")\n else:\n print("Yes")\nelse:\n if a == c:\n print("Yes")\n else:\n if b == c:\n print("Yes")\n else:\n print("No")']
['Runtime Error', 'Accepted']
['s090191359', 's950532833']
[3064.0, 3060.0]
[17.0, 18.0]
[163, 212]
p02771
u288430479
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`.
['\ndata = input().split( )\n\nif (data[0] == data[1] or data[1] == data[2] or\n data[2] ==data[0]) and data[1]!= data[2]!=data[0] :\n print("Yes")\n\nelse:\n print("No")', '\ndata = input().split( )\n\nif (data[0] == data[1] or data[1] == data[2] or\n data[2] ==data[0]) and data[1]!= data[2]!=data[3] :\n print("Yes")\n\nelse:\n print("No")', '\ndata = input().split( )\n\nif (data[0] == data[1] or data[1] == data[2] or\n data[2] ==data[0]) and not data[1]== data[2]==data[0] :\n print("Yes")\n\nelse:\n print("No")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s046773565', 's096043436', 's936363284']
[3060.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0]
[216, 216, 220]
p02771
u288547705
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())\n \nif a == b or a == c or b == c:\n if a == b == c:\n print("no")\n else:\n print("yes")\n \nelse:\n print("no")\n', 'a,b,c=(int(x) for x in input().split())\n\nif a == b or a == c or b == c:\n print(yes)\n \nelse:\n print(no)', 'a,b,c=(int(x) for x in 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")\n \nelse:\n print("No")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s274642876', 's498926906', 's739146702']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[167, 105, 166]
p02771
u290784570
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 or a == c:\n print ('Yes')\nelif b == c:\n print ('Yes')\nelse:\n print ('No')", "a, b, c = (int, raw_input().split())\n \nif a == b or 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 and c != a) or (a == c and b != a):\n print ('Yes')\nelif b == c and a != b:\n print ('Yes')\nelse:\n print ('No')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s038717924', 's353220756', 's652155477']
[3060.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0]
[120, 125, 161]
p02771
u291028869
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('YES')\n else:\n print('NO')\nelse:\n if b != c and a != c:\n print('NO')\n else:\n print('YES')", "a,b,c = map(int,input().split())\n\nif a == b:\n if b != c:\n print('YES')\n else:\n print('NO')\nelse:\n if b != c and a != c:\n print('NO')\n else:\n print('YES')", "a,b,c = map(int,input().split())\n\nif a == b:\n if b != c:\n print('YES')\n else:\n print('NO')\nelse:\n if b != c and a != c:\n print('NO')\n else:\n print('YES')", "a,b,c = map(int,input().split())\n\nif a == b:\n if b != c:\n print('Yes')\n else:\n print('No')\nelse:\n if b == c or a == c:\n print('Yes')\n else:\n print('No')"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s225168083', 's514329393', 's661880035', 's873831554']
[2940.0, 3060.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 18.0]
[169, 169, 169, 168]
p02771
u294376483
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 = a[0]\nB = a[1]\nC = a[2]\n\nif (A == B == C) or (A is not B and B is not C) :\n print("No")\nelse:\n print("Yes")', 'a = list(map(int, input().split()))\nA = a[0]\nB = a[1]\nC = a[2]\n\nif (A == B == C) or (A is not B and B is not C and C is not A) :\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s369040407', 's957751785']
[2940.0, 2940.0]
[18.0, 17.0]
[152, 167]
p02771
u294520705
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().split()\na = set(a)\nprint("YES" if len(a) == 2 else "No")', 'a = input().split()\ncount = 0\nif a[0] == a[1]:\n count = count + 1\nif a[1] == a[2]:\n count = count + 1\nif a[0] == a[2]:\n count = count + 1\nprint("Yes" if count == 2 else "No")', 'a = input().split()\na = set(a)\n"Yes" if len(a) == 2 else "No"', 'a = input().split()\ncount = 0\nif a[0] == a[1]:\n count = count + 1\nif a[1] == a[2]:\n count = count + 1\nif a[0] == a[2]:\n count = count + 1\nif count == 1:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s253359658', 's700774597', 's735764205', 's206297193']
[2940.0, 2940.0, 2940.0, 3060.0]
[18.0, 17.0, 17.0, 17.0]
[68, 183, 61, 200]
p02771
u295294832
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`.
['W= [int(x) for x in input().split()]\nprint("Yes" if len(set(W) ==2 else "No") ', 'W= [int(x) for x in input().split()]\nprint("Yes" if len(set(W)) ==2 else "No")']
['Runtime Error', 'Accepted']
['s534225352', 's607959513']
[2940.0, 2940.0]
[17.0, 17.0]
[78, 78]
p02771
u295792161
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\nnum=set(input_line)\n\nif num==2:\n print('Yes')\nelse:\n print('No')", "input_line = input().split(' ')\n\nnum=set(input_line)\n\nif len(num)==2:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s283655132', 's652757530']
[2940.0, 2940.0]
[17.0, 17.0]
[99, 104]
p02771
u296518383
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 = sorted(A)\n\nif A[0] == A[1] and A[1] != A[2]:\n print("Yes")\nelif A[0] != A[1] and A[1] == A[2]:\n print("Yes")\nelse\n print("No")\n', 'A = list(map(int, input().split()))\n\nif A[0] == A[1] != A[2]:\n print("Yes")\n exit()\n\nif A[1] == A[2] != A[0]:\n print("Yes")\n exit()\n\nif A[2] == A[0] != A[1]:\n print("Yes")\n exit()\n\nprint("No")']
['Runtime Error', 'Accepted']
['s141768815', 's320483162']
[2940.0, 3060.0]
[17.0, 17.0]
[176, 210]
p02771
u296989351
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()))\nif len(set(a)) == 2:\n print('Yes')\nelse:\n print('No')", "a = list(map(int, input().split()))\nif len(set(a)) == 2:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s503896032', 's014017256']
[2940.0, 2940.0]
[17.0, 17.0]
[102, 95]
p02771
u303739137
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')\n", "return 'No'", 'n = int(input())\nnums = [int(i) for i in input().split(" ")]\n\napproved = True\nfor num in nums:\n if num%2 == 0:\n approved = (num%3 == 0) or (num%5 == 0)\nif approved:\n print(\'APPROVED\')\nelse:\n print(\'DENIED\')\n ', "a, b, c = map(int, input().split())\n\nif (a == b) and (b == c):\n print('No')\nelif (a == b) or (b == c):\n print('Yes')\nelse:\n print('No')\n ", "a, b, c = map(int, input().split())\n\nif (a == b) & (b == c):\n print('No')\nif (a == b) | (b == c):\n print('Yes')\nprint('No')\n ", "a, b, c = map(int, input().split())\n\nif (a == b) and (b == c):\n print('No')\nif (a == b) or (b == c):\n print('Yes')\nelse:\n print('No')\n ", "a, b, c = map(int, input().split())\n\nif (a == b) and (b == c):\n print('No')\n return\nelif (a == b) or (b == c):\n print('Yes')\n return\nelse:\n print('No')\n ", "a, b, c = map(int, input().split())\n\nif (a == b) & (b == c):\n\tprint('no')\n\nif (a == b) | (b == c):\n\tprint('yes')\n\nprint('no')\n ", 'n = int(input())\nnums = [int(i) for i in input().split(" ")]\n\napproved = True\nfor num in nums:\n if num%2 == 0:\n approved = (num%3 == 0) | (num%5 == 0)\nif approved:\n print(\'APPROVED\')\nelse:\n print(\'DENIED\')\n ', 'n = int(input())\nnums = [int(i) for i in input().split(" ")]\n\napproved = True\nfor num in nums:\n if num%2 == 0:\n approved = (num%3 == 0) or (num%5 == 0)\nif approved:\n print(\'APPROVED\')\nelse:\n print(\'DENIED\')\n ', "a, b, c = map(int, input().split())\n\nif (a == b) and (b == c):\n print('No')\nelif (a == b) or (b == c) or (a == c):\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s343813398', 's344774145', 's417677199', 's502617383', 's513722147', 's527372097', 's529193122', 's644917498', 's746612404', 's756517650', 's790666239']
[2940.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, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[12, 11, 215, 141, 128, 139, 159, 130, 214, 215, 151]
p02771
u305534505
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 main():\n n = int(input())\n S = sorted([input() for s in range(n)])\n D = list(set(S))\n count = []*len(D)\n for i in range(len(D)):\n count[i] = S.count(D[i])\n maxi = max(count)\n for i in range(len(D)):\n if(count[i]==maxi):\n print(D[i])\nmain()', 'def main():\n a = set(map(int,input().split()))\n if (len(a)==2):\n print("Yes")\n else:\n print("No")\nmain()']
['Runtime Error', 'Accepted']
['s475538671', 's899778507']
[3060.0, 2940.0]
[17.0, 18.0]
[289, 127]
p02771
u307418002
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 main():\n n =int( input())\n sn=[]\n \n for i in range(n):\n inWord = str(input())\n addFlag = True\n for s in sn:\n if s["word"] == inWord and len(sn) !=0:\n s["count"]+=1\n addFlag = False\n break\n if addFlag ==True:\n sn.append( {"word":inWord,"count":1})\n \n a= sorted(sn, reverse=True,key=lambda x:x[\'count\'])\n\n most = a[0]["count"]\n mostWords=[]\n for elm in a:\n if elm["count"] == most:\n mostWords.append(elm["word"])\n mostWords.sort()\n for elm in mostWords:\n print(elm)\n return\nmain()\n\n', 'def main():\n n =int( input())\n sn=[]\n for i in range(n):\n \n inWord = str(input())\n addFlag = True\n for s in sn:\n if s["word"] == inWord and len(sn) !=0:\n s["count"]+=1\n addFlag = False\n break\n if addFlag ==True:\n sn.append( {"word":inWord,"count":1})\n \n a= sorted(sn, reverse=True,key=lambda x:x[\'count\'])\n most = a[0]["count"]\n\n mostWords=[]\n for elm in a:\n if elm["count"] == most:\n mostWords.append(elm["word"])\n \n mostWords.sort()\n for elm in mostWords:\n print(elm)\n return\nmain()\n\n', '\ndef main():\n A, B, C = map(int, input().split())\n if A == B:\n if B==C:\n print("No")\n else:\n print(\'Yes\')\n else:\n if B!=C:\n print(\'No\')\n else :\n print("Yes")\nmain()\n\n', '\ndef main():\n n =int( input())\n sn=[]\n for i in range(n):\n \n inWord = str(input())\n addFlag = True\n for s in sn:\n if s["word"] == inWord and len(sn) !=0:\n s["count"]+=1\n addFlag = False\n break\n if addFlag ==True:\n sn.append( {"word":inWord,"count":1})\n \n a= sorted(sn, reverse=True,key=lambda x:x[\'count\'])\n most = a[0]["count"]\n\n mostWords=[]\n for elm in a:\n if elm["count"] == most:\n mostWords.append(elm["word"])\n else :\n break\n \n mostWords.sort()\n\n for elm in mostWords:\n print(elm)\n return\n\nmain()\n\n', "def main():\n inNum = map(int,input().split())\n A=inNum[0]\n B=inNum[1]\n C=inNum[2]\n if A == B:\n if B==C:\n print('No')\n else:\n print('Yes')\n else:\n print('Yes')\n\nmain()", '\ndef main():\n A, B, C = map(int, input().split())\n if A == B:\n if B==C:\n print("No")\n else:\n print(\'Yes\')\n else:\n if B==C:\n print(\'Yes\')\n else :\n if C==A:\n print("No")\n else :\n print("Yes")\nmain()\n\n', '\ndef main():\n n =int( input())\n sn=[]\n for i in range(n):\n \n inWord = str(input())\n addFlag = True\n for s in sn:\n if s["word"] == inWord and len(sn) !=0:\n s["count"]+=1\n addFlag = False\n break\n if addFlag ==True:\n sn.append( {"word":inWord,"count":1})\n \n a= sorted(sn, reverse=True,key=lambda x:x[\'count\'])\n most = a[0]["count"]\n\n mostWords=[]\n for elm in a:\n if elm["count"] == most:\n mostWords.append(elm["word"])\n mostWords.sort()\n\n for elm in mostWords:\n print(elm)\n return\n\nmain()\n\n', '\ndef main():\n n =int( input())\n sn=[]\n for i in range(n):\n \n inWord = str(input())\n addFlag = True\n for s in sn:\n if s["word"] == inWord and len(sn) !=0:\n s["count"]+=1\n addFlag = False\n break\n if addFlag ==True:\n sn.append( {"word":inWord,"count":1})\n \n a= sorted(sn, reverse=True,key=lambda x:x[\'count\'])\n most = a[0]["count"]\n\n mostWords=[]\n for elm in a:\n if elm["count"] == most:\n mostWords.append(elm["word"])\n else:\n break\n \n mostWords.sort()\n\n for elm in mostWords:\n print(elm)\n return\n\nmain()\n\n', '\ndef main():\n A, B, C = map(int, input().split())\n if A == B:\n if B==C:\n print("No")\n else:\n print(\'Yes\')\n else:\n if B==C:\n print(\'Yes\')\n else :\n if C==A:\n print("Yes")\n else :\n print("No")\nmain()\n\n']
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s047992620', 's084580812', 's314436238', 's426993010', 's516632669', 's669378875', 's793275441', 's978495002', 's531368090']
[3064.0, 3064.0, 2940.0, 3064.0, 2940.0, 2940.0, 3064.0, 3064.0, 2940.0]
[18.0, 18.0, 19.0, 18.0, 17.0, 17.0, 18.0, 18.0, 17.0]
[640, 657, 247, 693, 227, 320, 651, 692, 320]
p02771
u309018392
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\tprint('No')\n\nelse :\n\tprint('Yes')", "A, B, C = map(int,input().split())\n\nif A == B and A != C :\n\tprint('Yes')\n\nelif B == C and A != C :\n\tprint('Yes')\n\nelif A == C and B != A :\n\tprint('Yes')\n\nelse : \n\tprint('No')"]
['Wrong Answer', 'Accepted']
['s034488290', 's933749950']
[2940.0, 3060.0]
[19.0, 17.0]
[102, 174]
p02771
u309423187
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()))\n\nif len(set(a)) =< 2:\n print('Yes')\nelse:\n print('No')\n ", "a = list(map(int, input().split()))\n\nif len(set(a)) = 2:\n print('Yes')\nelse:\n print('No')\n \n", "a = list(map(int, input().split()))\n\nif set(len(a)) == 2:\n print('Yes')\n\nelse:\n print('No')\n \n", "a = list(map(int, input().split()))\n\nif len(set(a)) == 2:\n print('Yes')\nelse:\n print('No')\n \n"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s673626173', 's719815592', 's950313375', 's820747454']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[95, 95, 97, 96]
p02771
u312078744
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 print(\'Yes")\nelif (b==c) and (c!=a):\n print(\'Yes")\nelif (a==c) and (c!=b):\n print(\'Yes")\nelse:\n print(\'No\')\n', "a, b, c = map(int, input().split())\nif (a==b) and (b!=c):\n print('Yes')\nelif (b==c) and (c!=a):\n print('Yes')\nelif (a==c) and (c!=b):\n print('Yes')\nelse:\n print('No')\n"]
['Runtime Error', 'Accepted']
['s526844922', 's307781429']
[2940.0, 2940.0]
[17.0, 17.0]
[171, 171]
p02771
u312666261
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`.
["alist = list(map(int,input().split()))\n\nalist.sort()\nif alist[0] == alist[1] and alist[1] > alist[2]:\n print('Yes')\nelse:\n print('No')", "alist = list(map(int,input().split()))\n\nalist.sort()\nif alist[0] == alist[1] and not alist[1] == alist[2]:\n print('Yes')\nelif alist[1] == alist[2] and not alist[0] == alist[1]:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s797543698', 's399714449']
[2940.0, 3060.0]
[18.0, 17.0]
[140, 218]
p02771
u315600877
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 and B==C:\n print("No")\nelif:A==B or B==C or C==A:\n print("Yes")\nelse:\n print("No")\n ', 'A,B,C=input().split()\nif A==B and B==C:\n print("No")\nelif A==B or B==C or C==A:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s717289582', 's032294529']
[2940.0, 2940.0]
[16.0, 17.0]
[120, 117]
p02771
u318296597
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")\nelif (B == C) and (C != A) :\n print("yes")\nelif (C == A) and (A != B) :\n print("yes")\nelse :\n 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")']
['Wrong Answer', 'Accepted']
['s011025289', 's274452138']
[3060.0, 3064.0]
[18.0, 18.0]
[192, 236]
p02771
u318909153
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()\nA = list(map(str, input().split()))\nB=[]\nC=[]\nl=[]\nm=[]\ni=0\nfor a in range(int(N)):\n if int(A[a])%2==0:\n B.append(A[a])\n i=i+1\nfor a in range(int(i)):\n if not int(B[a])%3==0 or int(B[a])%5==0:\n C=1\n else:\n C=0\nif C==1:\n print("DENIED")\nelse:\n print("APPROVED")', "A = list(map(str, input().split()))\nm=set(A)\ns=len(m)\nif s==2:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s634368600', 's337431457']
[3064.0, 2940.0]
[18.0, 18.0]
[309, 97]
p02771
u321096814
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 -*-\n\n\n\nimport math\na, b, c = map(int, input().split())\nif a == b and a != c and b != c:\n print('Yes')\nelif a == c and a != b and b != b:\n print('Yes')\nelif c == b and a != c and b != a:\n print('Yes')\nelse:\n print('No')", "# -*- coding: utf-8 -*-\n\n\n\nimport math\na, b, c = map(int, input().split())\nif a == b and a != c and b != c:\n print('Yes')\nelif b == c and a != b and a != c:\n print('Yes')\nelif c == a and a != b and c != b:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s890478746', 's743018513']
[3060.0, 3060.0]
[17.0, 17.0]
[392, 392]
p02771
u323045245
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`.
['box = list(map(int, input().split()))\nif box.count(box[0]) == 2:\n print("No")\nelif box.count(box[1]) == 2:\n print("No")\nelse :\n print("Yes")', 'box = list(map(int, input().split()))\nif box.count(box[0]) == 2:\n print("Yes")\nelif box.count(box[1]) == 2:\n print("Yes")\nelse :\n print("No")\n']
['Wrong Answer', 'Accepted']
['s524654407', 's567462784']
[2940.0, 2940.0]
[17.0, 17.0]
[143, 145]
p02771
u328067859
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`.
['c = list(map(int, input().split()))\n\nif(int(len(set(c)) == 1)):\n print("No")\nelif(len(c) != len(set(c))):\n print("YES")\nelse:\n print("No")', 'c = list(map(int, input().split()))\n\nif(int(len(set(c)) == 1)):\n print("No")\nelif(len(c) != len(set(c))):\n print("YES")\nelse:\n print("YES")', 'c = list(map(int, input().split()))\n\nif(int(len(set(c)) == 1)):\n print("No")\nelif(int(len(set(c)) == 2)):\n print("YES")\nelse:\n print("No")', 'c = list(map(int, input().split()))\n\nif(int(len(set(c)) == 3)):\n print("No")\nelif(int(len(set(c)) == 2)):\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s776249811', 's807780349', 's964446704', 's773221008']
[3060.0, 2940.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0, 17.0]
[147, 148, 147, 147]
p02771
u328755070
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\nhoge = {a, b, c}\n\nif len(hoge) == 2:\n print(Yes)\nelse:\n print(No)', 'a, b, c = list(map(int, input().split()))\n\nhoge = {a, b, c}\n\nif len(hoge) == 2:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s397903276', 's998058156']
[2940.0, 2940.0]
[17.0, 17.0]
[110, 114]
p02771
u330690418
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`.
['array = [int(i) for i in input().split()]\n\nif all(map(lambda i: i == array[0], array)):\n print("No")\nelse:\n if array[0] != array[1] != array[2]:\n print("No")\n else:\n print("Yes")\n', 'a = [int(i) for i in input().split()]\n\nif (a[0] == a[1] == a[2]) or (a[0] != a[1] and a[1] != a[2] and a[0] != a[2]):\n print("No")\nelse:\n print("Yes")\n']
['Wrong Answer', 'Accepted']
['s797448526', 's502001915']
[2940.0, 2940.0]
[17.0, 17.0]
[202, 157]
p02771
u330728443
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())\n\nif A==B and A!=C:\n print("YES")\nelif A==C and A!=B:\n print("YES")\nelif C==B and B!=A:\n print("YES")\nelse :\n print("NO")', 'A,B,C=(int(x) for x in 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 B!=A:\n print("Yes")\nelse :\n print("No")']
['Wrong Answer', 'Accepted']
['s805730348', 's270334562']
[3060.0, 3060.0]
[17.0, 17.0]
[172, 172]
p02771
u330799501
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 = int(input())\n#s = input()\n#a, b = map(int, input().split())\n#l = list(map(int, input().split()))\n\n\nl = list(map(int, input().split()))\nl.sort\n\nif (l[1] != l[2] and l[0] == l[1]):\n print("Yes")\nelse:\n print("No")\n', '#k = int(input())\n#s = input()\n#a, b = map(int, input().split())\n#l = list(map(int, input().split()))\n\n\nl = list(map(int, input().split()))\n\nif (l[0] == l[1] != l[2]):\n print("Yes")\nelif (l[0] == l[2] != l[1]):\n print("Yes")\nelif (l[0] != l[1] == l[2]):\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s979542425', 's214458431']
[9028.0, 9116.0]
[26.0, 27.0]
[223, 299]
p02771
u333546629
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:\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")']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s650573421', 's711959268', 's904454761']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[87, 89, 92]
p02771
u334527558
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()\nif A == B != C :\n print('Yes')\nelif A != B == C :\n print('Yes')\nelif A == C != B :\n print('Yes')\nelse :\n print('No')\n", "i = list(map(int, input().split()))\nA = i[0]\nB = i[1]\nC = i[2]\nif A == B != C :\n print('Yes')\nelif A != B == C :\n print('Yes')\nelif A != C == B :\n print('Yes')\nelse :\n print('No')", "i = list(map(int, input().split()))\nA = i[0]\nB = i[1]\nC = i[2]\nif A == B != C :\n print('Yes')\nelif A != B == C :\n print('Yes')\nelif A == C != B :\n print('Yes')\nelse :\n print('No')"]
['Runtime Error', 'Wrong Answer', 'Accepted']
['s365553233', 's872238621', 's362268591']
[2940.0, 3060.0, 3060.0]
[18.0, 17.0, 17.0]
[157, 183, 183]
p02771
u337626942
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\nN=int(input())\nl=[input() for i in range(N)]\nc=collections.Counter(l)\nc=c.most_common()\nl2=[]\n\nM=c.[0][1]\nfor i in range(N):\n if c.[i][1]==M:\n l2.append(c.[i][0])\n else:\n break\nl2.sort()\nfor j in range(len(l2)):\n print(l2[j])', 'import collections\nN=int(input())\nl=[input() for i in range(N)]\nc=collections.Counter(l)\nc=c.most_common()\nl2=[]\n \nM=c.[0][1]\nfor i in range(N):\n if c.[i][1]==M:\n l2.append(c.[i][0])\n else:\n break\nl2.sort()\nfor j in range(len(l2)):\n print(l2[j])', 'A, B, C=map(int, input().split())\n\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")\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s499280656', 's502463741', 's373587448']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[267, 268, 166]
p02771
u337713602
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 = [int(x) for x in list(input().split()) if int(x)%2 == 0]\nans = "APPROVED"\nfor i in s:\n if i%5 != 0 and i%3 != 0:\n ans = "DENIED"\n pass\nprint(ans)\n', 's = [x for x in list(input())]\nans = "No"\nfor i in range(3):\n tmp = [int(x)/int(s[i]) == 1 for x in s]\n is_poor = 0\n for j in tmp:\n is_poor += j\n if is_poor == 2:\n ans = "Yes"\n pass\nprint(ans)\n', 's = [int(x) for x in list(input())]\nans = "No"\nfor i in range(3):\n tmp = [x/s[i] == 1 for x in s]\n is_poor = 0\n for j in tmp:\n is_poor += j\n if is_poor == 2:\n ans = "Yes"\n pass\nprint(ans)', 's = [x for x in list(input())]\nans = "No"\nfor i in range(3):\n tmp = [int(x)/s[i] == 1 for x in s]\n is_poor = 0\n for j in tmp:\n is_poor += j\n if is_poor == 2:\n ans = "Yes"\n pass\nprint(ans)\n', 's = [int(x) for x in list(input().split())]\nans = "No"\nfor i in range(3):\n tmp = [x/s[i] == 1 for x in s]\n is_poor = 0\n for j in tmp:\n is_poor += j\n if is_poor == 2:\n ans = "Yes"\n pass\nprint(ans)\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s163629026', 's464635198', 's500572664', 's576112826', 's243214348']
[2940.0, 2940.0, 3056.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[174, 206, 200, 201, 209]
p02771
u338488254
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())\nli = list(map(int,input().split()))\n\nfor i in li:\n if i%2 ==0:\n if i%3 != 0 and i%5 != 0:\n print('DENIED')\n break\n else:\n continue\n continue\n print('APPROVED')", "N=int(input())\nli = list(map(int,input().split()))\n\nfor i in li:\n if i%2 ==0:\n if i%3 == 0 or i%5 == 0:\n a\n else:\n print('DENIED')\n break\n print('APPROVED')", "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')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s407583052', 's605347748', 's346131698']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[198, 179, 135]
p02771
u338515910
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())\n\nif (x == y and y != z) or (x==z and y !=z) or (a !=b and b==c)\n print("Yes")\nelse:\n print("No")\n', 'def triple (a,b,c):\n if a == b or a ==c or b == c:\n return "No"\n else:\n return "Yes"', 'x,y,z = map(int, input().split())\n\nif (x == y and y != z) or (x==z and y !=z) or (x !=y and y==z):\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s381699106', 's659182213', 's537264935']
[3064.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[133, 92, 134]
p02771
u343523553
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())\nt = b - a\ny = c - b\nif (t == 0 and y != 0) or (t != 0 and y == 0):\n print("Yes")\nelse:\n print("No")', 'a,b,c = map(int,input().split())\ny = [a,b,c]\nac = y.count(a)\nbc = y.count(b)\ncc = y.count(c)\nif ac == 2 or bc == 2 or cc == 2:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s903027728', 's174816029']
[2940.0, 2940.0]
[17.0, 17.0]
[138, 165]
p02771
u346207191
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()))\n\nif len(set(A))==2:\n print('YES')\nelse:\n print('NO')", "A=list(map(int, input().split()))\n\nif len(set(A))==2:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s595817514', 's158036388']
[2940.0, 2940.0]
[17.0, 17.0]
[92, 92]
p02771
u346424924
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("NO")\nelif a != b and a != c and b != c:\n print("NO")\nelse:\n print("YES")', 'a, b, c = map(int, input().split())\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")']
['Wrong Answer', 'Accepted']
['s887488139', 's646333557']
[2940.0, 2940.0]
[18.0, 20.0]
[147, 147]
p02771
u347920118
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"""\nfrom sys import stdin\nn = int(stdin.readline().rstrip())\ndata = [stdin.readline().rstrip().split() for _ in range(n)]\nprint(data)\nprint(*data, sep=\'\\n\')\n"""\n##################################################################\n\n"""\ns =input()\ns=list(input())\na=int(input())\nx,y = map(int,input().split())\t\nli = input().split()\t\nli = list(map(int,input().split()))\t\nli = input().split(\'T\')\t\n"""\n##################################################################\nx,y,z = map(int,input().split())\t\n\nif (x==y and y==z) or (x!=y and y!=z) :\n print("No")\nelse:\n print("Yes")\n\n \n \n\n\n\n', '\n"""\nfrom sys import stdin\nn = int(stdin.readline().rstrip())\ndata = [stdin.readline().rstrip().split() for _ in range(n)]\nprint(data)\nprint(*data, sep=\'\\n\')\n"""\n##################################################################\n\n"""\ns =input()\ns=list(input())\na=int(input())\nx,y = map(int,input().split())\t\nli = input().split()\t\nli = list(map(int,input().split()))\t\nli = input().split(\'T\')\t\n"""\n##################################################################\nli = input().split()\n#print(li)\nif len(set(li))==2:\n print("Yes")\nelse:\n print("No")\n \n \n\n\n\n']
['Wrong Answer', 'Accepted']
['s464559812', 's251802213']
[2940.0, 2940.0]
[17.0, 17.0]
[735, 711]
p02771
u350578302
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())\n\nif s[0] == s[1] and s[1] == [2] and s[2] == s[0]: \n\tprint("No")\nelse if s[0] != s[1] and s[1] != [2] and s[2] != s[0]:\n\tprint("No")\nelse:\n\tprint("Yes")', 's=list(input())\n\nif s[0] == s[1] and s[1] == [2]:\n\tprint("No")\nelif s[0] != s[1] and s[1] != s[2] and s[2] != s[0]:\n\tprint("No")\nelse:\n\tprint("Yes")', 's=list(input())\n\nif s[0] == s[1] and s[1] == [2] and s[2] == s[0]: \n\tprint("No")\nelif s[0] != s[1] and s[1] != [2] and s[2] != s[0]:\n\tprint("No")\nelse:\n\tprint("Yes")', 's=list(map(int,input().split()))\n\nif s[0] == s[1] == s[2]: \n\tprint("No")\nelif s[0] != s[1] != s[2] != s[0]:\n\tprint("No")\nelse:\n\tprint("Yes")\n']
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s232182356', 's534477913', 's753342049', 's515378318']
[2940.0, 3060.0, 3060.0, 2940.0]
[17.0, 17.0, 18.0, 17.0]
[168, 148, 165, 141]
p02771
u351654473
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 = map(int,input().split())\nif A == B == C:\n print('No')\nelif B == C:\n print('Yes')\nelif A == C:\n print('Yes')\nelif A == B:\n print('Yes')\nelse:\n print('No'", "A, B, C = map(int,input().split())\nif A == B == C:\n print('No')\nelif B == C:\n print('Yes')\nelif A == C:\n print('Yes')\nelif A == B:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s138797280', 's951220610']
[2940.0, 3060.0]
[17.0, 16.0]
[178, 178]
p02771
u353855427
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")', 'ABC = list(map(int,input().split()))\nset_ABC = set(ABC)\nif len(set_ABC) == 2:\n\tprint("Yes")\nelse:\n\tprint("No")']
['Wrong Answer', 'Accepted']
['s991947844', 's762721902']
[2940.0, 2940.0]
[17.0, 20.0]
[124, 110]
p02771
u353919145
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 and B==C:\n print("No")\nelif A != B and B != C:\n print("No")\nelse:\n print("Yes")', 'A,B,C=input().split()\na,b,c=int(A),int(B),int(C)\n\nif a==b and b!=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")']
['Runtime Error', 'Accepted']
['s201082544', 's488144622']
[3060.0, 3060.0]
[17.0, 17.0]
[148, 180]
p02771
u354623416
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`.
['number_1,number_2,number_3= map(int,input().split())\nif number_1 == number_2 and number_1 != number_3 :\n print (\'yes\') \nelif number_1 == number_3 and number_1!= number_2 :\n print (\'yes\')\nelif number_1 != number_2 and number_2== number_3 :\n print (\'yes\')\nelse :\n print ("no")', 'number_1,number_2,number_3= map(int,input().split())\nif number_1 == number_2 and number_1 != number_3 :\n print (\'Yes\') \nelif number_1 == number_3 and number_1!= number_2 :\n print (\'Yes\')\nelif number_1 != number_2 and number_2== number_3 :\n print (\'Yes\')\nelse :\n print ("No")\n \n']
['Wrong Answer', 'Accepted']
['s453218877', 's058863736']
[3060.0, 2940.0]
[17.0, 17.0]
[298, 304]
p02771
u355154595
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)', '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")', '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)', 'a,b,c=input()split()\nif a=b=c:\n print(No)\nelse:\n print(Yes)\n ', 'a,b,c=input().split()\nif a=b=c:\n print(No)\nelse:\n print(Yes)\n \n', 'a,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 ', 'a,b,c=map(int,input().split())\nif a==b and b=c\n print(No)\nelif a!=b and b!=c\n print(No)\nelse:\n print(Yes)', '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")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s011967136', 's526388578', 's654164361', 's774252279', 's793927717', 's807566752', 's958561856', 's663573787']
[2940.0, 3064.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0]
[125, 133, 127, 64, 66, 100, 108, 135]
p02771
u357751375
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:\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 = 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')"]
['Wrong Answer', 'Accepted']
['s667303374', 's744460197']
[3064.0, 2940.0]
[17.0, 17.0]
[152, 136]
p02771
u364541509
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 or A != B and B != C and C != A:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s958884499', 's659921801']
[2940.0, 2940.0]
[17.0, 17.0]
[86, 118]
p02771
u366974168
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 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())\nif a==b and 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")']
['Runtime Error', 'Accepted']
['s001412429', 's072271586']
[2940.0, 2940.0]
[17.0, 17.0]
[126, 169]
p02771
u370217787
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())\ndata = [input() for i in range(N)]\n\ndicdata = collections.Counter(data)\n\nm = max(dicdata.values())\n\nnewdata = [k for k, v in dicdata.items() if v == m]\n\nnewdata.sort()\n\n[print(i) for i in newdata]\n', 'import numpy as np\n\na, b, c = map(int, input().split())\n\nif (a == b or a == c or b == c) and not(a == b == c):\n\tprint("Yes")\nelse:\n\tprint("No")']
['Runtime Error', 'Accepted']
['s507360079', 's170856771']
[3316.0, 21508.0]
[20.0, 645.0]
[234, 143]
p02771
u370657821
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 = sorted(map(int, input().split())) \n\nA_even = [i for i in A if i % 2 == 0]\n\nA_even_35 = [i for i in A_even if i % 3 != 0and i%5!=0]\nif len(A_even_35)==0:\n print("APPROVED")\nelse:\n print("DENIED")', '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")']
['Runtime Error', 'Accepted']
['s713074844', 's204655211']
[3060.0, 2940.0]
[18.0, 18.0]
[217, 131]
p02771
u372102441
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()))\n\nif l[0]==l[1] and l[1]==l[2]:\n print("No")\nelse:\n if l[0] == l[1] or l[2] == l[1]:\n print("Yes")\n else:\n print("No")\n', 'l = list(map(int, input().split()))\n\nif l[0]==l[1] and l[1]==l[2]:\n print("No")\nelse:\n if l[0] == l[1] or l[2] == l[1] or l[2]==l[0]:\n print("Yes")\n else:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s591570919', 's033663631']
[2940.0, 2940.0]
[17.0, 17.0]
[177, 191]
p02771
u372670441
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("No")\nelif A==C and A!=B:\n print("No")\nelif B==C and B !=A:\n print("No")\nelse:\n print("Yes")', ' A,B,C=map(int,input().split())\n if A==B and A !=C:\n print("Yes")\n elif A==C and A!=B:\n print("Yes")\n elif B==C and B !=A:\n print("Yes")\n else:\n print("No")', '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 B !=A:\n\tprint("Yes")\nelse:\n\tprint("No")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s914367634', 's941422895', 's795704833']
[3060.0, 2940.0, 3060.0]
[19.0, 17.0, 17.0]
[161, 199, 151]
p02771
u374018235
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=input()\ny=x.split(" ")\nif y[0] = y[1] :\n if y[0] = y[2]:\n print("No")\n else:\n print("Yes")\nelif y[2] = y[1] :\n print("Yes")', 'x=input()\ny=x.split()\n\nif y[0] == y[1] :\n if y[0] == y[2]:\n print("No")\n else:\n print("Yes")\nelif y[0] == y[2] :\n print("Yes")\nelif y[2] == y[1] :\n print("Yes")\nelse:\n print("No)', 'x=input()\ny=x.split()\nif y[0] = y[1] :\n if y[0] = y[2]:\n print("No")\n else:\n print("Yes")\nelif y[2] = y[1] :\n print("Yes")', 'x=input()\ny=x.split()\n\nif y[0] == y[1] :\n if y[0] == y[2]:\n print("No")\n else:\n print("Yes")\nelif y[0] == y[2] :\n print("Yes")\nelif y[2] == y[1] :\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s671157237', 's913547779', 's938684515', 's685757507']
[2940.0, 2940.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0, 18.0]
[153, 211, 149, 212]
p02771
u374517193
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')\n"]
['Wrong Answer', 'Accepted']
['s312578235', 's952127824']
[2940.0, 2940.0]
[17.0, 17.0]
[107, 97]
p02771
u376270730
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 contest(val):\n a_str, b_str, c_str = val.split(\' \')\n\n a = int(a_str)\n b = int(b_str)\n c = int(c_str)\n\n if a == b & b == c:\n return \'no\'\n elif a == b:\n return \'yes\'\n elif b == c:\n return \'yes\'\n elif a == c:\n return \'yes\'\n else:\n return \'no\'\n\n\nif __name__ == "__main__":\n val = input()\n\n print(contest(val))\n', 'def contest(val):\n a_str, b_str, c_str = val.split(\' \')\n\n a = int(a_str)\n b = int(b_str)\n c = int(c_str)\n\n if a == b & b == c:\n return \'No\'\n elif a == b:\n return \'Yes\'\n elif b == c:\n return \'Yes\'\n elif a == c:\n return \'Yes\'\n else:\n return \'No\'\n\n\nif __name__ == "__main__":\n val = input()\n\n print(contest(val))\n']
['Wrong Answer', 'Accepted']
['s569603652', 's031178034']
[3060.0, 3060.0]
[18.0, 18.0]
[378, 378]
p02771
u385825353
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 or (a != b and b!=c and a!=c):\n print('Yes')\nelse:\n print('No')", "a,b,c = map(int, input().split(' '))\nif a == b == c or (a != b and b!=c and a!=c):\n print('No')\nelse:\n print('Yes')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s362243607', 's970256544', 's283654351']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[91, 121, 121]
p02771
u386944085
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()))\nif i[0]==i[1] and i[0]!=i[2]:\n print('YES')\nelif i[0]==i[2] and i[0]!=i[1]:\n print('YES')\nelif i[1]==i[2] and i[0]!=i[1]:\n print('YES')\nelse:\n print('NO')", "j = int(input())\ni = list(map(int, input().split()))\nl=0\nfor k in range(j):\n if i[k]%2==0:\n if i[k]%3!=0 and i[k]%5!=0:\n print('DENIED')\n l=1\n break\nif l == 0:\n print('APPROVED')", "i = list(map(int, input().split()))\nif i[0]==i[1] and i[0]!=i[2]:\n print('YES')\nelif i[0]==i[2] and i[0]!=i[1]:\n print('YES')\nelif i[1]==i[2] and i[0]!=i[1]:\n print('YES')\nelse:\n print('NO')", "i = list(map(int, input().split()))\nif i[0]==i[1] and i[0]!=i[2]:\n print('Yes')\nelif i[0]==i[2] and i[0]!=i[1]:\n print('Yes')\nelif i[1]==i[2] and i[0]!=i[1]:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s211786186', 's290872690', 's335665034', 's376252503']
[3060.0, 3060.0, 3064.0, 3060.0]
[17.0, 17.0, 17.0, 17.0]
[202, 224, 202, 202]
p02771
u389151317
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 and b != c and a!= c) or (a == b == c):\n print('No')\nelse:\n print('Yes')"]
['Wrong Answer', 'Accepted']
['s420142378', 's741528195']
[2940.0, 2940.0]
[17.0, 17.0]
[101, 121]
p02771
u390883247
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())\nData = list(map(int,input().split()))\nans = True\nfor data in Data:\n if data % 2 == 0:\n if data % 3 == 0 or data % 5 == 0:\n pass\n else:\n ans = False\n break\nif ans:\n print('APPROVED')\nelse:\n print('DENIED')\n", "a,b,c = map(int,input().split())\nans = False\nif a == b and b != c:\n ans = True\nif b == c and c != a:\n ans = True\nif c == a and a != b:\n ans = True\nif ans:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s258205447', 's553119818']
[2940.0, 3060.0]
[17.0, 17.0]
[278, 202]
p02771
u390901183
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']
['s080796014', 's008557455']
[2940.0, 2940.0]
[18.0, 17.0]
[138, 149]
p02771
u392319141
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')", "print('Yes' if len(set(input().split())) == 2 else 'No')\n"]
['Wrong Answer', 'Accepted']
['s916580426', 's180803116']
[2940.0, 2940.0]
[17.0, 17.0]
[11, 57]
p02771
u394352233
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)and not(A=B=C):\n print('Yes')\nelse:\n print('No')", "A,B,C = map(int, input().split())\nif A=B OR B=C OR C=A:\n print('Yes')\nprint('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")\nelse:\n 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 or B=C or C=A:\n print('Yes')\nelse:\n print('No')", "A,B,C = map(int, input().split())\nif A=B or B=C or C=A:\n print('Yes')\nprint('No')", "A,B,C = map(int, input().split())\nif A=B!=C or A!=B=C or B!=C=A:\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 B == C and C != A:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s185560908', 's567527077', 's639323151', 's680826016', 's784151800', 's882090041', 's902156893', 's198886447']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[106, 82, 173, 79, 90, 82, 99, 176]
p02771
u396266329
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 ^ a == 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 (a != b or b != c or a != c):\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s303088566', 's749002335']
[2940.0, 2940.0]
[17.0, 17.0]
[96, 133]
p02771
u403832169
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=input().split()\n\ntmp=sorted(num)\n\nif num[0] == num [1] and num[1] != num[2] :\n print("Yes")\nelif num[1] == num[2] and num[0] != num[1] :\n print("Yes")\nelse:\n print("No") ', 'num=input().split()\n\ntmp=sorted(num)\n\nif tmp[0] == tmp [1] and tmp[1] != tmp[2] :\n print("Yes")\nelif tmp[1] == tmp[2] and tmp[0] != tmp[1] :\n print("Yes")\nelse:\n print("No") ']
['Wrong Answer', 'Accepted']
['s003277952', 's142876748']
[3060.0, 3060.0]
[17.0, 17.0]
[186, 186]
p02771
u404629709
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 ans="Yes"\nelse:\n ans="No"\nprint(ans)', 'a,b,c=map(int,input().split())\nans="No"\nif a==b:\n if b==c:\n ans="No"\n else:\n ans="Yes"\nif b==c:\n if c==a:\n ans="No"\n else:\n ans="Yes"\nif c==a:\n if a==b:\n ans="No"\n else:\n ans="Yes"\nprint(ans)']
['Wrong Answer', 'Accepted']
['s720617303', 's743807548']
[2940.0, 3060.0]
[17.0, 20.0]
[88, 215]
p02771
u406405116
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(' ')\nl = []\nl.append([a,b,c])\nn=len(set(l))\nif n == 2:\n print('Yes')\nelse:\n print('No')\n", "a,b,c = input().split(' ')\nl = []\nl.append(a)\nl.append(b)\nl.append(c)\nl = set(l)\nn=len(l)\nif n == 2:\n print('Yes')\nelse:\n print('No')\n"]
['Runtime Error', 'Accepted']
['s361408335', 's428171612']
[2940.0, 2940.0]
[17.0, 18.0]
[112, 136]
p02771
u406984840
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 math\n\nABC = input().split()\nA = int(ABC[0])\nB = int(ABC[1]) \nC = int(ABC[2])\n\ncount = 0\n\nif A == B:\n count += 1\nif A == C:\n count += 1\nif B == C:\n count += 1\n \nif count == 1:\n print("YES")\nelse:\n print("NO")', "import math\n\nABC = input().split()\nA = int(ABC[0])\nB = int(ABC[1]) \nC = int(ABC[2])\n\ncount = 0\n\nif A == B:\n count += 1\nif A == C:\n count += 1\nif B == C:\n count += 1\n \nif count == 1:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s331353394', 's737284726']
[3060.0, 3064.0]
[18.0, 17.0]
[220, 220]
p02771
u410118019
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(map(int,open(0))))!=2::2])', 'print("YNeos"[len(set(map(int,input().split())))!=2::2])']
['Runtime Error', 'Accepted']
['s619400413', 's681673798']
[2940.0, 2940.0]
[17.0, 17.0]
[48, 56]
p02771
u411302151
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 = input().split()\nprint( "Yes" (len(set(l)) == 2) else "No")', 'l = input().split()\nprint( "Yes" if (len(set(l)) == 2) else "No")\n']
['Runtime Error', 'Accepted']
['s197230080', 's836269820']
[2940.0, 2940.0]
[17.0, 17.0]
[62, 66]
p02771
u411923565
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()\nA = int(A)\nB = int(B)\nC = int(C)\nif A == 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 == C :\n print('No')\nelif A == B :\n print('Yes')\nelif B == C :\n print('Yes')\nelif C == A :\n print('Yes')\nelif A == B == C :\n print('No')\nelse :\n print('No')"]
['Wrong Answer', 'Accepted']
['s097067042', 's101197629']
[8968.0, 9172.0]
[27.0, 25.0]
[113, 241]
p02771
u414050834
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 a!=c and b!=c):\n print('No')\nelse:\n print('Yes')", "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"]
['Runtime Error', 'Accepted']
['s455131396', 's198713937']
[2940.0, 2940.0]
[17.0, 17.0]
[103, 106]
p02771
u416458858
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\nN = (int)(input())\nA = [input() for i in range(N)]\n\nB = Counter(A)\n\n\nmax = [kv for kv in B.items() if kv[1] == max(B.values())]\n\nfor i in reversed(max):\n print(i[0])', 'l = list(map(int, input().split()))\nA = l[0]\nB = l[1]\nC = l[2]\n\nif(A == B):\n if(A != C):\n print("Yes")\n else:\n print("No")\nelse:\n if(A != C):\n if(B == C):\n print("Yes")\n else: print("No")\n else:\n print("Yes")']
['Runtime Error', 'Accepted']
['s118418431', 's293041790']
[3444.0, 3060.0]
[22.0, 17.0]
[200, 266]
p02771
u417365712
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(map(int, inputs[0].split()))) == 2:\n print('Yes')\nelse:\n print('No')", "if len(set(map(int, input().split()))) == 2:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s124916038', 's144416179']
[2940.0, 2940.0]
[17.0, 17.0]
[85, 83]
p02771
u419917326
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:\n print("Yes")\nelse:\n print("No")', 'A,B,C=input().split()\nif len(list(set([A,B,C])))==2:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s082465184', 's205657032']
[2940.0, 2940.0]
[17.0, 17.0]
[72, 91]
p02771
u424035469
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:\n if a == c:\n print("No")\n else:\n print("Yes")\nelif a != b:\n if a == c:\n print("Yes")\n elif b == c:\n print("Yes")\n else:\n print("No")', 's = input().split()\na = int(s[0])\nb = int(s[1])\nc = int(s[2])\n\nif a == b:\n if a == c:\n print("No")\n else:\n print("Yes")\nelif a != b:\n if a == c:\n print("Yes")\n elif b == c:\n print("Yes")\n else:\n print("No")']
['Runtime Error', 'Accepted']
['s653260286', 's399688956']
[3060.0, 3060.0]
[19.0, 17.0]
[245, 256]