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
u078168851
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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([i for i in input().split()])) == 2 else 'No')"]
['Wrong Answer', 'Accepted']
['s900097719', 's426679374']
[9024.0, 9080.0]
[26.0, 29.0]
[88, 69]
p02771
u078316894
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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(' ')))\ncount = 0\nif A == B:\n count += 1\nif A == C:\n count += 1\nif B == C:\n count += 1\nif count == 2:\n print('Yes')\nelse:\n print('No')", "A, B, C = list(map(int, input().split(' ')))\ncount = 0\nif A == B:\n count += 1\nif A == C:\n count += 1\nif B == C:\n count += 1\nif count == 1:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s188439689', 's872630104']
[3060.0, 3060.0]
[17.0, 18.0]
[186, 186]
p02771
u085160642
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
["A = list(map(int, input().split())\nif len(set(A))==1:\n print('No')\nelif len(set(A)) == 2:\n print('Yes')\nelse:\n print('No')", "a,b,c = map(int, input().split())\nA = [a,b,c]\nif len(set(A)) == 1 or len(set(A)) == 3:\n print('No')\nelse:\n print('Yes')"]
['Runtime Error', 'Accepted']
['s937371165', 's544817852']
[2940.0, 2940.0]
[17.0, 17.0]
[131, 125]
p02771
u088115428
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['# cook your dish here\nl= list(map(int, input().split()))\nif((l[0]==l[1] or l[1]==l[2]) and l[1]!=l[2]):\n print("Yes")\nelse:\n print("No")\n', 'l= list(map(int input().split()))\nif(l[0]==l[1] or l[1]==l[2]) and l[1]!=l[2]:\n print("Yes")\nelse:\n print("No")', 'a,b,c = map(int, input().split())\nl = [a,b,c]\nfor i in (0,len(l)-1):\n count = l.count(l[i])\n if count == 2:\n print("Yes")\n else:\n print("No")\n ', '# cook your dish here\nl= list(map(int, input().split()))\nif(l[0]==l[1]!=l[2] or l[0]!=l[1]==l[2]):\n print("Yes")\nelse:\n print("No")\n', '# cook your dish here\nl= list(map(int, input().split()))\nif(l[0]==l[1]!=l[2] or l[0]!=l[1]==l[2] or l[0]==l[2]!=l[1]):\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s230933745', 's235478744', 's818286658', 's835488304', 's011469323']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 17.0, 17.0]
[139, 113, 154, 134, 154]
p02771
u089230684
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 or b==c or a==c):\n if(not(a==b and b==c)):\n print("Yes")\n else:\n print("No")\nelse:\n print("No")', 'listt = list(map(int,input().split(" ")))\n\nsett = set(listt)\nif(len(sett)== 2):\n print("YES")\nelse:\n print("NO")', 'X,Y,Z = input().split()\ns = X\nt = Y\nu = Z\nif (s==t and s==u):\n print("No")\nelif (s==t or t==u or s==u):\n print("Yes")\nelif (s!=t or t!=u):\n print("No")\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s051838389', 's344291954', 's892709546']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 20.0]
[171, 118, 161]
p02771
u089376182
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 len(set([a,b,c])) == 2:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s845602464', 's403493992']
[3060.0, 2940.0]
[17.0, 17.0]
[109, 96]
p02771
u089504174
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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')\nif A==C and A!=B: \n print('Yes')\nif B==C and B!=A: \n print('Yes')\nelse: \n print('No')", "A=int(input())\nB=int(input())\nC=int(input())\nif A==B and A!=C: print('Yes')\nif A==C and A!=B: print('Yes')\nif B==C and B!=A: print('Yes')\nelse: print('No')", "a=input()\nb=input()\nc=input()\nA=int(a)\nB=int(b)\nC=int(c)\nif A==B and A!=C:\n print('Yes')\nif A==C and A!=B: \n print('Yes')\nif B==C and B!=A: \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')\nif A==C and A!=B: \n print('Yes')\nif B==C and B!=A: \n print('Yes')\nelse: \n print('No')", 'A,B,C = input().split(\' \')\nif A==B and A!=C or B==C and B!=A or C==A and C!=B:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s159009867', 's280937137', 's350028560', 's619950235', 's551501507']
[2940.0, 2940.0, 3060.0, 3060.0, 3064.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[166, 155, 182, 169, 117]
p02771
u091852005
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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\nprint('Yes') if np.unique(list(input().split())) == 2 else print('No')", "A = input().split()\nres = []\nfor i in A:\n if i not in res:\n res.append(i)\n\nif len(res) == 2:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s931655111', 's494339948']
[12504.0, 2940.0]
[148.0, 17.0]
[89, 131]
p02771
u092646083
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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)\nP = set([a,b,c])\nif len(P) == 2:\n print('Yes')\nelse:\n print('No')", "a,b,c = map(int,input().split())\nP = set([a,b,c])\nif len(P) == 2:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s944202165', 's895851902']
[2940.0, 2940.0]
[17.0, 18.0]
[98, 100]
p02771
u094102716
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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()\nif a[0] == a[1]:\n\tif a[1] == a[2]:\n\t\tprint("NO")\n\telse:\n\t\tprint("YES")\nelse:\n\tif a[1] == a[2]:\n\t\tprint("YES")\n\telse:\n\t\tprint("NO")', 'a = list(map(int,input().split()))\na.sort()\nif a[0] == a[1]:\n\tif a[1] == a[2]:\n\t\tprint("No")\n\telse:\n\t\tprint("Yes")\nelse:\n\tif a[1] == a[2]:\n\t\tprint("Yes")\n\telse:\n\t\tprint("No")']
['Wrong Answer', 'Accepted']
['s285785557', 's945035354']
[3060.0, 3060.0]
[18.0, 17.0]
[174, 174]
p02771
u098982053
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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(i) for i in input().split(" ")]\nj=0\ncount=0\nfor k in range(j+1,len(N)):\n if N[j]==N[k]:\n count += 1\n j+=1\n \nif count==1:\n print("Yes")\nelse:\n print("No")', 'N =[int(i) for i in input().split(" ")]\nj=0\ncount=0\nfor k in range(1,len(N)):\n if N[j]==N[k]:\n count += 1\n j+=1\n \nif count==1:\n print("Yes")\nelse:\n print("No")', 'N =[int(i) for i in input().split(" ")]\ncount=0\nprint(N)\nfor j in range(len(N)-1):\n for k in range(j+1,len(N)):\n if N[j]==N[k]:\n count += 1\nprint(count)\nif count==1:\n print("Yes")\nelse:\n print("No")', 'N =[int(i) for i in input().split(" ")]\ncount=0\nfor j in range(len(N)-1):\n for k in range(j+1,len(N)):\n if N[j]==N[k]:\n count += 1\nif count==1:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s216992031', 's228115251', 's911807373', 's966650479']
[3060.0, 3060.0, 3064.0, 3060.0]
[17.0, 17.0, 17.0, 17.0]
[183, 181, 225, 203]
p02771
u101350975
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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())\nlist = [A, B, C]\nans = list(set(list))\nif len(ans) == 2:\n print('Yes')\nelse:\n print('No')\n", "A, B, C = map(int, input().split())\nl = [A, B, C]\nans = list(set(l))\nif len(ans) == 2:\n print('Yes')\nelse:\n print('No')\n"]
['Runtime Error', 'Accepted']
['s516174339', 's143750188']
[2940.0, 2940.0]
[17.0, 17.0]
[132, 126]
p02771
u103915901
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 and a!=c or a==c and a!=b or b==c and a!=b:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s614011717', 's254882329']
[2940.0, 2940.0]
[17.0, 17.0]
[83, 123]
p02771
u106342872
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
["a,b,c = map(int, input().split())\nif a == b and a!= c:\n print('Yes')\nelif a == c and b != c:\n print('Yes')\nelif b = c and a != c:\n print('Yes')\nelse:\n print('No')", "a,b,c = map(int, input().split())\nif a == b and a!= c:\n print('Yes')\nelif a == c and b != c:\n print('Yes')\nelif b == c and a != c:\n print('Yes')\nelse:\n print('No')\n"]
['Runtime Error', 'Accepted']
['s065050196', 's472464911']
[2940.0, 2940.0]
[17.0, 17.0]
[174, 176]
p02771
u106494511
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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()))\nL = set(L)\nif len(L) == 2:\n print('YES')\nelse:\n print('NO')\n", "L = list(map(int,input().split()))\nL = set(L)\nif len(L) == 2:\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Accepted']
['s951133089', 's091229435']
[2940.0, 2940.0]
[17.0, 17.0]
[101, 101]
p02771
u106778233
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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: print('No')\nelif a!=b and b!=c:print('No')\nelse:print('Yes')", "a,b,c=map(int,input().split())\nif a==b and b==c: print('No')\nelif a!=b and b!=c and a!=c:print('No')\nelse:print('Yes')\n"]
['Wrong Answer', 'Accepted']
['s716445105', 's497423051']
[2940.0, 2940.0]
[17.0, 17.0]
[109, 119]
p02771
u108934099
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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#elif a != b and b != c and a != c:\n print("No")\nelse:\n print("Yes")', 'a,b,c = map(int,input().split())\n\nif a == b == c:\n print("No")\n#elif a != b != c:\nelif a != b and b != c and a != c:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s491505126', 's879773686']
[2940.0, 3060.0]
[17.0, 17.0]
[158, 158]
p02771
u109266345
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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\n\nif a == b and a != c:\n print("Yes")\n\nelse:\n print("No")', 'ans = list(int(i) for i in input().split()) \nans.sort()\n\nif ans[0] == ans[1] and ans[1] == ans[2]:\n print("No")\n exit()\n \nif ans[0]==ans[1] or ans[1] == ans[2]:\n print("Yes") \nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s221985485', 's071561756']
[2940.0, 3064.0]
[17.0, 17.0]
[164, 209]
p02771
u111652094
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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\nprint(A)\nprint(B)\nprint(C)\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")\n ', 'A,B,C=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")\n ']
['Wrong Answer', 'Accepted']
['s053266201', 's302687066']
[2940.0, 2940.0]
[18.0, 17.0]
[206, 178]
p02771
u111684666
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 && a!=c && b!=c) || (a==b && a==c):\n print("No")\nelse :\n print("Yes")\n', 'a, b, c = map(int, input().split())\n\nif (a!=b and a!=c and b!=c) or (a==b and a==c):\n print("No")\nelse :\n print("Yes")\n']
['Runtime Error', 'Accepted']
['s843543595', 's547151666']
[2940.0, 2940.0]
[17.0, 18.0]
[118, 121]
p02771
u113255362
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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())\nflag1 = 0\nflag2 = 0\nif a == b:\n flag1 = 1\nif b == c:\n flag2 =1\nif flag1 ==1 and flag2 ==1:\n print("No")\nelif flag1 ==0 and flag2 ==0:\n print("No")\nelse:\n print("Yes")', 'a,b,c =map(int,input().split())\nflag1 = 0\nflag2 = 0\nflag3 = 0\nif a == b:\n flag1 = 1\nif b == c:\n flag2 =1\nif a == c:\n flag3 =1\nif flag1 ==1 and flag2 ==1:\n print("No")\nelif flag1 ==0 and flag2 ==0 and flag3 == 0:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s862841738', 's118869927']
[9112.0, 9184.0]
[28.0, 28.0]
[203, 250]
p02771
u115877451
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 or a!=c!=b:\n print('No')\nelse:\n print('Yes')\n", "a,b,c=map(int,input().split())\nif a=b=c or a!=b!=c:\n print('No')\nelse:\n print('Yes')\n", "a,b,c=map(int,input().split())\nif a==b==c or a!=b!=c:\n print('No')\nelse:\n print('Yes')\n", "a,b,c=map(int,input().split())\nif a==b!=c or a!=b==c or a!=c==b:\n print('Yes')\nelse:\n print('No')\n", "a,b,c=map(int,input().split())\nif a==b!=c or a!=b==c or a==c!=b:\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s215679103', 's218614323', 's700730730', 's955982815', 's640800433']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[100, 87, 89, 100, 100]
p02771
u116038906
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['\nN = int(input())\nword = [ input() for i in range(N) ]\n\n\nfrom collections import Counter\nkazu_word = Counter(word)\n\n\nkazu_word_a = max(kazu_word.values()) \nkazu_word_max =[i for i,v in kazu_word.items() if v == kazu_word_a ]\nkazu_word_max_sorted = sorted(kazu_word_max)\n\n\nprint("\\n".join(kazu_word_max_sorted)) ', '\na,b,c = (int(x) for x in input().split(" "))\n\n#\nif a == b == c:\n print("No")\nelif a == b or b ==c or a == c:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s415383494', 's781993065']
[3064.0, 3060.0]
[18.0, 17.0]
[604, 165]
p02771
u116348130
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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#import numpy as np\nn = int(input())\ninput = sys.stdin.readline\n#a = np.array(list(map(int, input().split())))\na = list(map(int, input().split()))\nfor i in a:\n if i % 2 == 0:\n if i % 3 != 0 and i % 5 != 0:\n print('DENIED')\n exit()\nprint('APPROVED')", '#!/usr/bin/env python3\n\n\na, b, c = map(int, open(0).read().split())\n\nif a == b and b == c and c == a:\n print("No")\n\nelif a != b and b != c and c != a:\n print("No")\n\nelse:\n print("Yes")\n']
['Runtime Error', 'Accepted']
['s326451521', 's082231951']
[2940.0, 2940.0]
[17.0, 18.0]
[291, 194]
p02771
u116722061
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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())\nL = list(map(int, input().split()))\nc = 0\nfor i in range(N):\n if L[i] % 2 == 0:\n if L[i] % 3 == 0:\n c += 1\n elif L[i] % 5 == 0:\n c += 1\n else:\n c = 0\n break\n else:\n c += 1\n\nif c == N:\n print("APPROVED") \nelse:\n print ("DENIED")', 'A, B, C = map(int, input().split())\nif A == B and B == C:\n print("No")\nelif A != B and A != C and B != C:\n print("No")\nelse:\n print("Yes")']
['Runtime Error', 'Accepted']
['s397097417', 's725940325']
[3064.0, 2940.0]
[18.0, 17.0]
[281, 141]
p02771
u117686390
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['s = input().split()\ns.sort()\nif s[0]==s[1] and s[1]!=s[2]:\n print("YES")\nelse:\n print("NO")', 's = input().split()\ns.sort()\nif s[0]==s[1] and s[1]!=s[2]:\n print("Yes")\nelif s[1]==s[2] and s[0]!=s[1]:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s511777742', 's536307500']
[2940.0, 3060.0]
[17.0, 17.0]
[97, 146]
p02771
u117793693
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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()\n\nA, B, C = x.split(' ')\n\ncount = 0\nif A == B:\n count += 1\nif B == C:\n count += 1\nif count == 1:\n print('yes')\nelse:\n if A == C:\n print('yes')\n else:\n print('no')", "A, B, C = input().split()\n\ncount = 0\nif A == B:\n count += 1\nif B == C:\n count += 1\nif count == 1:\n print('Yes')\nelse:\n if A == C and count == 0:\n print('Yes')\n else:\n print('No')"]
['Wrong Answer', 'Accepted']
['s799019735', 's032947858']
[2940.0, 2940.0]
[17.0, 17.0]
[202, 207]
p02771
u120453447
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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(i) for i in input().split()]\nif A == B == C:\n print("No")\nelif A != B != C:\n print("No")\nelse:\n print("Yes")\n', 'A,B,C=[int(i) for i in input().split()]\nif A == B and A == C:\n print("No")\nelif A != B and B != C and A != C:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s233819969', 's361510034']
[2940.0, 3060.0]
[18.0, 18.0]
[129, 151]
p02771
u126812720
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['lis = list(input().split())\na=lis.count(lis[0])\nb=lis.count(lis[1])\nc=lis.count(lis[2])\nif a+b+c == 4:\n print("Yes")\nelse:\n print("No")', 'lis = list(input().split())\na=lis.count(lis[0])\nb=lis.count(lis[1])\nc=lis.count(lis[2])\nif a+b+C == 4:\n print("Yes")\nelse:\n print("No")', 'lis = list(input().split())\na=lis.count(lis[0])\nb=lis.count(lis[1])\nc=lis.count(lis[2])\nprint(a, b, c)\nif a+b+c == 5:\n print("Yes")\nelse:\n print("No")\n', 'lis = list(input().split())\na=lis.count(lis[0])\nb=lis.count(lis[1])\nc=lis.count(lis[2])\nif a+b+c == 5:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s328494076', 's358099322', 's653061170', 's178906799']
[3060.0, 2940.0, 2940.0, 2940.0]
[20.0, 17.0, 17.0, 18.0]
[141, 141, 157, 141]
p02771
u129961029
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['a,b,c=map(int,input().split())\n\nif a=b and b=c :\n print("Yes")\nelse:\n print(\'No\') ', 'a,b,c=map(int,input().split())\n\nif a=b and b=c :\n print(\'No\')\nelif a=b or a=c or b=c:\n print("Yes")\nelse:\n print(\'No\') ', 'a,b,c=map(int,input().split())\n\nif a==b and b==c :\n print(\'No\')\nelif a==b or a==c or b==c:\n print("Yes")\nelse:\n print(\'No\') ']
['Runtime Error', 'Runtime Error', 'Accepted']
['s126846979', 's442837890', 's549066658']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[88, 128, 133]
p02771
u129978636
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 _ in range(n)]\nans={}\nfor i in range(len(s)):\n if(s[i] not in ans):\n ans[s[i]] = 1\n else:\n ans[s[i]] += 1\nans=sorted(ans.items(), key = lambda x:x[1], reverse = True)\nanss=[]\nanss.append(ans[0][0])\nfor j in range(1,len(ans)):\n if(ans[j][1] == ans[0][1]):\n anss.append(ans[j][0])\n else:\n break\nfor t in sorted(anss):\n print(t)', 'a=len(set(list(map(int,input().split()))))\nif(a==2):\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s022863764', 's108175220']
[3064.0, 2940.0]
[19.0, 17.0]
[398, 91]
p02771
u130900604
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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("Yes" if 2==set(list(map(int,input().split()))) else "No")\n', 'print("Yes" if 2==len(set(list(map(int,input().split())))) else "No")\n']
['Wrong Answer', 'Accepted']
['s253205993', 's050667036']
[2940.0, 2940.0]
[17.0, 17.0]
[65, 70]
p02771
u131881594
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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\na=list(map(int,input().split()))\ndic=Counter(a)\nfor i in dic.values():\n\tif i==2:\n\t print("Yes")\n exit()\nprint("No")\n', 'from collections import Counter\na=list(map(int,input().split()))\ndic=Counter(a)\nfor i in dic.values():\n\tif i==2:\n\t\tprint("Yes")\n exit()\nprint("No")\n', 'from collections import Counter\na=list(map(int,input().split()))\ndic=Counter(a)\nfor i in dic.values():\n\tif i==2:\n\t print("Yes")\n exit()\nprint("No")\n', 'from collections import Counter\na=list(map(int,input().split()))\ndic=Counter(a)\nfor i in dic.values():\n\tif i==2:\n\t\tprint("Yes")\n \texit()\nprint("No")\n', 'from collections import Counter\na=list(map(int,input().split()))\ndic=Counter(a)\nfor i in dic.values()\n\tif i==2:\n\t print("Yes")\n \texit()\nprint("No")', 'from collections import Counter\na=list(map(int,input().split()))\ndic=Counter(a)\nfor i in dic.values():\n\tif i==2:\n print("Yes")\n\t exit()\nprint("No")\n', 'from collections import Counter\na=list(map(int,input().split()))\ndic=Counter(a)\nfor i in dic.values():\n if i==2:\n print("Yes")\n exit()\nprint("No")\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s009686865', 's247728668', 's266680424', 's330991899', 's544061510', 's576638566', 's834053120']
[8888.0, 8920.0, 8844.0, 9048.0, 9016.0, 8988.0, 9488.0]
[27.0, 22.0, 26.0, 23.0, 25.0, 24.0, 29.0]
[158, 155, 158, 152, 155, 154, 164]
p02771
u132266749
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
[" n= int(input())\n lista=[]\n listanova=[]\n for x in input().split():\n \tx= int(x)\n \tif x %2 ==0:\n \t\tlista.append(x)\n for x in lista:\n \tif x %3==0 or x%5==0:\n \t\tlistanova.append(x)\n \n if len(lista)==len(listanova):\n \tprint('APPROVED')\n else:\n \tprint('DENIED')", "a, b, c= input().split()\na, b, c= int(a), int(b), int(c)\n\nif (a==b and c==b) or (a!=b and b!=c and c!=a):\n\tprint('No')\nelse:\n\tprint('Yes')"]
['Runtime Error', 'Accepted']
['s628591656', 's389872689']
[2940.0, 2940.0]
[17.0, 18.0]
[302, 138]
p02771
u132878037
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['n=int(input())\n\na=list(map(int,input().split()))\nb=0\nfor i in range(len(a)-1):\n if a[i]//2==0:\n if a[i]//3==0 or a[i]//5==0:\n b=b+1\n else:\n b=b+1\n\nif b==n:\n print("APPROVED")\nelse:\n print("DENIED")', 'A=map(int,input().split())\nif A[0]=A[1]=A[2]:\n print("No")\nelif\u3000A[0]=A[1] orA[1]=A[2]:\n print("Yes")\nelse:\n print("No")\n', 'a,b,c=map(int,input().split())\nif a==b==c:\n print("No")\nelif\u3000a==b or b==c:\n print("Yes")\nelse:\n print("No")\n', 'a,b,c=map(int,input().split())\nif a==b==c:\n print("No")\nelif a == b or b==c or c==a:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s056365008', 's702811985', 's916602974', 's123204766']
[3060.0, 2940.0, 3192.0, 2940.0]
[17.0, 17.0, 18.0, 17.0]
[234, 131, 119, 127]
p02771
u134341470
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['a,b,c=map(int,input().split())\ns=set(a,b,c)\nif len(s)==2:\n print("Yes")\nelse:\n print("No")', 'l = list(map(int, input().split()))\ns = set(l)\nif len(s) == 2:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s407394318', 's807868973']
[3068.0, 2940.0]
[17.0, 17.0]
[96, 102]
p02771
u135197221
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 = mapt(int, input().split(" "))\n\nprint("Yes" if len(set({a,b,c})) == 2 else "No")', 'a, b, c = map(int, input().split(" "))\n\nprint("Yes" if len(set({a,b,c})) == 2 else "No")']
['Runtime Error', 'Accepted']
['s538462344', 's380109605']
[9028.0, 9108.0]
[22.0, 31.0]
[89, 88]
p02771
u135360096
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 = [A,B,C]\nif not len(set(L)) == 2:\n print("Yes")\nelse:\n print("No")', 'A , B, C = map(int, input().split())\nL = [A,B,C]\nif not len(set(L)) == len(L):\n print("No")\nelse:\n print("Yes")', 'A , B, C = map(int, input().split())\nL = [A,B,C]\nif len(set(L)) == 2:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s527175768', 's913422373', 's967836722']
[3060.0, 2940.0, 2940.0]
[29.0, 17.0, 17.0]
[112, 117, 108]
p02771
u137667583
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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("YES" if set(map(int,input().split())).len()==2 else "NO")', 'print("Yes" if set(map(int,input().split())).len()==2 else "No")', 'a,b,c = list(map(int,input().split()))\nif a==c and a!=b or a==b and a!=c or b==c and a!=b:\n print("YES")\nelse:\n print("NO")', 'print("Yes" if len(set(map(int,input().split())))==2 else "No")']
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s214948139', 's520306653', 's877646859', 's179021234']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[64, 64, 125, 63]
p02771
u137808818
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
["n = int(input())\na = list(map(int,input().split()))\nfor i in range(a):\n if i%2==0:\n if i%3 !=0 or i%5 !=0:\n print('DENIED')\nprint('APPROVED')\n\n \n \n ", "List= list(int,input().split())\nList=set(List)\nif len(List)==2:\n print('Yes')\nelse:\n print('No') ", "List= sorted(int,input().split())\nif len(List)==2:\n print('Yes')\nelse:\n print('No') ", "List= sorted(list(int,input().split()))\nif len(List)==2:\n print('Yes')\nelse:\n print('No') ", "List= list(map(int,input().split()))\nList=set(List)\nif len(List)==2:\n print('Yes')\nelse:\n print('No') "]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s227660828', 's249180074', 's321680575', 's431027734', 's281313400']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[198, 103, 90, 96, 108]
p02771
u138413756
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['nums = input().rstrip().split(" ")\nn1 = int(nums[0])\nn2 = int(nums[1])\nn3 = int(nums[2])\nif n1 == n2 and n2 == n3:\n print("No")\nelif n1 != n2 and n2 != n3:\n print("No")\nelse:\n print("Yes")', 'nums = input(),rstrip(),split(" ")\nn1 = int(nums[0])\nn2 = int(nums[1])\nn3 = int(nums[2])\nif n1 == n2:\n if n2 == n3:\n print("No")\n else:\n print("Yes")\nelse if n2 == n3:\n print("Yes")\nelse:\n print("No")', 'nums = input(),rstrip(),split(" ")\nn1 = int(nums[0])\nn2 = int(nums[1])\nn3 = int(nums[2])\nif n1 == n2 and n2 == n3:\n print("No")\nelse if n1 != n2 and n2 =! n3:\n print("No")\nelse:\n print("Yes")', 'nums = input().rstrip().split(" ")\nn1 = int(nums[0])\nn2 = int(nums[1])\nn3 = int(nums[2])\nif n1 == n2 and n2 == n3 and n1 == n3:\n print("No")\nelif n1 != n2 and n2 != n3 and n1 != n3:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s053800974', 's648182757', 's729086916', 's220012731']
[3060.0, 2940.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0, 17.0]
[191, 210, 194, 217]
p02771
u142223843
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
["a, b, c= map(int, input().split())\n\nif((a==b and b!=c) or (a!=b and b==c) ):\n print('Yes')\nelse:\n (print('No'))\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 and b!=c) or (a!=b and b==c) or (a!=b and a==c) ):\n print('Yes')\nelse:\n (print('No'))\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s048635640', 's847813272', 's074535105']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[118, 132, 137]
p02771
u143492911
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['# n = int(input())\nA = list(map(int, input().split()))\n# a, b, c = map(int, input().split())\nset_A = set(A)\nif len(A) == 3:\n if len(set_A) == 2:\n ("Yes")\n exit()\nprint("No")\n', '# n = int(input())\nA = list(map(int, input().split()))\n# a, b, c = map(int, input().split())\nset_A = set(A)\nif len(A) == 3 and len(set_A) == 2:\n print("Yes")\n exit()\nprint("No")\n']
['Wrong Answer', 'Accepted']
['s256392683', 's108430254']
[2940.0, 2940.0]
[17.0, 18.0]
[191, 184]
p02771
u148856702
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['nums= input().split()\n\nnums.sort()\nfor i in range(len(nums)):\n nums[i] = int(nums[i])\n \n\n\nif nums[1] == nums[2] and nums[0]<nums[1]:\n print(True)\nelif nums[1] == nums[0] and nums[1]<nums[2]:\n print(True)\nelse:\n print(False)', 'nums = map(int,input().split())\n\nnums.sort()\n\n\nif nums[1] == nums[2] and nums[0]<nums[1]:\n print(True)\nelif nums[1] == nums[0] and nums[1]<nums[2]:\n print(True)\nelse:\n print(False)\n', 'nums= input().split()\n\n\nfor i in range(len(nums)):\n nums[i] = int(nums[i])\n \nnums.sort()\n\n\nif nums[1] == nums[2] and nums[0]<nums[1]:\n print(Yes)\nelif nums[1] == nums[0] and nums[1]<nums[2]:\n print(Yes)\nelse:\n print(No)', 'nums= input().split()\n\nnums.sort()\n\n\nif nums[1] == nums[2] and nums[0]<nums[1]:\n print(True)\nelif nums[1] == nums[0] and nums[1]<nums[2]:\n print(True)\nelse:\n print(False)', 'nums= input().split()\n\n\nfor i in range(len(nums)):\n nums[i] = int(nums[i])\n \nnums.sort()\n\n\nif nums[1] == nums[2] and nums[0]<nums[1]:\n print("Yes")\nelif nums[1] == nums[0] and nums[1]<nums[2]:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s315441539', 's383145651', 's531149644', 's921032449', 's779649745']
[3060.0, 2940.0, 3060.0, 3060.0, 3060.0]
[17.0, 17.0, 18.0, 17.0, 18.0]
[238, 190, 234, 179, 240]
p02771
u149073695
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['on= input()\n \nif (on[0] != on[1]and on[0] != on[2] and on[2] != on[1]):\n print("No")\n \nelse:\n print("Yes")\n #omfg\n ', 'on= input()\n\non = on.split()\n \nif (on[0] != on[1] and on[0] != on[2] and on[1] != on[2]):\n print("No")\nelif (on[0] == on[1] and on[0] == on[2] and on[1] == on[2]):\n print("No")\n\nelse:\n print("Yes")\n //print(on[0],on[1],on[2]', 'int 1,2,3 = input():\n\nif 1 != 2{\n if 1 != 3{\n print("No")\n }\n}\nelse{\n print("Yes")\n}\n', 'on= input()\n\non = on.split()\n \nif (on[0] != on[1] and on[0] != on[2] and on[1] != on[2]):\n print("No")\nelif (on[0] == on[1] and on[0] == on[2] and on[1] == on[2]):\n print("No")\n\nelse:\n print("Yes")']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s371672409', 's550313744', 's985829226', 's971031858']
[2940.0, 3060.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0, 17.0]
[135, 232, 91, 204]
p02771
u151005508
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
["'''\nst=set(map(int, input().split()))\n\nif len(st)==2:\n print('Yes')\nelse:\n print('No')\n'''\n\nprint('Yes' if len(set(map(int, input().split())))==2 'No')", "'''\nst=set(map(int, input().split()))\n\nif len(st)==2:\n print('Yes')\nelse:\n print('No')\n'''\n\nprint('Yes' if len(set(map(int, input().split())))==2 else 'No')"]
['Runtime Error', 'Accepted']
['s798659303', 's893736276']
[2940.0, 2940.0]
[17.0, 17.0]
[157, 162]
p02771
u151285327
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 A():\n A, B, C = map(int, input().split())\n if A == B or B == C or A == C:\n if (A+B+C) != A*3:\n print('YES')\n return\n print('NO')\n\nA()", "def A():\n A, B, C = map(int, input().split())\n if A == B or B == C or A == C:\n if (A+B+C) != A*3:\n print('Yes')\n return\n print('No')\n\ndef B():\n N = int(input())\n A = [int(i) for i in input().split()]\n for i in A:\n if i%2==0 and not (i%3==0 or i%5==0):\n print('DENIED')\n return\n print('APPROVED')\nA()"]
['Wrong Answer', 'Accepted']
['s579120807', 's204127697']
[2940.0, 3060.0]
[17.0, 18.0]
[175, 378]
p02771
u152891327
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['\nN = input()\ndigit = len(N)\nl_N = [0] * digit\nfor i in range(1, digit + 1):\n l_N[i - 1] = int(N[-i])\ndp = 0\nfor i in range(digit):\n dp += min(l_N[i], 10 - l_N[i] + 1)\n #print(dp)\nprint(dp)', "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 c == a and a != b:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s547609874', 's236002752']
[3060.0, 3064.0]
[18.0, 19.0]
[267, 169]
p02771
u153259685
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 and b==c:\n print("Yes")\nif b!=a and b!=c and a==c:\n print("Yes")\nif c!=a and c!=b and a==b:\n print("Yes")\nelse:\n print("No")', 'a,b,c=map(int,input().split())\nif a!=b and b==c:\n print("Yes")\nif b!=a and a==c:\n print("Yes")\nif c!=a and a==b:\n print("Yes")\nelse:\n print("No")', 'a,b,c=map(int,input().split())\nif a!=b and b==c:\n print("Yes")\nelif b!=a and a==c:\n print("Yes")\nelif c!=a and a==b:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s100459156', 's992938463', 's666674324']
[3060.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[176, 149, 153]
p02771
u154473588
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['inputs = list(map(int, (input().split())))\n\na = inputs[0]\nb = inputs[1]\nc = inputs[2]\nif(a & b & c == a):\n print("No")\n exit(0)\n\nif(a == b or b == c or c == a):\n print("Yes")\nelse:\n print("No")\nexit(0)\n', 'inputs = list(map(int, (input().split())))\n\na = inputs[0]\nb = inputs[1]\nc = inputs[2]\nif(a == b and b == c and c == a):\n print("No")\n exit(0)\n\nif(a == b or b == c or c == a):\n print("Yes")\nelse:\n print("No")\nexit(0)\n']
['Wrong Answer', 'Accepted']
['s500920539', 's568021262']
[3060.0, 3060.0]
[17.0, 17.0]
[214, 228]
p02771
u155659281
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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==B:\n if A!=C:\n print('Yes')\n else:\n print('No')\nelse:\n if A==C:\n print('Yes')\n elif B==C:\n print('Yes')\n else:\n print('No')", 'nums = input().rstrip().split(" ")\nn1 = int(nums[0])\nn2 = int(nums[1])\nn3 = int(nums[2])\nif n1 == n2 and n2 == n3 and n1 == n3:\n print("No")\nelif n1 != n2 and n2 != n3 and n1 != n3:\n print("No")\nelse:\n print("Yes")']
['Runtime Error', 'Accepted']
['s842037456', 's233053452']
[2940.0, 3060.0]
[17.0, 17.0]
[148, 217]
p02771
u157020659
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 bisect import bisect_left\n\ndef binsearch(l, r, fn):\n while r - l > 1:\n m = (l + r) // 2\n if fn(m):\n l = m\n else:\n r = m\n return l\n\nn, k = map(int, input().split())\nA = sorted(list(map(int, input().split())))\np = bisect_left(A, 0)\nan = A[:p]\nap = A[p:]\n\nif k < p * (n - p):\n def helper(x):\n t = 0\n r = 0\n for p in ap:\n while t < len(an) and an[t] * p <= x:\n t += 1\n r += t\n return r < k\n l = binsearch(ap[-1] * an[0] - 1, 1, helper)\nelse:\n k -= p * (n - p)\n an.reverse()\n def helper(x):\n r = 0\n for a in [ap, an]:\n t = len(a) - 1\n for i, p in enumerate(a):\n if t <= i:\n break\n while t > i and a[t] * p > x:\n t -= 1\n r += t - i\n return r < k\n m = ap[-1]\n if an:\n m = max(m, -an[-1])\n l = binsearch(-1, m * m, helper)\nprint(l + 1)', "a, b, c = map(int, input().split())\nans = 'Yes' if len(set([a, b, c])) == 2 else 'No'\nprint(ans)"]
['Runtime Error', 'Accepted']
['s312599541', 's414014159']
[3064.0, 2940.0]
[18.0, 17.0]
[1023, 96]
p02771
u159723084
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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\nans='NO'\n\nif A==B and A!=C: ans='YES'\nif A==C and A!=B: ans='YES'\nif B==C and B!=A: ans='YES'\n\nprint(ans)", "A,B,C=map(int,input().split())\n\nans='No'\n\nif A==B and A!=C: ans='Yes'\nif A==C and A!=B: ans='Yes'\nif B==C and B!=A: ans='Yes'\n\nprint(ans)"]
['Wrong Answer', 'Accepted']
['s832032386', 's557996921']
[2940.0, 3060.0]
[17.0, 19.0]
[137, 137]
p02771
u159975271
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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()))\ns = set(i)\nif len(s) == 1:\n print("No")\nelif len(i) == len(s):\n print("Yes")\nelse:\n print("No")', 'i = list(map(int, input().split()))\ns = set(i)\nif len(s) == 1:\n print("No")\nelif len(i) != len(s):\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s296880223', 's698935885']
[3060.0, 3060.0]
[17.0, 17.0]
[140, 140]
p02771
u160359809
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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==c or a!=b!=c:\n print("No")\n \nelse:\n print("Yes")', 'a,b,c=(int(x) for x in input().split())\n\nif a==b==c :\n print("No")\n\nelif a!=b and b!=c and a!=c:\n print("No")\n \nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s553254034', 's053362237']
[2940.0, 3060.0]
[17.0, 17.0]
[107, 143]
p02771
u161432819
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 = [int(i) for i in input().split()]\n\ncount = 0\nfor i in A:\n if i % 2 == 0:\n if i % 3 != 0 and i % 5 != 0:\n count += 1\n\nif count == 0:\n print('APPROVED')\nelse:\n print('DENIED')", "import collections\nA = [i for i in input().split()]\nA = collections.Counter(A)\n\nif A.most_common()[0][1] == 2:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s445334607', 's115999822']
[3060.0, 3316.0]
[17.0, 20.0]
[205, 147]
p02771
u161712560
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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\n ((b == c) and (c != a)) or\n ((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)) or \n ((b == c) and (c != a)) or\n ((c == a) and (a != b))):\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s676000668', 's124773881']
[2940.0, 3060.0]
[17.0, 17.0]
[162, 168]
p02771
u163529815
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['a, b, c = map(int,input().split())\nif a = b:\n if a = c:\n print("No")\n else:\n print("Yes")\nelif a = c:\n print("Yes") \nelse:\n print("No")', 'a, b, c = map(int,input().split())\nif a == b:\n if a == c:\n print("No")\n else:\n print("Yes")\nelif a == c:\n print("Yes") \nelif b == c:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s917770679', 's467386147']
[2940.0, 2940.0]
[18.0, 18.0]
[161, 194]
p02771
u163829702
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 A != B:\n print('YES')\nelif A == C and A != B:\n print('YES')\nelse:\n print('NO')", "A, 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 print('No')"]
['Wrong Answer', 'Accepted']
['s163668638', 's636367107']
[3060.0, 3060.0]
[17.0, 17.0]
[179, 179]
p02771
u164031709
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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(x) for x in input().split()]\nn.sort()\nif n[0]==n[1] and n[1]!=n[2]:\n print("YES")\nelif n[0]!=n[1] and n[1]==n[2]:\n print("YES")\nelse:\n print("NO")\n', 'n= [int(x) for x in input().split()]\nn.sort()\nif n[0]==n[1] and n[1]!=n[2]:\n print("Yes")\nelif n[0]!=n[1] and n[1]==n[2]:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s789193881', 's554111453']
[2940.0, 3060.0]
[17.0, 17.0]
[164, 164]
p02771
u165268875
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 = set(input().split())\n\nprint("Yes" len(set)==2 else "No")\n', '\nA, B, C = set(input().split())\n\nprint("Yes" len(A, B, C)==2 else "No")\n', '\nABC = set(input())\n\nprint("Yes"if len(ABC)==2 else "No")\n', '\nABC = set(input())\n\nprint("Yes" len(ABC)==2 else "No")\n', '\nABC = list(input().split())\n\nprint("Yes" if len(set(ABC))==2 else "No")\n']
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s212130486', 's366783595', 's758591120', 's959888155', 's507451743']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[68, 72, 58, 56, 73]
p02771
u166340293
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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=[]\nfor i in range 3:\n list.append(int(input()))\nif list[0]==list[1]:\n if list[1]==list[2]:\n print("No")\n else:\n printf("Yes")\n \nelse:\n if list[0]==list[2] or list[1]==list[2]:\n print("Yes")\n else:\n print("No")', 's=[input() for i in range 3]\n\nif s[0]==s[1]:\n if s[1]==s[2]:\n print("No")\n else:\n printf("Yes")\n \nelse:\n if s[0]==s[2] or s[1]==s[2]:\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 A==C:\n print("Yes")\n elif C==B:\n print("Yes")\n else:\n print("No")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s051627661', 's558007228', 's389526699']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[234, 186, 179]
p02771
u166560497
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
["a = list(map(int, input().split()))\nif (a[0]==a[1] and a[0] != a[2]) or (a[1]==a[2] and a[1] != a[0]) or (a[0]==a[2] and a[0] != a[1]):\nprint('Yes')\nelse:\nprint('No')", "a = list(map(int, input().split()))\nif (a[0]==a[1] and a[0] != a[2]) or (a[1]==a[2] and a[1] != a[0]) or (a[0]==a[2] and a[0] != a[1]):\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s002036540', 's362949192']
[2940.0, 3060.0]
[17.0, 17.0]
[166, 174]
p02771
u168416324
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['a,b,c=map(int,input().split())\n\nif a==b or b==c:\n if a!=b or b!=c or a!=c:\n print("Yes")\n else:\n print("No")\nelse:\n print("No")\n', 'li=list(map(int,input().split()))\nfor i in li:\n if li.count(i)==2:\n print("Yes")\n break\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s806164141', 's172077786']
[9068.0, 9024.0]
[29.0, 28.0]
[137, 114]
p02771
u168474884
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['s = input().split()\na = int(s[0])\nb = int(s[1])\nc = int(s[2])\n\nif a == b && b != c:\n print("Yes")\n exit()\nif a == c && b != c:\n print("Yes")\n exit()\nif c == b && a != c:\n print("Yes")\n exit()\n\nprint("No")', 'a, b, c = input().split()\na = int(a)\nb = int(b)\nc = int(c)\n\nif a == b && b != c:\n print("Yes")\n exit()\nif a == c && b != c:\n print("Yes")\n exit()\nif c == b && a != c:\n print("Yes")\n exit()\n\nprint("No")', 's = input().split()\na = int(s[0])\nb = int(s[1])\nc = int(s[2])\n\nif a == b and b != c:\n print("Yes")\n exit()\nif a == c and b != c:\n print("Yes")\n exit()\nif c == b and a != c:\n print("Yes")\n exit()\n\nprint("No")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s260227901', 's787659281', 's062814929']
[2940.0, 2940.0, 3064.0]
[22.0, 18.0, 17.0]
[210, 207, 213]
p02771
u169138653
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
["a=list(map(int,input().split()))\nif len(set(a))==1:\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')\n"]
['Wrong Answer', 'Accepted']
['s626647284', 's670037603']
[2940.0, 2940.0]
[17.0, 17.0]
[86, 87]
p02771
u175590965
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 = lsit(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']
['s259951064', 's267502177']
[9104.0, 9156.0]
[22.0, 32.0]
[92, 92]
p02771
u178806894
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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\nimport itertools\n[n,k]=map(int,input().split())\na=np.array(list(map(int,input().split())))\n\nc=sorted([x * y for x, y in itertools.combinations(a,2)])\nprint(c[k-1])\n', "a=list(map(int,input().split()))\ncheck=0\nif a[0]==a[1]:\n check+=1\nif a[0]==a[2]:\n check+=1\nif a[1]==a[2]:\n check+=1\nif check==1:\n print('Yes')\nelse:\n print('No')\n "]
['Runtime Error', 'Accepted']
['s298465410', 's823957380']
[12428.0, 2940.0]
[149.0, 17.0]
[183, 181]
p02771
u185034753
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 = sorted([x for x in input().split()])\n if (a==b and b != c) or (b==c and c!=a) or (c==a and a!=b):\n print("YES")\n else:\n print("NO")\n\n\nif __name__ == \'__main__\':\n main()', 'def main():\n a,b,c = sorted([x for x in input().split()])\n if (a==b and b != c) or (b==c and c!=a) or (c==a and a!=b):\n print("Yes")\n else:\n print("No")\n\n\nif __name__ == \'__main__\':\n main()']
['Wrong Answer', 'Accepted']
['s443513889', 's357509758']
[2940.0, 3060.0]
[17.0, 17.0]
[215, 215]
p02771
u185405877
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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[2]:\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[2]:\n print("Yes") \nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s548514953', 's416854800']
[2940.0, 3064.0]
[17.0, 17.0]
[224, 223]
p02771
u185424824
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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()\n \nif (int(A[0]) == int(A[1])) and (int(A[1]) == int(A[2])):\n print("No")\nelif (int(A[0]) != int(A[1])) and (int(A[1]) != int(A[2])):\n print("No")\nelse:\n print("Yes")', 'A,B,C = map(int,input().split())\n\nif ((A == B) and (B!= C)) or ((A == C) and (A != B)) or ((B==C) and (B != A)):\n print("Yes")\nelse:\n print("No")\n ']
['Wrong Answer', 'Accepted']
['s328526522', 's354557265']
[3064.0, 2940.0]
[17.0, 17.0]
[188, 150]
p02771
u186838327
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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('No')\nelse:\n if a != b and b != c:\n print('No')\n else:\n print('Yes')", "l= list(map(int, input().split()))\nl = set(l)\nif len(l) == 2:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s393520407', 's033179570']
[2940.0, 2940.0]
[17.0, 17.0]
[155, 100]
p02771
u189901251
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['a,b,c = map(int, input().split())\ns = set(a, b, c)\nif len(s) == 2:\n print("Yes")\nelse:\n print("No")', 'l = map(int, input().split())\ns = set(l)\nif len(s) == 2:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s553670851', 's379099979']
[2940.0, 2940.0]
[17.0, 17.0]
[101, 92]
p02771
u191160615
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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("Enter a three value: ").split() \nif (X == Y) or (X == Z) or (Y == Z):\n print("Yes")\nelse:\n print("NO")', "a,b,c = map(int, input().split())\nif (a==b or a==c) and (b!=c):\n print('Yes')\nelif (b==a or b==c) and (a!=c):\n print('Yes')\nelif (c==a or c==b) and (a!=b):\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s874233980', 's417551636']
[2940.0, 3060.0]
[18.0, 17.0]
[121, 200]
p02771
u194228880
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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\nline = input(\'input A B C\')\nA = line.split(\' \')[0]\nB = line.split(\' \')[1]\nC = line.split(\' \')[2]\n\ncnt_a = [A,B,C].count(A)\ncnt_b = [A,B,C].count(B)\ncnt_c = [A,B,C].count(C)\n\nif cnt_a == 3:\n print("No")\nelif cnt_a == 2 or cnt_b == 2 or cnt_c == 2:\n print("Yes")\nelse:\n print(\'No\')\n', 'line = input(\'\')\nA = line.split(\' \')[0]\nB = line.split(\' \')[1]\nC = line.split(\' \')[2]\n\ncnt_a = [A,B,C].count(A)\ncnt_b = [A,B,C].count(B)\ncnt_c = [A,B,C].count(C)\n\nif cnt_a == 3:\n print("No")\nelif cnt_a == 2 or cnt_b == 2 or cnt_c == 2:\n print("Yes")\nelse:\n print(\'No\')\n']
['Wrong Answer', 'Accepted']
['s707799218', 's523514249']
[3060.0, 3060.0]
[17.0, 17.0]
[294, 272]
p02771
u197833153
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['A, B, C = map(int, input().split())\n\nif((A != B and B != C) or (A == B and B == C)):\n print("No")\nelse:\n print("Yes") ', 'A, B, C = map(int, input().split())\n\nif((A != B != 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 and A != C) or (A == B and B == C and A == C)):\n print("No")\nelse:\n print("Yes") ']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s277060646', 's996615135', 's433418528']
[9032.0, 9160.0, 9056.0]
[27.0, 29.0, 27.0]
[120, 108, 142]
p02771
u197912035
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 bisect\n \n \nn, k = map(lambda x: int(x), input().split())\na = list(map(lambda x: int(x), input().split()))\n \na.sort()\npos = bisect.bisect(a, 0)\n \ndef judge(cur):\n global n, k, a\n cnt, j = 0, 1\n for i in range(pos):\n while(j < len(a) and (i == j or a[i] * a[j] > cur)): j += 1\n if(j >= len(a)): break\n cnt += (len(a) - j)\n \n j = len(a) - 1\n for i in range(pos, len(a)):\n while(j > i and (i == j or a[i] * a[j] > cur)): j -= 1\n if(i >= j): break\n cnt += (j-i)\n \n if(cnt >= k): return True\n else: return False\n \n \nl, r = int(-1e18), int(1e18)\nwhile(l < r):\n m = (l+r)>>1\n if(judge(m)): r = m\n else: l = m + 1\n\nif(judge(r) == False): r -= 1\nprint(r)', "a = set(map(lambda x: int(x), input().split()))\n\nif(len(a) == 2):\n print('Yes')\nelse: print('No')\n"]
['Runtime Error', 'Accepted']
['s949227904', 's710785155']
[3188.0, 2940.0]
[18.0, 17.0]
[723, 101]
p02771
u197955752
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 b != c) or (b == c and c != a) or (c == a and a != b):\n print("yes")\nelse:\n print("no")', 'a, b, c = [int(x) for x in input().split()]\n\nif (a == b and b != c) or (b == c and c != a) or (c == a and a != b):\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s290191690', 's627644074']
[2940.0, 2940.0]
[17.0, 18.0]
[153, 154]
p02771
u198065632
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 (b == c and c != a) or (c == a and a != b):\n print('YES')\nelse:\n print('NO')\n", "a, b, c = map(int, input().split())\n\nif (a == b and b != c) or (b == c and c != a) or (c == a and a != b):\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Accepted']
['s807197786', 's715313814']
[3060.0, 3188.0]
[19.0, 19.0]
[146, 146]
p02771
u199120400
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['a,b,c = map(int, input().split())\n\nif (a == b and b==c) or (a != b and b != c) :\n print("No")\nelse :\n print("Yes")', 'a,b,c = map(int, input().split())\n\nif (a == b and b==c) or (a != b and b != c and a != c) :\n print("No")\nelse :\n print("Yes")']
['Wrong Answer', 'Accepted']
['s035840362', 's192728452']
[2940.0, 2940.0]
[17.0, 17.0]
[116, 127]
p02771
u199201328
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 print("YES")\nelse:\n print("NO")', 'a,b,c=map(int,input().split())\nif(((a==b) and (b!=c)) or (b==c and b!=a) or (c==a and b!=c) ):\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s622964385', 's338446675']
[2940.0, 2940.0]
[17.0, 17.0]
[91, 131]
p02771
u203382704
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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())\nans = {}\nfor i in range(len(L)):\n a = input()\n ans[a] = ans.get(a,0) + 1\n\nans2 = [k for k, v in ans.items() if v == max(ans.values())]\nans2.sort()\n[print(i) for i in ans2]\n', 'N = int(input())\nans = {}\nfor i in range(N):\n a = input()\n ans[a] = ans.get(a,0) + 1\n\nans2 = [k for k, v in ans.items() if v == max(ans.values())]\nans2.sort()\n[print(i) for i in ans2]\n', "A, B, C = map(int, input().split())\nif (A ==B and A !=C) or (B == C and A != B) or (A == C and A!=B):\n print('Yes')\nelse:\n print('No')\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s492942528', 's537348351', 's441673411']
[2940.0, 2940.0, 2940.0]
[19.0, 17.0, 17.0]
[195, 190, 141]
p02771
u204260373
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
["a,b,c=map(int,input().split())\nif a==b and a!=c:\n print('Yes')\nelif a==c and a!b:\n print('Yes')\nelif b==c and b!=a:\n print('Yes')\nelse:\n print('No')", "a,b,c=map(int,input().split())\nif a==b and a!=c:\n print('Yes')\nelif a==c and a!=b:\n print('Yes')\nelif b==c and b!=a:\n print('Yes')\nelse:\n print('No')\n"]
['Runtime Error', 'Accepted']
['s873074724', 's774597277']
[2940.0, 2940.0]
[17.0, 17.0]
[152, 154]
p02771
u204616996
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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)\nif A[0]==A[1] and A[1]!=A[2]:\n print('Yes')\nelif if A[2]==A[1] and A[1]!=A[0]:\n print('Yes')\nelse:\n print('No')", "A=list(map(int,input().split()))\nA=sorted(A)\nif A[0]==A[1] and A[1]!=A[2]:\n print('Yes')\nelif A[2]==A[1] and A[1]!=A[0]:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s191469191', 's586752101']
[2940.0, 3064.0]
[17.0, 18.0]
[159, 156]
p02771
u207137484
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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())\nlist1 = list(map(int, input().split()))\nlist1.sort()\nlist2 = [n-1]*n\nlist3=[]\nfor j in range(n):\n\tlist3.append(list1[j]*list1[list2[j]])\nfor j in range(k):\n\tmax1=list3.index(max(list3))\n\tlist2[max1]-=1\n\tlist3[max1]=list1[max1]*list2[max1]\nprint(list3[max1])', 'a,b,c = (int(x) for x in input().split())\nco = 0\nif a==b:\n\tif a!=c:\n\t\tco=1\nelif a==c:\n\tif a!=b:\n\t\tco=1\nelif b==c:\n\tif a!=b:\n\t\tco=1\nif co==1:\n\tprint("Yes")\nelse:\n\tprint("No")']
['Runtime Error', 'Accepted']
['s838496371', 's159695807']
[3064.0, 3060.0]
[18.0, 17.0]
[295, 173]
p02771
u207253859
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 _ in range(N)]\n\nT = sorted(list(set(S)))\nU = [S.count(T[i]) for i in range(len(T))]\n\nfor i in range(len(T)):\n if S.count(T[i]) == max(U):\n print(T[i])', "N = int(input())\nS = [input() for _ in range(N)]\n\nT = set(S)\nU = list(T)\nV = [S.count(U[i]) for i in range(len(T))]\n\nfor i in range(len(T)):\n if S.count(U[i]) != max(V):\n U[i] = ''\n\nfor i in range(len(T)):\n if U[i] != '':\n print(U[i])", "n = set(map(int, input().split()))\nif len(n) == 2:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s612842311', 's711896923', 's192307451']
[3060.0, 3064.0, 2940.0]
[17.0, 18.0, 18.0]
[194, 254, 89]
p02771
u211306418
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
["A,B,C = map(int,input().split())\nS = 'NO'\n\nif A == B and A != C and B != C :\n\tS = 'YES'\nelif A != B and (A == C or B == C) :\n\tS = 'YES'\n\nprint(S)", "A,B,C = map(int,input().split())\nS = 'NO'\n\nif A == B :\n\tif A != C :\n\t\tS = 'YES'\nelif A == C or B == C :\n\tS = 'YES'\n\nprint(S)", "A,B,C = map(int,input().split())\nS = 'Yes'\n\nif A == B and B == C :\n\tS = 'No'\nif A != B and A != C and B != C :\n\tS = 'No'\n\nprint(S)"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s167850460', 's578207346', 's051522215']
[2940.0, 3064.0, 2940.0]
[18.0, 17.0, 18.0]
[145, 124, 130]
p02771
u211706121
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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==1)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)and not a==b==c:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s281697618', 's692368156']
[2940.0, 2940.0]
[17.0, 17.0]
[111, 111]
p02771
u212347962
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['A, B, C = map(int,input().split())\ncount = 0\n\nif(A == B):\n count += 1\nif(A == C):\n count += 1\nif(count == 1):\n print(\'YES\')\nelse:\n print("NO")', 'A, B, C = map(int,input().split())\ncount = 0\n\nif(A == B):\n count += 1\nif(A == C or B == C):\n count += 1\nif(count == 1):\n print(\'Yes\')\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s631090606', 's283300633']
[2940.0, 3060.0]
[18.0, 17.0]
[154, 164]
p02771
u216888678
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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")\n\nelif A==C:\n if A==B:\n print("no")\n else:\n print("yes")\n\nelif B==C:\n if B==A:\n print("no")\n else:\n print("yes")\n\nelse:\n print("no") ', 'A,B,C=list(map(int, input().split()))\n\nX="Yes"\nY="No"\n\nif A==B:\n if A==C:\n print(Y)\n else:\n print(X)\n\nelif A==C:\n if A==B:\n print(Y)\n else:\n print(X)\n\nelif B==C:\n if B==A:\n print(Y)\n else:\n print(X)\n\nelse:\n print(Y) ']
['Wrong Answer', 'Accepted']
['s699533131', 's225574161']
[3188.0, 3060.0]
[20.0, 18.0]
[290, 282]
p02771
u217303170
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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==c!=b or b==c!=a:\n print('Yes')\nelse:\n print('No')", "a,b,c = map(int, input().split())\nif a==b!=c or a==c!=b or b==c!=a:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s626692747', 's908522419']
[2940.0, 2940.0]
[17.0, 18.0]
[103, 106]
p02771
u223555291
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
["a,b,c=map(int,input().split())\n\nif a!=b or a!=c or b!=c a+b==a*2 or a+c==a*2 or b+c==b*2:\n print('Yes')\nelse:\n print('No')", "a,b,c=map(int,input().split())\nimport sys\nif a==b and b==c:\n print('No')\n sys.exit()\nif a==b or b==c or a==c:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s199216341', 's374579174']
[2940.0, 2940.0]
[17.0, 17.0]
[124, 154]
p02771
u224837922
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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(a) for a in input().split()]\nx.sort()\nif x[0]==[1] or x[0]==x[2]:\n if x[1]!=x[2]: print("Yes")\n else: print("No")', 'print("Yes") if len(set(input().split()))==2 else print("No")']
['Wrong Answer', 'Accepted']
['s194321244', 's186461917']
[2940.0, 2940.0]
[17.0, 18.0]
[122, 61]
p02771
u227085629
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
["a,b,c = map(int, input())\nif a==b==c:\n print('No')\nelif a==b or b==c or a==c:\n print('Yes')\nelse:\n print('No')", "a,b,c = map(int, input().split())\nif a==b==c:\n print('No')\nelif a==b or b==c or a==c:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s834773618', 's776796085']
[2940.0, 2940.0]
[17.0, 17.0]
[113, 121]
p02771
u228232845
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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(input()))==2: print('Yes')\nelse: print('No')", "if len(set(input().split()))==2: print('Yes')\nelse: print('No')"]
['Wrong Answer', 'Accepted']
['s120706067', 's505566208']
[2940.0, 2940.0]
[19.0, 17.0]
[55, 63]
p02771
u228372657
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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 or a!=b and b==c:\n print("Yes")\nelse:\n print("No")', 'a,b,c=map(int,input().split())\ns="Yes"\nif a==b==c or a!=b and b!=c and c!=a:\n s="No"\nprint(s)']
['Wrong Answer', 'Accepted']
['s014898587', 's076507761']
[2940.0, 2940.0]
[18.0, 17.0]
[104, 96]
p02771
u231038326
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different from those two numbers. You will be given three integers A, B, and C. If this triple is poor, print `Yes`; otherwise, print `No`.
['n = int(input())\na = list(map(int,input().split()))\n\nfor i in a:\n if i % 2 ==0:\n if i %3 ==0 or i %5 ==0:\n continue\n else:\n print("DENIED")\n break\nelse:\n print("APPROVED")\n', 'n = int(input())\na = list(map(int,input().split()))\n\nfor i in a:\n if i % 2 ==0:\n if i %3 ==0 or i %5 ==0:\n continue\n else:\n print("DENIED")\n break\nelse:\n print("APPROVED")\n', 'A, B, C = list(map(int,input().split()))\n\nif A==B!=C or A==C!=B or B==C!=A:\n print("Yes")\nelse:\n print("No")\n ']
['Runtime Error', 'Runtime Error', 'Accepted']
['s051462034', 's827518714', 's271967946']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[207, 207, 119]
p02771
u231323467
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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\tif A=B=C:\n print("No")\n elif A!=B!=C:\n print("No")\n else :\n print("Yes")\n ', 'A,B,C = map(int,input().split())\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', 'Accepted']
['s307298481', 's108935981']
[2940.0, 2940.0]
[17.0, 17.0]
[128, 145]
p02771
u232873434
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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:\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')", "A,B,C = 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')"]
['Runtime Error', 'Accepted']
['s354658479', 's627084699']
[2940.0, 3064.0]
[17.0, 18.0]
[183, 184]
p02771
u233183615
2,000
1,048,576
A triple of numbers is said to be _poor_ when two of those numbers are equal but the other number is different 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')", "ABC=input().split()\nprint('Yes' if len(set(ABC))==2 else 'No')"]
['Wrong Answer', 'Accepted']
['s154327510', 's489687459']
[2940.0, 3064.0]
[17.0, 19.0]
[75, 62]