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
p02594
u441683798
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["if X<29:\n print('No')\nelse:\n print('Yes')\n ", "X=int(input())\nif X<30:\n print('No')\nelse:\n print('Yes')"]
['Runtime Error', 'Accepted']
['s801376151', 's411285547']
[8924.0, 9160.0]
[24.0, 24.0]
[48, 58]
p02594
u444560129
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['def ac_control(q):\n if q >= 30:\n return "Yes"\n else:\n return "No"\n\n\nif __name__ == \'__main__\':\n q = int(input())\n ac_control(q)', "def main(h):\n count = 1\n n = 0\n for i in range (k):\n n = (n * 10 + 7) % k \n if n == 0: \n print(count)\n return 0\n count += 1\n print(-1)\n \nif __name__ == '__main__':\n k = int(input())\n main(k)", 'def ac_control(q):\n if q >= 30:\n print("Yes")\n else:\n print("No")\nif __name__ == \'__main__\':\n q = int(input())\n ac_control(q)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s166173694', 's327877531', 's240488011']
[9044.0, 9136.0, 9108.0]
[28.0, 30.0, 28.0]
[141, 217, 139]
p02594
u445404615
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["x=int(input())\nif x>=30:print('Yes') \nelse: print('NO')", "x=int(input())\nif x>=30:print('Yes') \nelse: print('No')"]
['Wrong Answer', 'Accepted']
['s353664129', 's507576388']
[9068.0, 8916.0]
[30.0, 28.0]
[55, 55]
p02594
u446312507
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["def yesNo(X):\n if X <= 30:\n print('Yes')\n else:\n print('No')\n\nyesNo(X)", "X = int(input())\nif X >= 30:\n print('Yes')\nelse:\n print('No'9)", "if X >= 30:\n print('Yes')\nelse :\n print('No')\n", "X = int(input())\nif X >= 30:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s068111972', 's533625450', 's904152137', 's853408781']
[8980.0, 9000.0, 8876.0, 9012.0]
[24.0, 27.0, 23.0, 27.0]
[78, 64, 48, 67]
p02594
u454866890
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['N = int(input())\nif N >= 30:\n print(Yes)\nelse:\n print(No)', 'N = int(input())\nif N >= 30:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s091243347', 's242342592']
[9148.0, 9144.0]
[23.0, 25.0]
[59, 63]
p02594
u455957070
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["n = int(input())\nif(x >= 30):\n print('Yes')\nelse:\n print('No')", "n = int(input())\nif(n >= 30):\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s816530907', 's933707972']
[9144.0, 9148.0]
[23.0, 24.0]
[64, 64]
p02594
u456097246
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["k=int(input())\nif k<30:\n print('no')\nelse :\n print('yes')", "k=int(input())\nif k<30:\n print('No')\nelse :\n print('Yes')"]
['Wrong Answer', 'Accepted']
['s019997660', 's578861722']
[9140.0, 9140.0]
[26.0, 24.0]
[63, 63]
p02594
u459521923
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["x = int(input())\nif x <= 30:\n print('Yes')\nelse:\n print('No')", "x = int(input())\nif x >= 30:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s134187574', 's069378488']
[9044.0, 9080.0]
[30.0, 29.0]
[67, 67]
p02594
u459924492
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['print("input data")\nx = input()\nx1 = int(x)\n\nif 30<=x1:\n \n print("Yes")\n \nelse :\n print("No")', '\nx = input()\nx = int(x)\n\nif 30<=x:\n \n print("Yes")\n \nelse :\n print("No")']
['Wrong Answer', 'Accepted']
['s354554534', 's761627498']
[9164.0, 9144.0]
[31.0, 29.0]
[106, 85]
p02594
u462577180
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["X = int(input())\nif(X => 30):\n print('True')\nelse:\n print('False')", "X = int(input())\nif(X >= 30):\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s412984117', 's921619423']
[8880.0, 9152.0]
[22.0, 33.0]
[68, 68]
p02594
u464565824
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['X = input()\n \nif 30 =< X :\n\tprint("Yes")\nelse :\n print("No")', 'X=input(\nif 30<=X :\n\tprint("Yes")\nelse :\n print("No")', 'X=input()\n \nif X=>30. :\n print("Yes")\nelse :\n print("No")', 'X=input()\n\nif X=>30 :\n print("Yes")\nelse :\n print("No")\n \n ', 'X=input(int())\n \nif X=>30 :\n print("Yes")\nelse :\n print("No")', 'X = input(int())\n \nif 30 <= X :\n\tprint("Yes")\nelse :\n print("No")', 'X = input()\n \nif 30 <= X :\n\tprint("Yes")\nelse :\n print("No")', 'k = int(input())\na=0\nn=0\nif k%2==0 and k%5==0:\n print(-1)\nelse: \n for i in range (10**9):\n a+= 7*10**i\n if a%k ==0:\n print(i+1)\n break\n if i==10**8:\n print(-1)\n break', 'X=input()\n \nif 30<=X :\n print("Yes")\nelse :\n print("No")', 'X=input()\n \nif 30<=X :\n\tprint("Yes")\nelse :\n print("No")', 'X=int(input())\nif 30<=X :\n\tprint("Yes")\nelse :\n print("No")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s147525380', 's303605191', 's410111531', 's536896231', 's597988761', 's644368757', 's685096342', 's753483626', 's973662905', 's984487327', 's783693275']
[8880.0, 8856.0, 8924.0, 8944.0, 8996.0, 8860.0, 8832.0, 9164.0, 8860.0, 9024.0, 9156.0]
[26.0, 25.0, 21.0, 27.0, 31.0, 20.0, 26.0, 2206.0, 27.0, 25.0, 26.0]
[63, 56, 59, 63, 63, 69, 63, 198, 58, 59, 62]
p02594
u464823755
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['x = int(input())\nif x>=30:\n print(Yes)\nelse:\n print(No)', "x = int(input())\nif x>=30:\n print('Yes')\nelse:\n print('No')\n"]
['Runtime Error', 'Accepted']
['s054487535', 's511570273']
[9056.0, 9160.0]
[28.0, 29.0]
[57, 62]
p02594
u471743885
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["x = int(input)\nif x<30:\n print('Yes')\n else:\n print('No')", "x = int(input())\nif x<30:\n print('No')\nelse:\n print('Yes')"]
['Runtime Error', 'Accepted']
['s066234423', 's393937350']
[9016.0, 9040.0]
[23.0, 29.0]
[59, 60]
p02594
u474162944
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['n = int(input())\n\nstone = input()\n\ncount = 0\nw = n-1\nr = 0\n\nfor k in range(n):\n for i in range(n):\n if stone[i] == "W":\n w = i\n break\n\n for i in range(n):\n if stone[n-1-i] == "R":\n r = n-1-i\n break\n #print (w,r,count)\n if w < r:\n stone=stone[:w] + "R" +stone[w+1:r]+ "W" +stone[r+1:] \n count += 1\n #print(stone)\n \n else:\n break\nprint (count)\n', 't = int(input()):\n\nif 30 <= t <=40 :\n print("Yes")\nif -40 <= t < 30:\n print("No")\n ', 't = int(input())\n\nif 30 <= t <=40 :\n\tprint("Yes")\nif -40 <= t < 30 :\n\tprint("No")\n \n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s212164182', 's678199030', 's486011863']
[9188.0, 8992.0, 9116.0]
[24.0, 26.0, 26.0]
[451, 85, 85]
p02594
u474561976
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['def main():\n x = int(input())\n if x>=30:\n print("Yes")\n else:\n print("No") \nmain(9', 'import sys\ndef main():\n k = int(input())\n \n if k == 7 or k == 1:\n print(1)\n sys.exit()\n \n r = 7%k\n g = {r}\n ans = 1\n while True:\n ans+=1\n r = (10*r+7)%k\n if r==0:\n print(ans)\n break\n if r in g:\n print(-1)\n break\n else:\n g.add(r)\nmain()', 'def main():\n x = int(input())\n if x>=30:\n print("Yes")\n else:\n print("No") \nmain()\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s223672193', 's397656163', 's172309107']
[9008.0, 9184.0, 9144.0]
[24.0, 27.0, 25.0]
[106, 363, 107]
p02594
u476386869
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['import sys\ninput = sys.stdin.reaedline\n\ndef main():\n\tx = int(input())\n\n\tif x >= 30:\n print("Yes")\n else:\n print("No")\nmain()', 'def main():\n x = int(input())\n \n if x >= 30:\n print("Yes")\n else:\n print("No")\nmain()']
['Runtime Error', 'Accepted']
['s889911664', 's500069184']
[8920.0, 9032.0]
[23.0, 25.0]
[137, 108]
p02594
u478417863
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["k=int(input())\nf=-1\nfor i in range(1,100000):\n s=k*i\n l=len(str(s))\n for i in range(l):\n if str(s).count('7')==l:\n f=l\n break\nprint(f)", 'N = int(input().strip())\nif N>=30:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s220155284', 's507546401']
[9136.0, 9148.0]
[326.0, 30.0]
[172, 74]
p02594
u481060762
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['x = int(input())\n\nif x <= 30:\n print("Yes")\nelse:\n print("No")', 'x = int(input())\n\nif x >= 30:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s599400138', 's486875589']
[9144.0, 9148.0]
[30.0, 35.0]
[68, 68]
p02594
u486209657
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['N,D=map(int,input().split())\ncnt=0\nfor idx in range(N):\n X,Y=map(int,input().split())\n if X**2+Y**2<=D**2:\n cnt=cnt+1\nprint(cnt)\n', "X = int(input())\nif X >= 30:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s477430098', 's950806834']
[9108.0, 9148.0]
[23.0, 29.0]
[134, 63]
p02594
u486536494
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['import datetime\nimport string\nimport re\nimport math\n\ninput = Int(input())\n\nif input >= 30:\n print("Yes")\nelse:\n print("No")\n\nreturn', 'import datetime\nimport string\nimport re\nimport math\n\ninput = int(input())\n\nif input >= 30:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s783855813', 's909630866']
[9072.0, 10012.0]
[29.0, 37.0]
[137, 129]
p02594
u486646943
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["X = input()\n\nif X>=30:\n print('Yes')\nelse:\n print('No')\n", "X = int(input())\n\nif X>=30:\n print('Yes')\nelse:\n print('No')\n"]
['Runtime Error', 'Accepted']
['s654895523', 's463182391']
[9072.0, 9128.0]
[28.0, 29.0]
[62, 67]
p02594
u487912311
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["X = int(input('今の温度は?>'))\n\nif 40 >= X >= 30:\n command = 'yes'\nelif 30 > X >= -40:\n command = 'no'\nelse:\n command = 'Error'\nprint(command)\n", "x_str = input('今の温度は?>')\nx= int(x_str)\n\nif 40 >= x >= 30:\n command = 'yes'\nelif 30 > x >= -40:\n command = 'no'\nelse:\n command = 'Error'\nprint(command)\n", "X = int(input('今の温度は?>'))\n\nif X >= 30:\n command = 'yes'\nelif 30 > X :\n command = 'no'\n\nprint(command)\n", "X = int(input())\n\nif X >= 30:\n command = 'yes'\nelif 30 > X :\n command = 'no'\n\nprint(command)\n", "X = int(input())\n\nif X >= 30:\n print('yes')\nelse:\n print('no')\n", "X = int(input())\n\nif X >= 30:\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s007138903', 's240785255', 's401459790', 's493617335', 's854262255', 's255065576']
[9160.0, 9096.0, 9116.0, 8992.0, 9152.0, 9148.0]
[26.0, 28.0, 28.0, 29.0, 26.0, 30.0]
[159, 172, 120, 99, 69, 69]
p02594
u488884575
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["x=int(input())\nif x>=30:print('YES')\nelse:print('NO')", "x=int(input())\nif x>=30:print('Yes')\nelse:print('No')"]
['Wrong Answer', 'Accepted']
['s167310396', 's776066016']
[8960.0, 8992.0]
[29.0, 27.0]
[53, 53]
p02594
u490253811
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['if 30<= x:\n print"Yes"\nelse:\n print"No"', 'X = int(input())\n\nif 30<= X:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s871597269', 's586055090']
[9012.0, 9144.0]
[28.0, 28.0]
[41, 63]
p02594
u505830998
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['ret = "Yes" if int(input()) >= 30 else "No"', 'ret = "Yes" if int(input()) >= 30 else "No"\nprint(ret)']
['Wrong Answer', 'Accepted']
['s337230587', 's931198622']
[9036.0, 9140.0]
[33.0, 25.0]
[43, 54]
p02594
u506996808
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['X=int(input())\nif X>=30:\n print("YES")\nelse:\n print("NO")', 'X=int(input())\nif X>=30:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s423900318', 's662894381']
[9088.0, 9164.0]
[34.0, 24.0]
[63, 63]
p02594
u510749912
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['x = input()\nif(x>=30):\n print("Yes")\nif(x<30):\n print("No")\n', 'x = int(input())\n\nif(x >= 30):\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s071483864', 's070633222']
[8944.0, 9076.0]
[25.0, 29.0]
[66, 65]
p02594
u512873531
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["if int(input())<30: print('No')\n else: print('Yes')", "if(int(input())<30: print('No')\nelse: print('Yes')", "if int(input())<30: print('No')\nelse: print('Yes')\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s260966495', 's566325099', 's230332932']
[8824.0, 9000.0, 9164.0]
[22.0, 25.0, 32.0]
[52, 50, 51]
p02594
u514118270
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["N=input()\nc=input()\nprint(c[:c.count('R')].count('W'))\n", "import sys\nimport math\nimport itertools\nimport bisect\nfrom copy import copy\nfrom collections import deque,Counter\nfrom decimal import Decimal\ndef s(): return input()\ndef i(): return int(input())\ndef S(): return input().split()\ndef I(): return map(int,input().split())\ndef L(): return list(input().split())\ndef l(): return list(map(int,input().split()))\ndef lcm(a,b): return a*b//math.gcd(a,b)\nsys.setrecursionlimit(10 ** 9)\nINF = 10**9\nmod = 10**9+7\n\nX = i()\nif X >= 30:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s394001259', 's149562286']
[8952.0, 10072.0]
[28.0, 36.0]
[55, 509]
p02594
u514334797
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['x = input()\n\nif x >= 30:\n print("Yes")\nelse:\n print("No")', 'x = input()\n\nif x >= 30:\n print("Yes")\nelse:\n print("No")', 'X = int(input())\n\nif X >= 30:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s371718188', 's800491493', 's756133741']
[8988.0, 8992.0, 9128.0]
[27.0, 27.0, 29.0]
[63, 63, 68]
p02594
u518818546
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['x = input()\nif x >= 30:\n print("Yes")\nelse:\n print(\'No\')', 'x = input()\nif x >= 30:print("Yes") \nelse:print("No")', 'If x => 30:\n print(yes)\n \nelse:\n print(No)', 'x = int(input())\nif x >= 30:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s495277649', 's804377706', 's920229093', 's074699120']
[9028.0, 9020.0, 8964.0, 9028.0]
[24.0, 26.0, 25.0, 24.0]
[58, 54, 45, 64]
p02594
u523031011
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["if X>=30:\n print('Yes')\nelse:\n print('No')", "x = int(input)\nif x>=30:\n print('Yes')\nelse:\n print('No')", "X = int(input())\nif X>=30:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s133142489', 's502928392', 's397296564']
[9020.0, 9044.0, 9044.0]
[24.0, 24.0, 30.0]
[44, 59, 61]
p02594
u530380581
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['x = input()\nif x >= 30:\n print("Yes")\nelse:\n print("No")\n', 'x = int(input())\nif x >= 30:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s624570905', 's003618452']
[9080.0, 9044.0]
[25.0, 27.0]
[63, 68]
p02594
u531219227
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['X = int(input())\n\nif X>=30:\n print("Yes")\nelse:\n print("Np")', 'X = int(input())\n\nif X >= 30:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s300206268', 's083849716']
[9144.0, 9088.0]
[29.0, 32.0]
[62, 64]
p02594
u532966492
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['def input(): return next(input_sample)\n\n\ninput_sample = iter("""\n30\n""".split("\\n")[1:-1])\n\n\ndef main():\n if int(input()) >= 30:\n print("Yes")\n else:\n print("No")\n\n\nmain()\n', 'def main():\n if int(input()) >= 30:\n print("Yes")\n else:\n print("No")\n\n\nmain()\n']
['Wrong Answer', 'Accepted']
['s404445618', 's313090318']
[9144.0, 9144.0]
[30.0, 30.0]
[192, 99]
p02594
u543759722
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['X=input()\nif (X>40||X<-40):\n return 0\n if(X=>30):\n print(Yes)\n else:\n print(No)\n', 'input(X)\nif (X>40||X<-40):\n return 0\n if(X=>30):\n print(Yes)\n else:\n print(No)\n', "x=input()\nX=int(x)\nif (X>40||X<-40):\n return 0\nelif(X=>30&&X=<40):\n print('Yes')\nelif(X=>-40&&X<30):\n print('No')\n", 'X=input()\nif (X>40||X<-40):\n return 0\n\nif(X=>30&&X=<40):\n print("Yes")\nelse:\n print("No")\n', "\nX=input()\n\nif (X>40||X<-40):\n return 0\nelif(X=>30&&X=<40):\n print('Yes')\nelif(X=>-40&&X<30)\n print('No')\n", "X=input()\n\nif (X>40 or X<-40):\n return 0\nelif(X=>30 and X=<40):\n print('Yes')\nelif(X=>-40 and X<30)\n print('No')\n\n", "x=input()\nX=int(x)\nif(X>=30 and X<=40):\n print('Yes')\nelif(X>=-40 and X<30):\n print('No')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s206107749', 's228410999', 's274754069', 's302578429', 's516756866', 's710580782', 's755640453']
[8996.0, 8904.0, 8936.0, 8940.0, 9000.0, 9008.0, 9168.0]
[28.0, 23.0, 22.0, 26.0, 27.0, 30.0, 34.0]
[89, 88, 117, 93, 109, 117, 91]
p02594
u544272759
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['x = int(input())\nif x > 30:\n print("Yes")\nelse\n print("No")', 'x = int(input())\nif x >= 30:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s881056311', 's131008564']
[8848.0, 9140.0]
[24.0, 28.0]
[61, 63]
p02594
u547090345
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["X=int(input())\nprint('YNeos'[X>=30::2])", "X=int(input())\nprint('YNeos'[X<30::2])"]
['Wrong Answer', 'Accepted']
['s161259144', 's572231266']
[9148.0, 9144.0]
[29.0, 29.0]
[39, 38]
p02594
u548301928
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['x = int(input())\nif x>= 30:\n print("Yes")\n else:\n print("No")', 'x = int(input())\nif x>= 30:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s033527823', 's705317297']
[9008.0, 9092.0]
[25.0, 28.0]
[63, 62]
p02594
u549473797
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["x=input () \nif x>=30:\n print ('Yes') \nelse:\n print('No') ", "x=input() \nx=int(x) \nif x>=30:\n print ('Yes') \nelse:\n print('No') "]
['Runtime Error', 'Accepted']
['s329980241', 's305389578']
[9080.0, 9144.0]
[24.0, 34.0]
[59, 68]
p02594
u550416338
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["on_or_off = int(input())\n\nif -40 <= on_or_off <= 40:\n print('Yes')\n \nelse:\n print('No')", "ans = int(input())\nif ans >= 30:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s328435128', 's033261549']
[9120.0, 9096.0]
[27.0, 27.0]
[90, 67]
p02594
u558717347
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["temp = int(input())\n\nif temp >= 30:\n print('Yes')\nelse:3\n print('No')\n ", "temp = int(input())\n\nif temp >= 30:\n print('Yes')\nelse:\n print('No')\n "]
['Runtime Error', 'Accepted']
['s234401588', 's384144598']
[9004.0, 9140.0]
[27.0, 29.0]
[80, 79]
p02594
u559315737
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['x=int(input())\nif x>=30:\n print("Yes")\nelse:\n print("NO")\n', 'x=int(input())\nif x>=30:\n print("YES")\nelse:\n print("NO")', 'x=int(input())\nif x>=30:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s781220962', 's840287941', 's316318540']
[9140.0, 9160.0, 9156.0]
[25.0, 28.0, 26.0]
[60, 59, 59]
p02594
u561878994
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['X=input()\nif X<30:\n print("No\\n")\nelse:\n print("Yes\\n")', 'X=input()\nif X<30:\n print("NO\\n")\nelse:\n print("YES\\n")\n', 'X=input()\nif X<30:\n print("No\\n")\nelse:\n print("Yes\\n")', 'X=int(input())\nif X<30:\n print("No")\nelse:\n print("Yes")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s422735640', 's468368306', 's522184177', 's609304525']
[8844.0, 9072.0, 9020.0, 9040.0]
[22.0, 25.0, 26.0, 26.0]
[61, 62, 61, 62]
p02594
u563430990
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['x = int(input())\nif -40 <= x <= 40:\n ans = ["Yes" if x >= 30 else "No"]\n print(ans)', 'x = int(input())\nans = ["Yes" if x >= 30 and -40 <= x <= 40 else "No"]\nprint(ans)', 'x = int(input())\nif -40 <= x <= 40:\n [print("Yes") if x >= 30 else print("No")]']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s357183595', 's385866957', 's013345733']
[9012.0, 9160.0, 9156.0]
[27.0, 27.0, 24.0]
[89, 81, 82]
p02594
u563711100
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['n = int(inpiut())\n\nif n >= 30:\n print("Yes")\nelse:\n print("No")\n ', 'n = int(input)\n\nif n >= 30:\n print("Yes")\nelse:\n print("No")', 'n = int(input())\n \nif n >= 30:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s613604207', 's972856615', 's394070466']
[9068.0, 9028.0, 9048.0]
[27.0, 29.0, 35.0]
[68, 62, 65]
p02594
u571867512
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['X = int(input().split())\n\nif X >= 30:\n print("Yes")\nelse:\n print("No")\n', 'X = int(input())\n\nif X >= 30:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s217813658', 's918121603']
[9008.0, 9076.0]
[27.0, 28.0]
[77, 69]
p02594
u572425901
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['k = int(input())\nn = 7\n\nif k % 2 == 0 or k % 5 == 0:\n print(-1)\n exit()\n\nans = 1\nwhile True:\n if n % k == 0:\n print(ans)\n exit()\n n = (n*10 + 7)%k\n ans += 1', 'X = int(input())\n\nif X >= 30:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s904334467', 's424759433']
[9032.0, 9144.0]
[27.0, 27.0]
[185, 68]
p02594
u576109213
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['n = int(input())\nif n >= 30:\n print("YES")\nelse:\n print("NO")', 'n = int(input())\nif n >=30:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s491851430', 's331465747']
[9084.0, 9112.0]
[34.0, 27.0]
[63, 62]
p02594
u577139181
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['if input() >= 30:\n print("Yes")\nelse:\n print("Yes")', 'import sys\na = int(sys.stdin)\nif a >= 30:\n\tprint("Yes")\nelse:\n\tprint("No")', 'if int(input()) >= 30:\n\tprint("Yes")\nelse:\n\tprint("No")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s083921106', 's510597066', 's771787646']
[8904.0, 9084.0, 9000.0]
[27.0, 22.0, 28.0]
[53, 74, 55]
p02594
u577868286
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['k = int(input())\n\nans = 0\nif k == 7:\n ans = 1\nelif k % 2 == 0:\n ans = -1\nelse:\n for i in range(1, (len(str(k)) * 7) + 1):\n tgt = int("7" * i)\n if tgt % k == 0:\n ans = i\n break\n if ans == 0:\n ans = -1\n\nprint(ans)', 'k = int(input())\n\nif k == 7:\n ans = 1\nelif k % 2 == 0:\n ans = -1\nelse:\n for i in range(1, (len(str(k)) * 3) + 1):\n tgt = int("7" * i)\n if tgt % k == 0:\n ans = i\n break\n\nprint(ans)', 'print("Yes") if int(input()) >= 30 else print("No")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s257608170', 's418225598', 's280356222']
[9184.0, 9176.0, 9144.0]
[31.0, 33.0, 29.0]
[266, 224, 51]
p02594
u578875115
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['X = int(input())\nreturn X>=30 ', "X = int(input())\nif X >= 30:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s240473285', 's596236309']
[9020.0, 9064.0]
[24.0, 24.0]
[30, 63]
p02594
u578930448
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['x = int(input())\n\nans = "No" if x >= 30 else "Yes"\n\nprint(ans)\n', 'x = int(input())\n\nans = "No" if x < 30 else "Yes"\n\nprint(ans)\n']
['Wrong Answer', 'Accepted']
['s744557171', 's085531121']
[9140.0, 9140.0]
[32.0, 33.0]
[63, 62]
p02594
u579171162
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["x = int(input())\nres = 'Yes' if x >= 30 else 'No'\nprint(x)\n", "n = int(input())\nif n >= 30:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s160153245', 's316986547']
[9148.0, 9096.0]
[29.0, 31.0]
[59, 63]
p02594
u579856806
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["x = int(input())\nif x < 30: print('NO')\nelse: print('YES')", 'x = int(input())\nif x < 30: print("No")\nelse: print("Yes")']
['Wrong Answer', 'Accepted']
['s999864903', 's310492015']
[9052.0, 9148.0]
[26.0, 27.0]
[58, 58]
p02594
u580151174
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["X = input()\n\nif X>=30:\n print('Yes')\nelse:\n print('No')", 'input(X)\n\nif X>=30:\n print(\'Yes\')\nelse:\n print(\'No")\n ', "if X>= 30:\n print('Yes')\nelse:\n print('No')", "X = int(input())\n\nif X>=30:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s171028001', 's276056863', 's304105178', 's096478569']
[9088.0, 9000.0, 9064.0, 9124.0]
[27.0, 25.0, 26.0, 32.0]
[57, 63, 45, 62]
p02594
u581503808
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['a=int(input(""))\nif a>=30:\n print("yes")\nelif a<30:\n print("no")', 'a=int(input(""))\nif a>=30:\n print("Yes")\nelif a<30:\n print("No")']
['Wrong Answer', 'Accepted']
['s216607498', 's218687949']
[9088.0, 9108.0]
[30.0, 26.0]
[70, 70]
p02594
u583200093
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["X = int(input())\nif(X <= 30):\n print('Yes')\nelse:\n print('No')", "X = int(input())\nif(X >= 30):\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s870784269', 's491828817']
[9028.0, 9140.0]
[26.0, 28.0]
[64, 64]
p02594
u585859831
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['if X >= 30:\n print("Yes")\nelse:\n print("No")', 'X = int(input())\nif X >= 30:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s663851876', 's387832520']
[9012.0, 9156.0]
[27.0, 29.0]
[46, 63]
p02594
u587429593
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['n = int(input())\nif n >= 30\n print("Yes")\n else:\n print("No")\n \n\n \n \n ', 'n = int(input())\nif 40 >= n > 29:\n print("Yes")\n else:\n print("No")', 'X = int(input())\nif X >= 30:\n print("Yes")\n elif -40 <= X <= 29:\n print("No")\n else:\n pass\n ', 'n = int(input())\nif n > 29:\n print("Yes")\n elif 0 < n <= 29:\n print("No")', 'n = int(input())\nif 30 <= n <= 40:\n print("Yes")\n elif 0 < n <= 29:\n print("No")\n else:\n print("No")', "n = int(input())\n\nif 30 <= n <= 40:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s230686310', 's649739888', 's729170435', 's751179750', 's989630575', 's415398592']
[8944.0, 8940.0, 8940.0, 9004.0, 8820.0, 9084.0]
[33.0, 26.0, 28.0, 25.0, 24.0, 30.0]
[82, 72, 100, 78, 113, 70]
p02594
u588177797
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['print(int(input())>=30)', 'ans = "Yes" if int(input())>=30 else "No"\nprint(ans)']
['Wrong Answer', 'Accepted']
['s850111013', 's153453167']
[9144.0, 9156.0]
[33.0, 25.0]
[23, 52]
p02594
u589432040
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['if int(input()) >= 30:\n print("Yes")\nlese:\n print("No")', 'if int(input()) >= 30:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s866996748', 's330209681']
[8852.0, 9092.0]
[20.0, 29.0]
[57, 58]
p02594
u589766880
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["tep = input()\nif tep>=30:\n print('Yes')\nelse :\n print('No')", "tep = input()\nif tep>=30:\n\tprint('Yes')\nelse:\n\tprint('No')", "tep = input()\nif tep<-40 or tep>40:\n break\nelif tep >=30:\n print('Yes')\nelse:\n print('No')", "temp = input()\ntemp = int(temp)\nif temp<-40 or temp>40:\n print('Out') \nelif temp >=30: \n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s433949961', 's681413952', 's954266481', 's055244682']
[9092.0, 9088.0, 9008.0, 9108.0]
[24.0, 22.0, 24.0, 27.0]
[61, 58, 93, 132]
p02594
u592246102
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["tem = input()\nif tem >= 30:\n print('Yes')\nelse:\n print('No')", "tem = int(input())\nif tem >= 30:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s843662503', 's150959944']
[8924.0, 9096.0]
[26.0, 31.0]
[62, 67]
p02594
u593222312
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['x = input()\n\nif x >= 30:\n print("Yes")\nelse:\n print("No")', 'x = input()\n\nif int(x) >= 30:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s323620360', 's483490551']
[8804.0, 9128.0]
[27.0, 27.0]
[63, 68]
p02594
u595898714
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["val = input()\n\nif val>=30:\n print('Yes')\nelse:\n print('No')", "val = int(input())\nif val>=30:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s760689188', 's601637653']
[8964.0, 9028.0]
[23.0, 28.0]
[65, 69]
p02594
u596847957
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['X=int(input())\nans=None\n\nif X>=30:\n ans=Yes\nelse:\n ans=No\n\nprint(ans)', 'X=int(input())\nans=None\n\nif X>=30:\n ans=Yes\nelse:\n ans=No\n\nprint(ans)', 'X=int(input())\nans=None\n\nif X>=30:\n ans="Yes"\nelse:\n ans="No"\n\nprint(ans)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s462991356', 's848942915', 's999779881']
[9164.0, 9124.0, 9036.0]
[29.0, 32.0, 27.0]
[71, 75, 79]
p02594
u599547273
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['OK = 0\nNG = 5000000000\n\nmid = (OK+NG) // 2\n\ns = 0\nfor i in range(mid):\n s += i\n\nX = int(input())\n\nprint("Yes" if X >= 30 else "No")', 'X = int(input())\n\nprint("Yes" if 30 <= X else "No")']
['Time Limit Exceeded', 'Accepted']
['s075629468', 's955313466']
[8904.0, 9144.0]
[2206.0, 29.0]
[134, 51]
p02594
u602500004
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['import numpy as np\nimport sys\nsys.setrecursionlimit(10**7)\n\ndef _S(): return sys.stdin.readline().rstrip()\ndef I(): return int(_S())\ndef LS(): return list(_S().split())\ndef LI(): return list(map(int,LS()))\n\nN,Q = LI()\n_c = LI()\n_lr = [LI() for _ in range(Q)]\nlr = np.array(_lr)\nc = np.zeros(N + 1)\nc[1:] = _c\n\nfor pair in lr:\n print(len(set(c[pair[0]:pair[1]+1])))\n', "import bisect,collections,copy,heapq,itertools,math,string\nfrom collections import defaultdict as D\nfrom functools import reduce\nimport numpy as np\nfrom numba import njit\nimport sys\nsys.setrecursionlimit(10**7)\n\ndef _S(): return sys.stdin.readline().rstrip()\ndef I(): return int(_S())\ndef LS(): return list(_S().split())\ndef LI(): return list(map(int,LS()))\n\nX = I()\nif X >= 30:\n ans = True\nelse:\n ans = False\n\nif ans:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s424611926', 's035883068']
[27160.0, 91760.0]
[111.0, 385.0]
[368, 463]
p02594
u603695922
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['N,D = map(int , input().split()) \nans = 0\n\nfor i in N :\n x,y = map(int , input().split())\n if x**2 + y**2 <= D**2:\n ans += 1\n\nprint(ans)\n\n', "num = int(input())\n\nif num >= 30 :\n print('Yes')\nelse :\n print('No')"]
['Runtime Error', 'Accepted']
['s339215574', 's020963271']
[8880.0, 9152.0]
[30.0, 28.0]
[252, 74]
p02594
u606001175
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['n = int(inpput())\nif n >= 30:\n print("Yes")\nelse:\n print("No")\n', 'n = int(input())\nif n >= 30:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s131572355', 's842701073']
[9004.0, 9136.0]
[26.0, 25.0]
[69, 68]
p02594
u609561564
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['k=int(input())\n\n\ninit=7\nfor i in range(k+1):\n if init%k ==0:\n print(i+1)\n break\n t = t*10+7\nprint(-1)', 'k=int(input())\n \nans=-1\ninit=7\nfor i in range(k+1):\n if init%k ==0:\n ans=i+1\n break\n init = init*10+7\nprint(ans)', "x=int(input())\n\nprint('Yes') if x>29 else print('No')"]
['Runtime Error', 'Wrong Answer', 'Accepted']
['s663153999', 's952554039', 's330807677']
[9168.0, 9148.0, 9148.0]
[25.0, 30.0, 33.0]
[109, 120, 53]
p02594
u611945374
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['if int(input())>29:\n print(Yes)\nelse:\n print(No)', 'if int(input())>29:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s418886755', 's137156858']
[9088.0, 9068.0]
[24.0, 28.0]
[50, 55]
p02594
u612584323
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["import sys\ninput = lambda :sys.stdin.readline().rstrip('\\r\\n')\nprint(int(input())>=30)", 'import sys\ninput = lambda :sys.stdin.readline().rstrip(\'\\r\\n\')\nprint("Yes" if int(input())>=30 else "No")']
['Wrong Answer', 'Accepted']
['s663203207', 's319826321']
[9060.0, 9100.0]
[29.0, 30.0]
[86, 105]
p02594
u612599720
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['K = int(input())\ncount = 0\nfor sev in range(10**3):\n sev = sev *10 + 7\n count += 1\n if K % sev == 0:\n pass\n elif sev >10**6:\n count = -1\n pass\nprint(count)', 'X = int(input())\nif X>= 30:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s708370468', 's601242498']
[9172.0, 9172.0]
[28.0, 27.0]
[168, 62]
p02594
u614728159
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['N = int(input())\n\nprint("Yes")', 'x = int(input())\n \nif\u3000x>29:\n print("Yes")\nelse:\n print("No")', 'x = input()\n\nif x >= 30:\n print("Yes")\nelse:\n print("No")', 'x = int(input())\n\nif\u3000x>29:\n print("yes")\nelse:\n print("no")\n', 'N = int(input())\n \nif N < 30:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s216692221', 's486493355', 's498973408', 's857411706', 's275822419']
[9144.0, 9000.0, 8988.0, 9008.0, 9088.0]
[32.0, 26.0, 25.0, 29.0, 27.0]
[30, 64, 63, 64, 68]
p02594
u617953889
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['n =int(input())\nif n>=30:\n print("YES")\nelse:\n print("NO")\n \n\n', 'n =int(input())\nif n>=30:\n print("Yes")\nelse:\n print("No")\n \n\n']
['Wrong Answer', 'Accepted']
['s514295994', 's132137280']
[9004.0, 9080.0]
[28.0, 30.0]
[71, 71]
p02594
u623687794
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['import sys\ninput = sys.stdin.readline\nn,k=map(int,input().split())\na=list(map(int,input().split()))\nok=10**10\nng=1\nfor i in range(40):\n chk=(ok+ng)//2\n cnt=0\n for j in range(n):\n cnt+=(a[j]+chk-1)//chk-1\n if cnt > k:\n ng = chk\n else:\n ok = chk\nprint(ok)\n', 'x=int(input())\nif x>=30:print("Yes")\nelse:print("No")']
['Runtime Error', 'Accepted']
['s927849862', 's021699653']
[9112.0, 9140.0]
[26.0, 27.0]
[290, 53]
p02594
u625920333
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['n=int(input())\ns=input()\n\nrcount=s.count("R")\nnum=s[0:rcount]\nrnum=num.count("R")\n\n\n\nprint(rcount-rnum)', 's=input()\n\n\ncon=False\n\nans=0\nfor i in range(3):\n if(s[i]=="R" and con):\n ans+=1\n elif(s[i]=="R" and not(con)):\n ans=1\n con=True\n else:\n con=False\n \nprint(ans)', 'n=int(input())\n\nprint(\'Yes\' if n>=30 else "No")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s506090511', 's850191362', 's961661101']
[9160.0, 9104.0, 9088.0]
[23.0, 26.0, 26.0]
[103, 178, 47]
p02594
u628450150
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["N = int(input())\nc= list(input()) \nif c.count('R') == N:\n\tprint(0)\n\texit()\ndiv=0\naddcnt = 0\nif N %2 == 1:\n\tdiv =1\n\tQ = c[int(N/2)]\n\t# print(Q)\n\tif Q == 'W':\n\t\taddcnt +=1\n\t\t# print('QQQ!')\nclist_L = c[:int(N/2)]\nclist_R = c[int(N/2)+div:]\nLcnt = clist_L.count('W')\nRcnt = clist_R.count('R')\nif Lcnt - Rcnt <=0:\n\tprint(Rcnt-addcnt)\nelse:\n\tprint(Lcnt-Rcnt+addcnt)", "s = int(input())\n\n\nif s >= 30:\n\tprint('Yes')\nelse:\n\tprint('No')\n"]
['Runtime Error', 'Accepted']
['s725497921', 's753302360']
[9208.0, 9084.0]
[24.0, 23.0]
[360, 64]
p02594
u629186149
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['a = input()\nif a >=30:\n print("Yes")\nelse:\n print("No")', 'a = int(input())\nif a >=30:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s235761931', 's066749017']
[8948.0, 9144.0]
[28.0, 29.0]
[57, 62]
p02594
u629201777
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['x = int(input())\nprint("Yes" if x>=-40 and x<=40 else "No")', 'x = int(input())\nprint("Yes" if x>=30 else "No")']
['Wrong Answer', 'Accepted']
['s610564589', 's838586389']
[9152.0, 9156.0]
[30.0, 33.0]
[59, 48]
p02594
u629540524
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["x = input()\nif x >= 30:\n print('Yes')\nelse:\n print('No')", "x = int(input())\nif x >= 30:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s405049921', 's590162237']
[8968.0, 9144.0]
[30.0, 33.0]
[62, 67]
p02594
u630004940
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['X=input()\nif X<30:\n print("No")\nelse:\n print("Yes")', "X=int(input())\nif X<30:\n print('No')\nelse:\n print('Yes')"]
['Runtime Error', 'Accepted']
['s257482078', 's034296409']
[8932.0, 9140.0]
[22.0, 27.0]
[53, 58]
p02594
u635621124
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['def main():\n X = int(input())\n if (-40 <= X) and (X <= 40):\n print("Yes")\n else:\n print("No")\n\n\nif __name__ == "__main__":\n main()\n', 'def main():\n X = int(input())\n if 30 <= X:\n print("Yes")\n else:\n print("No")\n\n\nif __name__ == "__main__":\n main()\n']
['Wrong Answer', 'Accepted']
['s470514660', 's579067014']
[9084.0, 9004.0]
[32.0, 34.0]
[157, 140]
p02594
u637289184
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['N = int(input())\nif N>=30:\n print("YES")\nelse:\n print("NO")', 'N = int(input())\nif N>=30:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s366824244', 's063411442']
[9148.0, 9148.0]
[31.0, 31.0]
[65, 65]
p02594
u639318121
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['K = int(input())\nif K==7 or K==1:\n print(1)\nif K==11:\n print(2)\nif K in (3,37,3*37):\n print(3)\nelif K in (11,101,1111):\n print(4)\nelif K in (41,271,11111):\n print(5)\nelif K in (3, 7, 11, 13, 21, 33, 37, 39, 77, 91, 111, 143, 231, 259, 273, 407, 429, 481, 777, 1001, 1221, 1443, 2849, 3003, 3367, 5291, 8547, 10101, 15873, 37037, 111111):\n print(6)\nelif K in (239,4649,239*4649):\n print(7)\nelse:\n print(-1)', 'x = int(input())\nif x >= 30:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s811750163', 's377890328']
[9148.0, 9152.0]
[25.0, 28.0]
[437, 67]
p02594
u642529859
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["X = int(input())\nIf X >= 30:\nprint ('Yes')\nelse:\nprint('No')\n", "X = int(input())\nIf X => 30:\nprint ('Yes')\nelse:\nprint('No')\n", 'X = int(input())\nIf X >= 30:\nprint("Yes")\nelse:\nprint("No")', "X = int(input())\nIf X =< 30:\nprint ('Yes')\nelse:\nprint('No')", 'X= int(input())\nif X >= 30:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s035510225', 's168513109', 's333661151', 's456851948', 's734754760']
[8836.0, 8960.0, 8896.0, 8964.0, 9160.0]
[30.0, 25.0, 19.0, 23.0, 31.0]
[61, 61, 59, 60, 61]
p02594
u645504441
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['X = int(input())\n\nif(x >= 30 ):\n print(Yes)\nelse:\n print(No)', 'x = int(input())\n \nif(x >= 30 ):\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s478152880', 's281436830']
[9148.0, 9148.0]
[25.0, 26.0]
[62, 67]
p02594
u646661668
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['X = int(input())\nif X >= 30:\n print("Yes")\nelse:\n pritn("No")', 'X = input()\nif X >= 30:\n print("Yes")\nelse:\n print("No")', 'X = int(input())\nif X >= 30:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s163758910', 's325459334', 's981910760']
[9084.0, 9016.0, 9140.0]
[23.0, 24.0, 31.0]
[63, 58, 63]
p02594
u648431783
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["temp = input()\nif temp > 30:\n print('Yes')\nelse:\n print('No')", "if int(input()) >= 30:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s501427589', 's585199111']
[9080.0, 9144.0]
[23.0, 26.0]
[67, 61]
p02594
u649769812
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["x = int(input())\n\nif x>=30:\n print('YES')\nelse:\n print('NO')", "x = int(input())\n\nif x >= 30:\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Accepted']
['s922763907', 's208959104']
[9144.0, 9140.0]
[27.0, 32.0]
[66, 69]
p02594
u650458605
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['t=int(input())\nif t>=30:\n print("yes")\nelse:\n print("no")', 't=int(input())\nif t>=30:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s551301586', 's235675711']
[9148.0, 9088.0]
[29.0, 25.0]
[59, 59]
p02594
u652907854
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['\n\n\n# [temp1.py] => [29-07-2020 @ 10:25:10] \n# Author & Template by : Udit "luctivud" Gupta\n# https://www.linkedin.com/in/udit-gupta-1b7863135/\n\n\nimport math; from collections import *\nimport sys; from functools import reduce\nimport time; from itertools import groupby\n\n\n\ndef input() : return sys.stdin.readline()\ndef get_ints() : return map(int, input().strip().split())\ndef get_list() : return list(get_ints())\ndef get_string() : return list(input().strip().split())\ndef printxsp(*args) : return print(*args, end="")\ndef printsp(*args) : return print(*args, end=" ")\n\n\nDIRECTIONS = [(+0, +1), (+0, -1), (+1, +0), (+1, -1)] \nNEIGHBOURS = [(-1, -1), (-1, +0), (-1, +1), (+0, -1),\\\n (+1, +1), (+1, +0), (+1, -1), (+0, +1)]\n\n\nCAPS_ALPHABETS = {chr(i+ord(\'A\')) : i for i in range(26)}\nSMOL_ALPHABETS = {chr(i+ord(\'a\')) : i for i in range(26)}\nINF = float(\'inf\')\n\n\n# Custom input output is now piped through terminal commands.\n# for _test_ in range(int(input())): \nx = int(input())\nprint("YES" if x >= 30 else "NO")\n\n\n\n\n', '\n\n\n# [temp1.py] => [29-07-2020 @ 10:25:10] \n# Author & Template by : Udit "luctivud" Gupta\n# https://www.linkedin.com/in/udit-gupta-1b7863135/\n\n\nimport math; from collections import *\nimport sys; from functools import reduce\nimport time; from itertools import groupby\n\n\n\ndef input() : return sys.stdin.readline()\ndef get_ints() : return map(int, input().strip().split())\ndef get_list() : return list(get_ints())\ndef get_string() : return list(input().strip().split())\ndef printxsp(*args) : return print(*args, end="")\ndef printsp(*args) : return print(*args, end=" ")\n\n\nDIRECTIONS = [(+0, +1), (+0, -1), (+1, +0), (+1, -1)] \nNEIGHBOURS = [(-1, -1), (-1, +0), (-1, +1), (+0, -1),\\\n (+1, +1), (+1, +0), (+1, -1), (+0, +1)]\n\n\nCAPS_ALPHABETS = {chr(i+ord(\'A\')) : i for i in range(26)}\nSMOL_ALPHABETS = {chr(i+ord(\'a\')) : i for i in range(26)}\nINF = float(\'inf\')\n\n\n# Custom input output is now piped through terminal commands.\n# for _test_ in range(int(input())): \nx = int(input())\nprint("Yes" if x >= 30 else "No")\n\n\n\n\n']
['Wrong Answer', 'Accepted']
['s511244116', 's878629062']
[9584.0, 9520.0]
[36.0, 30.0]
[1434, 1434]
p02594
u654192896
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
['m=int(input())\nif m>=30:\n print("yes")\nelse:\n print("no")\n \n ', 'X=int(input())\nif X>=30:\n print("Yes")\nelse:\n print("No")\n \n ']
['Wrong Answer', 'Accepted']
['s588486615', 's169603608']
[9128.0, 9036.0]
[31.0, 27.0]
[77, 77]
p02594
u657284954
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["n = int(input())\nif n >= 30:\n print('Yes')\n else:\n print('No')", "n = int(input())\nif n >= 30:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s085929093', 's116804160']
[8972.0, 9144.0]
[26.0, 28.0]
[64, 63]
p02594
u661040695
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["a=int(input())\na>=30:\n print('Yes')\n else:\n print('No')", "temperature=input()\nif temperature >= 30:\n print('Yes')\n else:\n print('No')", "a=int(input())\na>=30:\n print('Yes')\nelse:\n print('No')", "a=int(input())\nif a>=30:\n print('Yes')\nelse:\n print('No')\n "]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s591896959', 's680705115', 's707760220', 's220377950']
[8932.0, 8988.0, 8924.0, 9148.0]
[28.0, 27.0, 24.0, 28.0]
[57, 77, 56, 62]
p02594
u661258331
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["x = int(input())\nif x >= 30:\n return 'Yes'\nelse:\n return 'No' ", "x = int(input())\nif x >= 30:\n print('Yes')\nelse:\n print('No') "]
['Runtime Error', 'Accepted']
['s842181124', 's772808097']
[9080.0, 9148.0]
[26.0, 28.0]
[68, 68]
p02594
u664907598
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["x=int(iput())\nif x>=30:\n print('Yes')\nelse:\n print('No')", "x=int(input())\nif x>=30:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s870346926', 's425586590']
[8908.0, 9008.0]
[28.0, 31.0]
[62, 63]
p02594
u667427469
2,000
1,048,576
You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above. The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?
["X = input()\n\nX = int(X)\n\nif X >= 30:\n print('YES')\nelse:\n print('NO')", "X = input()\n\nX = int(X)\n\nif X >= 40:\n print('YES')\nelse:\n print('NO')", "X = input()\n\nif int(X) >= 40:\n print('YES')\nelse:\n print('NO')", "X = input()\n\nif X >= 40:\n print('YES')\nelse:\n print('NO')", "X = input()\n\nX = int(X)\n\nif X >= 30:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s020646625', 's473862338', 's929453768', 's987402715', 's996536746']
[9032.0, 9064.0, 9120.0, 9016.0, 9088.0]
[28.0, 26.0, 30.0, 22.0, 28.0]
[75, 75, 68, 63, 75]