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
|
u200488698
| 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?
|
['#!/usr/bin/env python\n\nimport sys\nimport argparse\nimport logging\n\nlogging.basicConfig(filename=\'logger.log\', level=logging.DEBUG)\nlogger = logging.getLogger(__name__)\nlogger.setLevel(logging.DEBUG)\n\n\ndef f(x: int) -> int:\n \'\'\'\n >>> f(29)\n No\n >>> f(30)\n Yes\n >>> f(31)\n Yes\n \'\'\'\n if x >= 30:\n print("Yes")\n else:\n print("No")\n\n\nif __name__ == \'__main__\':\n parser = argparse.ArgumentParser()\n parser.add_argument(\n \'--doctest\', action=\'store_true\', default=False)\n args = parser.parse_args()\n if args.doctest:\n import doctest\n doctest.testmod(verbose=True)\n sys.exit()\n\n x = int(sys.stdin.readline().rstrip())\n print(x)\n #print("%s" % (\' \'.join(map(lambda x: str(x), f(n, y)))))', '#!/usr/bin/env python\n\nimport sys\nimport argparse\nimport logging\n\nlogging.basicConfig(filename=\'logger.log\', level=logging.DEBUG)\nlogger = logging.getLogger(__name__)\nlogger.setLevel(logging.DEBUG)\n\n\ndef f(x: int) -> str:\n \'\'\'\n >>> f(-40)\n \'No\'\n >>> f(-1)\n \'No\'\n >>> f(0)\n \'No\'\n >>> f(29)\n \'No\'\n >>> f(30)\n \'Yes\'\n >>> f(31)\n \'Yes\'\n >>> f(40)\n \'Yes\'\n \'\'\'\n if x >= 30:\n return "Yes"\n else:\n return "No"\n\n\nif __name__ == \'__main__\':\n parser = argparse.ArgumentParser()\n parser.add_argument(\n \'--doctest\', action=\'store_true\', default=False)\n args = parser.parse_args()\n if args.doctest:\n import doctest\n doctest.testmod(verbose=True)\n sys.exit()\n\n x = int(sys.stdin.readline().rstrip())\n print(f(x))']
|
['Wrong Answer', 'Accepted']
|
['s085794302', 's604737453']
|
[11916.0, 11892.0]
|
[56.0, 48.0]
|
[774, 814]
|
p02594
|
u203482013
| 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?
|
['from math imort*\nm,n=input.split()\nc=0\nfor i in range(int(m)):\n a,b=input.split()\n d=(int(a)**2)+(int(b)**2)\n if d>=int(n):\n c=c+1\nprint(c)', 'n=int(input)\nif n<30:\n print("No")\nelse:\n print("Yes")', 'n=int(input())\nif n<30:\n print("N0")\nelse:\n print("Yes")', 'n=int(input())\nif n<30:\n print("No")\nelse:\n print("Yes")\n']
|
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
|
['s037958729', 's449215987', 's938762547', 's832296107']
|
[8944.0, 8996.0, 8988.0, 9128.0]
|
[25.0, 24.0, 30.0, 28.0]
|
[145, 60, 58, 59]
|
p02594
|
u208133431
| 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(int())\nif 30 <= A:\n print("Yes")\nelse:\n print("No")', 'A = int(input())\nif 30 <= A:\n print("Yes")\nelse:\n print("No")']
|
['Runtime Error', 'Accepted']
|
['s565352448', 's641128729']
|
[9016.0, 9172.0]
|
[21.0, 31.0]
|
[67, 67]
|
p02594
|
u208633734
| 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())\nif x>=30:\n print("Yes")\nelse:\n print("No")']
|
['Runtime Error', 'Accepted']
|
['s490387308', 's452075261']
|
[8948.0, 9140.0]
|
[23.0, 27.0]
|
[62, 61]
|
p02594
|
u210987097
| 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','NO'][x < 30])", "x = int(input())\nprint(['Yes','No'][x < 30])"]
|
['Wrong Answer', 'Accepted']
|
['s943251006', 's780670525']
|
[9088.0, 9116.0]
|
[27.0, 28.0]
|
[44, 44]
|
p02594
|
u213314609
| 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 or x > 30:\n print('yes')\nelse: \n print('no')", "x = int(input())\nif x < 30: \n print('No')\nelse: print('Yes')"]
|
['Wrong Answer', 'Accepted']
|
['s100053022', 's017590154']
|
[9152.0, 9036.0]
|
[28.0, 30.0]
|
[74, 61]
|
p02594
|
u220612891
| 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("Yes" if int(input())<=30 else "No")', 'print("Yes" if int(input())>=30 else "No")']
|
['Wrong Answer', 'Accepted']
|
['s863726560', 's431077443']
|
[9140.0, 9168.0]
|
[26.0, 31.0]
|
[42, 42]
|
p02594
|
u227688394
| 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('室温(-40℃から40℃まで)を整数値で入力してください。')\nX = 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')", "X = int(input())\nif 30<=X<=40:\n print('yes')\nelif -40<=X<30:\n print('no')\nelse:\n print('エラー')", "X = int(input())\nif 30<=X<=40:\n print('Yes')\nelif -40<=X<30:\n print('No')\nelse:\n print('エラー')"]
|
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
|
['s875791231', 's915290832', 's938551202', 's685879719']
|
[9152.0, 9088.0, 9156.0, 9144.0]
|
[30.0, 29.0, 29.0, 27.0]
|
[142, 59, 108, 108]
|
p02594
|
u228126406
| 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()\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']
|
['s291628607', 's137239803']
|
[9016.0, 9148.0]
|
[30.0, 28.0]
|
[62, 67]
|
p02594
|
u230368448
| 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 = eval(input())\nprint("No") if A >= 30 else print("Yes")', 'A = eval(input())\nprint("No") if A < 30 else print("Yes")']
|
['Wrong Answer', 'Accepted']
|
['s809502019', 's118584281']
|
[9020.0, 8980.0]
|
[29.0, 24.0]
|
[58, 57]
|
p02594
|
u231570044
| 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")\n ', 'X = int(input())\n\nif (X>=30):\n print("Yes")\nelse:\n print("No")\n \n']
|
['Wrong Answer', 'Accepted']
|
['s992050604', 's806469326']
|
[9068.0, 9068.0]
|
[26.0, 28.0]
|
[73, 74]
|
p02594
|
u233932118
| 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?
|
['rt = int(inut())\n\nif rt >= 30:\n print("Yes")\nelse:\n print("No")', 'rt = int(input())\n\nif rt >=30:\n print("Yes")\nelse:\n print("No")\n \n']
|
['Runtime Error', 'Accepted']
|
['s920383173', 's565802753']
|
[9088.0, 9004.0]
|
[28.0, 29.0]
|
[69, 75]
|
p02594
|
u234680893
| 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>=25):\n print("Yes")\n else:\n print("No")', 'x=int(input())\nif(x>=30):\n print(\'Yes\')\nelse:\n print("No")']
|
['Runtime Error', 'Accepted']
|
['s958470773', 's008826862']
|
[8896.0, 9156.0]
|
[28.0, 36.0]
|
[61, 60]
|
p02594
|
u235499392
| 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']
|
['s763210476', 's371572701']
|
[9148.0, 9156.0]
|
[27.0, 28.0]
|
[60, 60]
|
p02594
|
u236996569
| 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()\nans = 'Yes' if X >= 30 else 'No'\nprint(ans)", "X = input()\nans = 'Yes' if int(X) >= 30 else 'No'\nprint(ans)"]
|
['Runtime Error', 'Accepted']
|
['s502145964', 's394794892']
|
[9024.0, 9076.0]
|
[30.0, 30.0]
|
[55, 60]
|
p02594
|
u237634011
| 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")\n', '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")\n']
|
['Runtime Error', 'Runtime Error', 'Accepted']
|
['s162085699', 's618108563', 's798943667']
|
[9012.0, 8912.0, 8956.0]
|
[25.0, 24.0, 28.0]
|
[68, 67, 66]
|
p02594
|
u237803533
| 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())\n\nA = 0\n\nfor i in range(N):\n X,Y = map(int, input().split())\n \nfor g in range(N):\n if X**2 + Y**2 <= D**2:\n A += 1\n \nprint(A)', 'n,d=map(int,input().split())\n\na=0\n\nfor i in range(n):\n x,y=map(int, input().split())\n if x**2 + y**2 <= d**2:\n a+=1\n \nprint(a)', 'M,N = map(int, input().split())\ncount = 0\nfor _ in range(M):\n a, b = map(int, input().split())\n X = a*a + b*b\n if X <= N*N:\n count += 1\n \nprint(count)', 'X = int(input())\n \nif X >= 30:\n print("Yes")\n \nelse:\n print("No")']
|
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
|
['s723086548', 's798412311', 's836203866', 's616065265']
|
[9172.0, 9100.0, 9028.0, 9152.0]
|
[29.0, 26.0, 26.0, 26.0]
|
[165, 134, 166, 71]
|
p02594
|
u237935782
| 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']
|
['s815630506', 's849030782']
|
[8872.0, 9168.0]
|
[28.0, 32.0]
|
[64, 65]
|
p02594
|
u238504302
| 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("Mp")', 'X = int(input())\nif X >= 30: print("Yes")\nelse: print("No")']
|
['Wrong Answer', 'Accepted']
|
['s826809737', 's138968755']
|
[9152.0, 9116.0]
|
[27.0, 26.0]
|
[59, 59]
|
p02594
|
u242580186
| 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\nread = sys.stdin.readline\nimport time\nimport math\nimport itertools as it\ndef inp():\n return int(input())\ndef inpl():\n return list(map(int, input().split()))\nstart_time = time.perf_counter()\n# ------------------------------\n\nn = inp()\nif n >= 20:\n print('Yes')\nelse:\n print('No')\n\n# -----------------------------\nend_time = time.perf_counter()\nprint('time:', end_time-start_time, file=sys.stderr)", "import sys\nread = sys.stdin.readline\nimport time\nimport math\nimport itertools as it\ndef inp():\n return int(input())\ndef inpl():\n return list(map(int, input().split()))\nstart_time = time.perf_counter()\n# ------------------------------\n\nn = inp()\nif n >= 30:\n print('Yes')\nelse:\n print('No')\n\n# -----------------------------\nend_time = time.perf_counter()\nprint('time:', end_time-start_time, file=sys.stderr)\n"]
|
['Wrong Answer', 'Accepted']
|
['s242735832', 's485252636']
|
[9180.0, 9172.0]
|
[30.0, 30.0]
|
[418, 419]
|
p02594
|
u243078991
| 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("No")\nelse:\n print("Yes")', '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', 'Runtime Error', 'Accepted']
|
['s501714361', 's608824848', 's932080756']
|
[9024.0, 9072.0, 9148.0]
|
[26.0, 30.0, 30.0]
|
[46, 46, 63]
|
p02594
|
u244434589
| 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?
|
["S,W =map(int,input().split())\nif W >=S:\n print('unsafe')\nelse:\n print('safe')", "N =input()\nif N >=30:\n print('Yes')\nelse :\n print('No')\n", "N = int(input())\nif N >=30:\n print('Yes')\nelse :\n print('No')"]
|
['Runtime Error', 'Runtime Error', 'Accepted']
|
['s668514988', 's726127854', 's382034817']
|
[9092.0, 9024.0, 9152.0]
|
[22.0, 25.0, 26.0]
|
[83, 62, 67]
|
p02594
|
u247457760
| 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\ncount = 0\nans = 1\n\nwhile True:\n num = int("7" + "7" * count)\n if num % k == 0:\n print(ans)\n break\n count += 1\n ans += 1', 'x = int(input())\n\nif x >= 30:\n print("Yes")\nelse:\n print("No")']
|
['Wrong Answer', 'Accepted']
|
['s369880215', 's504653756']
|
[9020.0, 9148.0]
|
[2205.0, 31.0]
|
[147, 64]
|
p02594
|
u248670151
| 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())\nprint('Yes' if 30>=a else 'No')", "a=int(input())\nprint('Yes' if 30>=a else 'No')", "a=int(input())\nprint('Yes' if a>=30 else 'No')\n"]
|
['Wrong Answer', 'Wrong Answer', 'Accepted']
|
['s483723456', 's654864845', 's875596584']
|
[9148.0, 9144.0, 8964.0]
|
[27.0, 38.0, 27.0]
|
[46, 46, 47]
|
p02594
|
u248670337
| 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('YNeos'[int(input())<30])", "print('YNeos'[int(input())<30::2])"]
|
['Wrong Answer', 'Accepted']
|
['s826779927', 's449227440']
|
[9140.0, 9128.0]
|
[24.0, 29.0]
|
[31, 34]
|
p02594
|
u250944591
| 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()\n\nif a >= 30:\n print('Yes')\nelse:\n print('No')", "a = int(input())\n\nif a >= 30:\n print('Yes')\nelse:\n print('No')"]
|
['Runtime Error', 'Accepted']
|
['s622936239', 's284775159']
|
[9028.0, 8932.0]
|
[23.0, 25.0]
|
[59, 64]
|
p02594
|
u257442624
| 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')\nelse:\n print('No')", "a = input()\n\nif int(a) >= 30:\n print('Yes')\nelse:\n print('No')"]
|
['Runtime Error', 'Accepted']
|
['s971042313', 's724621947']
|
[9004.0, 9092.0]
|
[22.0, 35.0]
|
[63, 64]
|
p02594
|
u257750994
| 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 <= 40:\n print('yes')\nelse:\n print('no')", "x = int(input())\n\nif x >= 30:\n print('yes')\nelse:\n print('no')\n", "x = int(input())\n\nif 30 <= x:\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', 'Accepted']
|
['s509238313', 's519587523', 's982160289', 's706578182']
|
[9144.0, 9140.0, 9140.0, 9116.0]
|
[29.0, 24.0, 27.0, 29.0]
|
[71, 65, 65, 65]
|
p02594
|
u259190728
| 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?
|
['from sys import stdin,stdout\n\nimport bisect\n\nimport math\n\ndef st():\n return list(stdin.readline().strip())\n\ndef inp():\n return int(stdin.readline())\n\ndef li():\n return list(map(int,stdin.readline().split()))\n\ndef mp():\n return map(int,stdin.readline().split())\n\ndef pr(n):\n stdout.write(str(n)+"\\n")\n\ndef soe(limit):\n l=[1]*(limit+1)\n l[0]=0\n l[1]=0\n prime=[2]\n for i in range(2,limit+1):\n if l[i]:\n for j in range(i*i,limit+1,i):\n l[j]=0\n \n for i in range(3,limit+1,2):\n if l[i]:\n prime.append(i)\n return prime\n\ndef segsoe(low,high):\n limit=int(high**0.5)+1\n prime=soe(limit)\n n=high-low+1\n l=[0]*(n+1)\n for i in range(len(prime)):\n lowlimit=(low//prime[i])*prime[i]\n if lowlimit<low:\n lowlimit+=prime[i]\n if lowlimit==prime[i]:\n lowlimit+=prime[i]\n for j in range(lowlimit,high+1,prime[i]):\n l[j-low]=1\n for i in range(low,high+1):\n if not l[i-low]:\n if i!=1:\n print(i)\n \ndef gcd(a,b):\n while b:\n a=a%b\n b,a=a,b\n return a\n\ndef power(a,n):\n r=1\n while n:\n if n&1:\n r=(r*a)\n a*=a\n n=n>>1\n return r\n\n\ndef solve():\n n=inp()\n if n>=30:\n print("YES")\n else:\n print("NO")\n \n\n\nfor _ in range(1):\n solve()\n \n', 'from sys import stdin,stdout\n\nimport bisect\n\nimport math\n\ndef st():\n return list(stdin.readline().strip())\n\ndef inp():\n return int(stdin.readline())\n\ndef li():\n return list(map(int,stdin.readline().split()))\n\ndef mp():\n return map(int,stdin.readline().split())\n\ndef pr(n):\n stdout.write(str(n)+"\\n")\n\ndef soe(limit):\n l=[1]*(limit+1)\n l[0]=0\n l[1]=0\n prime=[2]\n for i in range(2,limit+1):\n if l[i]:\n for j in range(i*i,limit+1,i):\n l[j]=0\n \n for i in range(3,limit+1,2):\n if l[i]:\n prime.append(i)\n return prime\n\ndef segsoe(low,high):\n limit=int(high**0.5)+1\n prime=soe(limit)\n n=high-low+1\n l=[0]*(n+1)\n for i in range(len(prime)):\n lowlimit=(low//prime[i])*prime[i]\n if lowlimit<low:\n lowlimit+=prime[i]\n if lowlimit==prime[i]:\n lowlimit+=prime[i]\n for j in range(lowlimit,high+1,prime[i]):\n l[j-low]=1\n for i in range(low,high+1):\n if not l[i-low]:\n if i!=1:\n print(i)\n \ndef gcd(a,b):\n while b:\n a=a%b\n b,a=a,b\n return a\n\ndef power(a,n):\n r=1\n while n:\n if n&1:\n r=(r*a)\n a*=a\n n=n>>1\n return r\n\n\ndef solve():\n n=inp()\n if n>=30:\n print("Yes")\n else:\n print("No")\n \n\n\nfor _ in range(1):\n solve()\n \n']
|
['Wrong Answer', 'Accepted']
|
['s283788828', 's911148303']
|
[9180.0, 9268.0]
|
[30.0, 31.0]
|
[1412, 1412]
|
p02594
|
u259543319
| 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?
|
['from collections import defaultdict \nimport sys\nimport math \n\ndef get_array(): return list(map(int , sys.stdin.readline().strip().split()))\ndef get_ints(): return map(int, sys.stdin.readline().strip().split())\ndef input(): return sys.stdin.readline().strip()\n\nn = int(input())\n\nstart = 0\nfor i in range(1,n+1):\n\tstart = (start*10+7)%n\n\tif start==0:\n\t\tprint(i)\n\t\tbreak\nelse:\n\tprint(-1)\n', 'import sys\ndef get_array(): return list(map(int , sys.stdin.readline().strip().split()))\ndef get_ints(): return map(int, sys.stdin.readline().strip().split())\ndef input(): return sys.stdin.readline().strip()\n\nfrom collections import defaultdict \nimport math \n\nn = int(input())\nif n >=30:\n\tprint("Yes")\nelse:\n\tprint("No")']
|
['Wrong Answer', 'Accepted']
|
['s913917188', 's335329137']
|
[9400.0, 9456.0]
|
[29.0, 35.0]
|
[385, 320]
|
p02594
|
u261036477
| 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']
|
['s882844547', 's841878826']
|
[9156.0, 9148.0]
|
[28.0, 27.0]
|
[67, 67]
|
p02594
|
u263666237
| 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('Yes') else print('No')", "input()\ns = input()\n\ndef find_cost(s):\n counter, i, j = 0, 0, len(s)-1\n while i < j:\n while i < len(s) and s[i] != 'W':\n i += 1\n while j >= 0 and s[j] != 'R':\n j -= 1\n if i < j:\n s[i], s[j] = s[j], s[i]\n counter += 1\n i += 1\n j -= 1\n for i in range(0, len(s) - 2):\n if s[i] == 'W' and s[i + 1] == 'R':\n counter += 1\n print(counter)\ns = list(s)\nfind_cost(s)", "print('Yes') if (int(input())) >= 30 else print('No')"]
|
['Runtime Error', 'Runtime Error', 'Accepted']
|
['s219451722', 's241817480', 's422621829']
|
[8888.0, 9160.0, 9124.0]
|
[27.0, 23.0, 32.0]
|
[50, 473, 53]
|
p02594
|
u266262808
| 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']
|
['s778591736', 's175638422']
|
[9028.0, 9156.0]
|
[26.0, 28.0]
|
[58, 63]
|
p02594
|
u273326224
| 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')\nelse:\n print('NO')", 'if int(input()) >= 30:\n print("YES")\nelse:\n print("NO")', 'if (int(input()) >= 30):\n print("Yes")\nelse:\n print("No")']
|
['Wrong Answer', 'Wrong Answer', 'Accepted']
|
['s076357591', 's880813967', 's250960527']
|
[9140.0, 9148.0, 9040.0]
|
[27.0, 30.0, 37.0]
|
[62, 57, 59]
|
p02594
|
u274755552
| 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?
|
['i = int(input())\n\nif i >=30:\n print("Yes")\n else:\n print("No")', 'i = int(input())\n \nif i >=30:\n print("Yes")\nelse:\n print("No")']
|
['Runtime Error', 'Accepted']
|
['s623833633', 's662503125']
|
[8892.0, 9040.0]
|
[28.0, 26.0]
|
[67, 64]
|
p02594
|
u275893569
| 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')", "X = int(input())\nif X >= 30:\n print('Yes')\nelse:\n print('No')"]
|
['Wrong Answer', 'Accepted']
|
['s250933531', 's067948497']
|
[9152.0, 9084.0]
|
[27.0, 29.0]
|
[43, 63]
|
p02594
|
u280082354
| 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("No")', 'if int(input()) >= 30:\n print("Yes")\nelse:\n print("No")']
|
['Runtime Error', 'Accepted']
|
['s144942991', 's738499507']
|
[9076.0, 9092.0]
|
[25.0, 26.0]
|
[52, 57]
|
p02594
|
u287386386
| 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,math,collections\nfrom collections import defaultdict\n\n#from itertools import permutations,combinations\n\t\ndef file():\n\tsys.stdin = open(\'input.py\', \'r\')\n\tsys.stdout = open(\'output.py\', \'w\') \ndef get_array():\n\tl=list(map(int, input().split()))\n\treturn l\ndef get_2_ints():\t\n\ta,b=map(int, input().split())\n\treturn a,b\ndef get_3_ints():\t\n\ta,b,c=map(int, input().split())\n\treturn a,b,c\t\ndef sod(n):\n\tn,c=str(n),0\n\tfor i in n:\t\n\t\tc+=int(i)\n\treturn c\t\ndef isPrime(n):\n if (n <= 1):\n return False\n if (n <= 3):\n return True\n if (n % 2 == 0 or n % 3 == 0):\n return False\n i = 5\n while(i * i <= n):\n if (n % i == 0 or n % (i + 2) == 0):\n return False\n i = i + 6\n \n return True\ndef getFloor(A, x):\n\n\t(left, right) = (0, len(A) - 1)\n\n\tfloor = -1\n\twhile left <= right:\n\t\tmid = (left + right) // 2\n\t\tif A[mid] == x:\n\t\t\treturn A[mid]\n\t\telif x < A[mid]:\n\t\t\tright = mid - 1\n\t\telse:\n\t\t\tfloor = A[mid]\n\t\t\tleft = mid + 1\n\t\t\t\n\treturn floor\ndef floorSqrt(x) : \n \n # Base cases \n if (x == 0 or x == 1) : \n return x \n \n # Do Binary Search for floor(sqrt(x)) \n start = 1\n end = x \n while (start <= end) : \n mid = (start + end) // 2\n \n # If x is a perfect square \n if (mid*mid == x) : \n return mid \n \n # Since we need floor, we update \n # answer when mid*mid is smaller \n # than x, and move closer to sqrt(x) \n if (mid * mid < x) : \n start = mid + 1\n ans = mid \n \n else : \n \n # If mid*mid is greater than x \n end = mid-1\n \n return ans\t\n#file()\ndef main():\n\t\n\t\tn=int(input())\n\t\t\n\t\tif(n>=30):\n\t\t\tprint("yes")\n\t\telse:\n\t\t\tprint("no")\t\n\n\n\n\t\n\n\t\n\t\n\n\t\t\n\n\n\n\n\n\n\n\n\n\n\n\t\t\n\t\t\n\n\t\t\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\n\n\t\t\t\n\n\n\n\n\n\n\n \n\t\t\t\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\n\n\n\n\n\n\n\n\nif __name__ == \'__main__\':\n main()', 'import sys,math,collections\nfrom collections import defaultdict\n\n#from itertools import permutations,combinations\n\t\ndef file():\n\tsys.stdin = open(\'input.py\', \'r\')\n\tsys.stdout = open(\'output.py\', \'w\') \ndef get_array():\n\tl=list(map(int, input().split()))\n\treturn l\ndef get_2_ints():\t\n\ta,b=map(int, input().split())\n\treturn a,b\ndef get_3_ints():\t\n\ta,b,c=map(int, input().split())\n\treturn a,b,c\t\ndef sod(n):\n\tn,c=str(n),0\n\tfor i in n:\t\n\t\tc+=int(i)\n\treturn c\t\ndef isPrime(n):\n if (n <= 1):\n return False\n if (n <= 3):\n return True\n if (n % 2 == 0 or n % 3 == 0):\n return False\n i = 5\n while(i * i <= n):\n if (n % i == 0 or n % (i + 2) == 0):\n return False\n i = i + 6\n \n return True\ndef getFloor(A, x):\n\n\t(left, right) = (0, len(A) - 1)\n\n\tfloor = -1\n\twhile left <= right:\n\t\tmid = (left + right) // 2\n\t\tif A[mid] == x:\n\t\t\treturn A[mid]\n\t\telif x < A[mid]:\n\t\t\tright = mid - 1\n\t\telse:\n\t\t\tfloor = A[mid]\n\t\t\tleft = mid + 1\n\t\t\t\n\treturn floor\ndef floorSqrt(x) : \n \n # Base cases \n if (x == 0 or x == 1) : \n return x \n \n # Do Binary Search for floor(sqrt(x)) \n start = 1\n end = x \n while (start <= end) : \n mid = (start + end) // 2\n \n # If x is a perfect square \n if (mid*mid == x) : \n return mid \n \n # Since we need floor, we update \n # answer when mid*mid is smaller \n # than x, and move closer to sqrt(x) \n if (mid * mid < x) : \n start = mid + 1\n ans = mid \n \n else : \n \n # If mid*mid is greater than x \n end = mid-1\n \n return ans\t\n#file()\ndef main():\n\tfor tt in range(int(input())):\n\t\tn=int(input())\n\t\t\n\t\tif(n>=30):\n\t\t\tprint("yes")\n\t\telse:\n\t\t\tprint("no")\t\n\n\n\n\t\n\n\t\n\t\n\n\t\t\n\n\n\n\n\n\n\n\n\n\n\n\t\t\n\t\t\n\n\t\t\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\n\n\t\t\t\n\n\n\n\n\n\n\n \n\t\t\t\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\n\n\n\n\n\n\n\n\nif __name__ == \'__main__\':\n main()', 'import sys,math,collections\nfrom collections import defaultdict\n\n#from itertools import permutations,combinations\n\t\ndef file():\n\tsys.stdin = open(\'input.py\', \'r\')\n\tsys.stdout = open(\'output.py\', \'w\') \ndef get_array():\n\tl=list(map(int, input().split()))\n\treturn l\ndef get_2_ints():\t\n\ta,b=map(int, input().split())\n\treturn a,b\ndef get_3_ints():\t\n\ta,b,c=map(int, input().split())\n\treturn a,b,c\t\ndef sod(n):\n\tn,c=str(n),0\n\tfor i in n:\t\n\t\tc+=int(i)\n\treturn c\t\ndef isPrime(n):\n if (n <= 1):\n return False\n if (n <= 3):\n return True\n if (n % 2 == 0 or n % 3 == 0):\n return False\n i = 5\n while(i * i <= n):\n if (n % i == 0 or n % (i + 2) == 0):\n return False\n i = i + 6\n \n return True\ndef getFloor(A, x):\n\n\t(left, right) = (0, len(A) - 1)\n\n\tfloor = -1\n\twhile left <= right:\n\t\tmid = (left + right) // 2\n\t\tif A[mid] == x:\n\t\t\treturn A[mid]\n\t\telif x < A[mid]:\n\t\t\tright = mid - 1\n\t\telse:\n\t\t\tfloor = A[mid]\n\t\t\tleft = mid + 1\n\t\t\t\n\treturn floor\ndef floorSqrt(x) : \n \n # Base cases \n if (x == 0 or x == 1) : \n return x \n \n # Do Binary Search for floor(sqrt(x)) \n start = 1\n end = x \n while (start <= end) : \n mid = (start + end) // 2\n \n # If x is a perfect square \n if (mid*mid == x) : \n return mid \n \n # Since we need floor, we update \n # answer when mid*mid is smaller \n # than x, and move closer to sqrt(x) \n if (mid * mid < x) : \n start = mid + 1\n ans = mid \n \n else : \n \n # If mid*mid is greater than x \n end = mid-1\n \n return ans\t\n#file()\ndef main():\n\t\n\t\tn=int(input())\n\t\t\n\t\tif(n>=30):\n\t\t\tprint("Yes")\n\t\telse:\n\t\t\tprint("No")\t\n\n\n\n\t\n\n\t\n\t\n\n\t\t\n\n\n\n\n\n\n\n\n\n\n\n\t\t\n\t\t\n\n\t\t\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\t\t\n\n\t\t\t\n\n\n\n\n\n\n\n \n\t\t\t\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\t\n\n\n\n\n\n\n\n\nif __name__ == \'__main__\':\n main()']
|
['Wrong Answer', 'Runtime Error', 'Accepted']
|
['s427475773', 's969958885', 's970579143']
|
[9424.0, 9488.0, 9432.0]
|
[35.0, 30.0, 31.0]
|
[1991, 2021, 1991]
|
p02594
|
u290187182
| 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 __name__ == \'__main__\':\n a = int(input())\n\n if a >= -40 and a <= 40:\n print("Yes")\n else:\n print("No")', 'if __name__ == \'__main__\':\n a = int(input())\n\n if a >= 30:\n print("Yes")\n else:\n print("No")']
|
['Wrong Answer', 'Accepted']
|
['s744064027', 's202358442']
|
[9152.0, 9148.0]
|
[33.0, 30.0]
|
[128, 115]
|
p02594
|
u290887281
| 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())\nseven = 7\ncount = 0\n\nwhile True:\n if k % 2 == 0:\n count = -1\n break\n\n elif seven % k == 0:\n count += 1\n break\n else:\n count += 1\n seven = (seven * 10 + 7) % k\n\nprint(count)', "x = int(input())\n\nif x >= 30:\n return 'Yes'\nelse:\n return 'No'", "x = int(input())\n\nif x >= 30:\n print('Yes')\nelse:\n print('No')"]
|
['Wrong Answer', 'Runtime Error', 'Accepted']
|
['s658244291', 's830512776', 's690776169']
|
[9108.0, 8896.0, 9148.0]
|
[2205.0, 24.0, 27.0]
|
[240, 68, 68]
|
p02594
|
u290983503
| 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("No")\nelse:\n print("Yes")', 'a = int(input())\nif a <30:\n print("No")\nelse:\n print("Yes")']
|
['Wrong Answer', 'Accepted']
|
['s902650580', 's666152795']
|
[9144.0, 9148.0]
|
[26.0, 27.0]
|
[61, 61]
|
p02594
|
u293215208
| 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 ans = 'Yes'\nelse:\n ans = 'No'\n\nprint(ans)", "x = int(input())\n \nif x >= 30:\n ans = 'Yes'\nelse:\n ans = 'No'\n \nprint(ans)"]
|
['Runtime Error', 'Accepted']
|
['s180288034', 's770822412']
|
[8956.0, 9152.0]
|
[23.0, 27.0]
|
[82, 76]
|
p02594
|
u298445293
| 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("N0")', 'x = int(input())\nif x >= 30:\n print("Yes")\nelse:\n print("No")']
|
['Wrong Answer', 'Accepted']
|
['s658541917', 's869695312']
|
[9036.0, 9140.0]
|
[29.0, 29.0]
|
[63, 63]
|
p02594
|
u299645128
| 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']
|
['s132345249', 's273953638']
|
[8944.0, 9148.0]
|
[30.0, 26.0]
|
[57, 62]
|
p02594
|
u299730702
| 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\nK = int(input())\n\nd = pow(9, -1, K)\nt = 1\nfor ans in range(1, K):\n #x = 7*(pow(10, ans, K) - 1)*d\n t = (t*10) % K\n x = 7*(t - 1)*d\n if x%K == 0:\n print(ans)\n sys.exit()\n\nprint(-1)\n', "X = int(input())\n\nif X >= 30:\n print('Yes')\nelse:\n print('No')"]
|
['Runtime Error', 'Accepted']
|
['s918131068', 's987986477']
|
[9108.0, 9148.0]
|
[28.0, 32.0]
|
[218, 68]
|
p02594
|
u301272559
| 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())\nm = 0\nfor i in range(K):\n m = (m * 10 + 7) % K\n if m == 0:\n print(i)\n break\n elif m == k-1:\n print(-1)\n break', 'K = int(input())\nm = 0\nfor i in range(K):\n m = (m * 10 + 7) % K\n if m == 0:\n print(i+1)\n break\n elif m == K-1:\n print(-1)\n break', 'K = int(input())\nn = 1000000\n\nif K % 2 == 0:\n print(-1)\nelif K % 7 == 0:\n amari = 10\n for i in range(n):\n if amari % int(9 * (K / 7)) == 1:\n print(i + 1)\n break\n else:\n amari = amari * 10\nelse:\n amari = 70\n for i in range(n):\n if amari % int(9 * K) == 7:\n print(i + 1)\n break\n else:\n amari = amari * 10', 'K = int(input())\nn = 1000000\n\nif K % 2 == 0:\n print(-1)\nelse:\n amari = 70\n for i in range(n):\n if amari % int(9 * K) == 7:\n print(i + 1)\n break\n else:\n amari = amari * 10', 'K = int(input())\nn = 1000000\n\nif K % 2 == 0:\n print(-1)\nelif K % 7 == 0:\n amari = 10\n for i in range(n):\n if amari % int(9 * (K / 7)) == 1:\n print(i + 1)\n break\n else:\n amari = amari * 10\nelse:\n amari = 70\n for i in range(n):\n if amari % int(9 * K) == 7:\n print(i + 1)\n break\n else:\n amari = amari * 10', 'K = int(input())\nm = 0\nfor i in range(K):\n m = (m * 10 + 7) % K\n if m == 0:\n print(i)\n break\n elif m == K-1:\n print(-1)\n break', 'X = int(input())\nif X >= 30:\n print("Yes")\nelse:\n print("No")\n']
|
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
|
['s063960136', 's203296027', 's306549666', 's446884077', 's940619782', 's968535973', 's262086690']
|
[9164.0, 9140.0, 9140.0, 9180.0, 9200.0, 9160.0, 9172.0]
|
[29.0, 28.0, 2205.0, 2206.0, 2205.0, 28.0, 28.0]
|
[163, 165, 411, 226, 411, 163, 68]
|
p02594
|
u306126345
| 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 return "Yes"\nelse:\n return "No"', 'n = int(input())\na = "Yes"\nb = "No"\nif n >= 30:\n print(a)\nelse:\n print(b)']
|
['Runtime Error', 'Accepted']
|
['s511904722', 's868468720']
|
[9024.0, 9032.0]
|
[27.0, 31.0]
|
[63, 75]
|
p02594
|
u308914480
| 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']
|
['s349182467', 's031446197']
|
[9032.0, 9148.0]
|
[25.0, 33.0]
|
[54, 59]
|
p02594
|
u310286716
| 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?
|
["# -*- coding: utf-8 -*-\nx = int(input())\n\nif x >= 30:\n print('Yes')\nelse\n print('No')", "# -*- coding: utf-8 -*-\nx = int(input())\n\nif x >= 30:\n print('Yes')\nelse:\n print('No')\n"]
|
['Runtime Error', 'Accepted']
|
['s627712477', 's329514604']
|
[8944.0, 9084.0]
|
[26.0, 30.0]
|
[87, 89]
|
p02594
|
u316152477
| 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")\n\nelse:\n print("No")', 'temp = int(input())\nif temp >= 30:\n print("Yes")\n\nelse:\n print("No")']
|
['Runtime Error', 'Accepted']
|
['s833430523', 's540337118']
|
[9028.0, 9144.0]
|
[28.0, 27.0]
|
[69, 74]
|
p02594
|
u319589470
| 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?
|
['#!/usr/bin/env python3\nimport sys\nsys.setrecursionlimit(10**7)\nimport bisect\nimport heapq\nimport itertools\nimport math\nfrom collections import Counter, defaultdict, deque\nfrom copy import deepcopy\nfrom decimal import Decimal\nfrom math import gcd\nfrom operator import add, itemgetter, mul, xor\ndef cmb(n,r,mod):\n bunshi=1\n bunbo=1\n for i in range(r):\n bunbo = bunbo*(i+1)%mod\n bunshi = bunshi*(n-i)%mod\n return (bunshi*pow(bunbo,mod-2,mod))%mod\nmod = 10**9+7\ndef I(): return int(input())\ndef LI(): return list(map(int,input().split()))\ndef MI(): return map(int,input().split())\ndef LLI(n): return [list(map(int, input().split())) for _ in range(n)]\n\nx = I()\nif x>=0:\n print("Yes")\nelse:\n print("No")', '#!/usr/bin/env python3\nimport sys\nsys.setrecursionlimit(10**7)\nimport bisect\nimport heapq\nimport itertools\nimport math\nfrom collections import Counter, defaultdict, deque\nfrom copy import deepcopy\nfrom decimal import Decimal\nfrom math import gcd\nfrom operator import add, itemgetter, mul, xor\ndef cmb(n,r,mod):\n bunshi=1\n bunbo=1\n for i in range(r):\n bunbo = bunbo*(i+1)%mod\n bunshi = bunshi*(n-i)%mod\n return (bunshi*pow(bunbo,mod-2,mod))%mod\nmod = 10**9+7\ndef I(): return int(input())\ndef LI(): return list(map(int,input().split()))\ndef MI(): return map(int,input().split())\ndef LLI(n): return [list(map(int, input().split())) for _ in range(n)]\n\nx = I()\nif x>=30:\n print("Yes")\nelse:\n print("No")\n']
|
['Wrong Answer', 'Accepted']
|
['s667577636', 's292144713']
|
[10108.0, 10056.0]
|
[35.0, 33.0]
|
[714, 716]
|
p02594
|
u321415743
| 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']
|
['s844103932', 's061175856']
|
[9144.0, 9144.0]
|
[32.0, 29.0]
|
[67, 67]
|
p02594
|
u321881571
| 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)', 'x=int(input())\nif x>=30:\n print("Yes")\nelse:\n print("No")']
|
['Runtime Error', 'Runtime Error', 'Accepted']
|
['s399077402', 's643766719', 's007770521']
|
[9092.0, 9084.0, 9152.0]
|
[28.0, 29.0, 26.0]
|
[61, 61, 63]
|
p02594
|
u323532272
| 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\nk = int(input())\nsevens = str(7)\nanswer = -1\n\nwhile 1:\n \n if int(sevens) % k == 0:\n answer = len(sevens)\n break\n sevens = sevens + str(7)\n if len(sevens) > len(str(k)):\n break\nprint(answer)', "n = int(input())\n\nprint('Yes') if n >= 30 else print('No') "]
|
['Wrong Answer', 'Accepted']
|
['s427371758', 's567368567']
|
[9164.0, 9148.0]
|
[35.0, 31.0]
|
[245, 59]
|
p02594
|
u323776907
| 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 = "7"\ni = 1\nn = int(input())\nif(n % 2 == 0):\n print("-1")\nelse:\n while True:\n if(int(a) % n == 0 and int(a) / n != 0):\n break\n i += 1\n a = a + "7"\n \nprint(i)', 'if(int(input()) >= 30):\n print("Yes")\nelse:\n print("No")']
|
['Wrong Answer', 'Accepted']
|
['s654382082', 's218840178']
|
[9088.0, 9148.0]
|
[2206.0, 32.0]
|
[175, 58]
|
p02594
|
u324090406
| 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 math\nn, k = list(map(int,input().split()))\na = list(map(int,input().split()))\n\ndef lte_k(x, len_list):\n counter = 0\n for item in len_list:\n counter += math.ceil(item / x) - 1\n return counter <= k\n\ndef binary_search():\n low = 0\n high = max(a)\n\n while low < high-1:\n mid = (low + high) // 2\n guess = lte_k(mid, a)\n if guess:\n high = mid\n else:\n low = mid\n return high\n\nprint(binary_search())', 'x = int(input())\nif x >= 30:\n print("Yes")\nelse:\n print("No")']
|
['Runtime Error', 'Accepted']
|
['s466650279', 's392834517']
|
[9204.0, 9148.0]
|
[24.0, 31.0]
|
[474, 67]
|
p02594
|
u324102350
| 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\nif N >= 30:\n print("YES")\nelse:\n print("NO")', 'N = int(input())\n\nif N >= 30:\n print("YES")\nelse:\n print("NG")', 'N = int(input())\n\nif N >= 30:\n print("Yes")\nelse:\n print("No")']
|
['Wrong Answer', 'Wrong Answer', 'Accepted']
|
['s119555941', 's683409010', 's137086634']
|
[9068.0, 8976.0, 9056.0]
|
[33.0, 27.0, 30.0]
|
[68, 68, 68]
|
p02594
|
u329102630
| 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\n\ndef inp():\n return(int(input()))\n \nT = inp()\nprint("NO") if T<30 else print("YES")', '\nimport sys\nimport math\n# from collections import Counter\ninput = sys.stdin.readline\n# import numpy as np\n\ndef inp():\n return(int(input()))\n\ndef inps():\n return str(input())\n \ndef inlt():\n return(list(map(int,input().split())))\n \ndef inlst():\n return(list(map(str,input().split())))\n \ndef insr():\n s = input()\n return(list(s[:len(s) - 1]))\ndef invr():\n return(map(int,input().split())) \n\nT = inp()\nif T<30: print("NO")\nelse: print("YES")', '\nimport sys\ninput = sys.stdin.readline\ndef inp():\n return(int(input()))\nT = inp()\nprint("No") if T<30 else print("Yes")\n']
|
['Wrong Answer', 'Wrong Answer', 'Accepted']
|
['s341658007', 's880519702', 's782190886']
|
[9096.0, 9068.0, 9160.0]
|
[35.0, 27.0, 26.0]
|
[125, 467, 123]
|
p02594
|
u329271833
| 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 30 <= X:\n print("YES")\nelse:\n print("NO")\n', 'X = int(input())\nif 30 <= X:\n print("Yes")\nelse:\n print("No")']
|
['Wrong Answer', 'Accepted']
|
['s749951303', 's145594430']
|
[9136.0, 9140.0]
|
[35.0, 34.0]
|
[64, 63]
|
p02594
|
u342801789
| 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())\nN1 = int(N/2)\nC1 = C[0:N1]\nC2 = C[N1:N]\ncount = 0\nif (C1.count('W') == C2.count('R')): \n count = C1.count('W')\nelif(C1.count('R') == C2.count('W')):\n count = C.count('W')\nprint(count)", 'N = int(input())\nif(N >= 30):\n print("Yes")\nelse:\n print("No")']
|
['Runtime Error', 'Accepted']
|
['s620860846', 's353176871']
|
[9204.0, 9144.0]
|
[27.0, 34.0]
|
[248, 64]
|
p02594
|
u343021464
| 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 >= 30 else "no")', 'X = int(input())\nprint("Yes" if X >= 30 else "No")']
|
['Wrong Answer', 'Accepted']
|
['s077634888', 's382286501']
|
[9148.0, 9144.0]
|
[29.0, 33.0]
|
[50, 50]
|
p02594
|
u351238496
| 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 -40 <= x and x <= 40:\n if x >= 30:\n print("Yes")\n else:\n print("No")', 'x = int(input())\n\nif -40 <= x and x <= 40:\n if x >= 30:\n print("Yes")\n else:\n print("No")']
|
['Runtime Error', 'Runtime Error', 'Accepted']
|
['s543003579', 's812171776', 's076205909']
|
[8984.0, 8872.0, 9108.0]
|
[26.0, 24.0, 28.0]
|
[63, 104, 109]
|
p02594
|
u353919145
| 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?
|
['from sys import stdin,stdout\n\ndef main():\n line=stdin.readline()\n parts=line.split()\n a=int(parts[0])\n if a>=30:\n stdout.write("YES")\n else:\n stdout.write("NO")\nmain()', 'def main():\n line=stdin.readline()\n parts=line.split()\n a=int(parts[0])\n if a>=30:\n stdout.write("Yes")\n else:\n stdout.write("N")\nmain()', "n = int(input())\nif n>= 30:print('Yes')\nelse:print('No')"]
|
['Wrong Answer', 'Runtime Error', 'Accepted']
|
['s128534530', 's706982100', 's483941756']
|
[9096.0, 8972.0, 9100.0]
|
[26.0, 24.0, 33.0]
|
[196, 165, 56]
|
p02594
|
u354174235
| 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?
|
["param_a = int(input())\n \nfor i in range(100000):\n param_str = '7'*(i+1)\n param_int = int(param_str)\n \n if param_int % param_a == 0:\n param_answer = i+1\n break\n \ntry:\n print(param_answer)\nexcept:\n print(-1)", "param_num = int(input())\n\nif param_num >= 30:\n param_str = 'Yes'\nelse:\n param_str = 'No'\n\nprint(param_str)"]
|
['Wrong Answer', 'Accepted']
|
['s603711838', 's093148693']
|
[8980.0, 9080.0]
|
[2206.0, 29.0]
|
[237, 108]
|
p02594
|
u354862173
| 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\nimport numpy as np\nfrom math import ceil as C, floor as F\nfrom collections import defaultdict as D\nfrom functools import reduce as R\n\nALP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'\nalp = 'abcdefghijklmnopqrstuvwxyz'\ndef _X(): return sys.stdin.readline().rstrip().split(' ')\ndef _S(ss): return tuple(ss) if len(ss) > 1 else ss[0]\ndef S(): return _S(_X())\ndef Ss(): return list(S())\ndef _I(ss): return tuple([int(s) for s in ss]) if isinstance(ss, tuple) else int(ss)\ndef I(): return _I(S())\ndef _Is(ss): return list(ss) if len(ss) > 1 else [ss]\ndef Is(): return _Is(I())\n\nx = I()\nprint('Yes' if -40 <= x <= 40 else 'No')", "import sys\nimport numpy as np\nfrom math import ceil as C, floor as F\nfrom collections import defaultdict as D\nfrom functools import reduce as R\n \nALP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'\nalp = 'abcdefghijklmnopqrstuvwxyz'\ndef _X(): return sys.stdin.readline().rstrip().split(' ')\ndef _S(ss): return tuple(ss) if len(ss) > 1 else ss[0]\ndef S(): return _S(_X())\ndef Ss(): return list(S())\ndef _I(ss): return tuple([int(s) for s in ss]) if isinstance(ss, tuple) else int(ss)\ndef I(): return _I(S())\ndef _Is(ss): return list(ss) if len(ss) > 1 else [ss]\ndef Is(): return _Is(I())\n \nx = I()\nprint('Yes' if x >= 30 else 'No')"]
|
['Wrong Answer', 'Accepted']
|
['s308857180', 's873715053']
|
[27064.0, 27164.0]
|
[119.0, 122.0]
|
[618, 613]
|
p02594
|
u357335656
| 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("No")', 'if int(input()) >= 30:\n print("Yes")\nelse:\n print("No")']
|
['Runtime Error', 'Accepted']
|
['s644389437', 's993994569']
|
[8952.0, 9156.0]
|
[24.0, 27.0]
|
[51, 57]
|
p02594
|
u363320559
| 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')\nelse:\n print('No')", "a=int(input())\nif a>=30:\n print('Yes')\nelse:\n print('No')\n"]
|
['Runtime Error', 'Accepted']
|
['s143918355', 's517563431']
|
[8816.0, 9144.0]
|
[26.0, 27.0]
|
[59, 60]
|
p02594
|
u367323774
| 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())\na=7\ni=1\nif k%2==0:\n print(-1)\nelse:\n while True:\n if a%k==0:\n print(i)\n break\n a=a*10+7\n i+=1', 'k=int(input())\na=7\ni=1\nwhile i<=k+1:\n if a%k==0:\n print(i)\n break\n a=a*10+7\n i+=1\n if i==k+1:\n print(-1)', 'N,D=input().split()\nn=int(N)\nd=int(D)\ncount=0\nfor i in range(n):\n X,Y=input().split()\n x=int(X)\n y=int(Y)\n distance=x*x+y*y\n if distance<=d*d:\n count+=1\nprint(count)', "x=int(input())\nif x>=30:\n print('Yes')\nelse:\n print('No')"]
|
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
|
['s217452609', 's461717791', 's769443221', 's420799025']
|
[9096.0, 9116.0, 9124.0, 9164.0]
|
[2205.0, 26.0, 24.0, 27.0]
|
[147, 121, 173, 59]
|
p02594
|
u367794409
| 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 copy\nimport math\n\nN, K = list(map(int,input().split()))\nAs = list(map(int,input().split()))\n\nsorted_As = sorted(As,reverse = True)\ncut_As = copy.copy(sorted_As)\ncount_list = [0]*len(sorted_As)\n\nfor i in range(K):\n index = cut_As.index(max(cut_As))\n count = count_list[index]\n count_list[index] += 1\n cut_As[index] = sorted_As[index] / (count+2)\n\n'''\nfor i in range(K):\n count = count_list[0]\n count_list[0] += 1\n cut_As[0] = sorted_As[0] / (count+2)\n cut_As,sorted_As,count_list = (list(x) for x in zip(*sorted(zip(cut_As,sorted_As,count_list),reverse = True)))\n'''\n\nprint(math.ceil(max(cut_As)))\n", 'X = int(input())\nif X >= 30:\n print("Yes")\nelse:\n print("No")\n']
|
['Runtime Error', 'Accepted']
|
['s627339536', 's564290321']
|
[9212.0, 8992.0]
|
[29.0, 27.0]
|
[628, 68]
|
p02594
|
u368504695
| 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 = input()\n\nif t >= 30:\n print("Yes")\nelse:\n print("No")', 't = int(input())\n\nif t >= 30:\n print("Yes")\nelse:\n print("No")\n']
|
['Runtime Error', 'Accepted']
|
['s601543337', 's957051170']
|
[8960.0, 9004.0]
|
[26.0, 27.0]
|
[59, 65]
|
p02594
|
u372119488
| 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')\n"]
|
['Runtime Error', 'Accepted']
|
['s323093254', 's901825701']
|
[8908.0, 9096.0]
|
[29.0, 30.0]
|
[56, 62]
|
p02594
|
u372208514
| 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 math\n \ni = input().split()\nn = int(i[0])\nD = int(i[1])\nnum_list = []\ncount = 0\nfor i in range(n):\n\tnum_list.append(list(map(int,input().split())))\n \nfor j in num_list:\n x = j[0]\n y = j[1]\n dist = math.sqrt(x ** 2 + y ** 2)\n if dist <= D:\n count += 1\n \nprint(count)', 'rawtemp = input()\ntemp = int(rawtemp)\n\nif temp < 30:\n print("No")\nelse:\n print("Yes")']
|
['Runtime Error', 'Accepted']
|
['s425183340', 's322418011']
|
[9100.0, 9044.0]
|
[23.0, 32.0]
|
[290, 91]
|
p02594
|
u372802746
| 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 = float(input())\nif X=>30:\n print("Yes")\nelse\n print("No")', 'X = float(input())\nif X>=30:\n print("Yes")\nelse:\n print("No")']
|
['Runtime Error', 'Accepted']
|
['s455126726', 's497299576']
|
[8932.0, 9080.0]
|
[25.0, 26.0]
|
[62, 63]
|
p02594
|
u373703188
| 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']
|
['s134433856', 's291276559']
|
[9084.0, 9120.0]
|
[27.0, 33.0]
|
[62, 67]
|
p02594
|
u374795478
| 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?
|
["input X as int\nif X >= 30:\n return 'Yes'\nelse:\n return'No'", "input = X\nif X >= 30:\n print('Yes')\nelse:\n print('No')", "input = int(X)\nif X >= 30:\n return 'Yes'\nelse:\n return 'No'\n", "X = int(input())\nif(X >= 30):\n print('Yes')\nelse:\n print('No')"]
|
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
|
['s579761841', 's754324378', 's988602262', 's991714784']
|
[8712.0, 9028.0, 8996.0, 9152.0]
|
[23.0, 32.0, 23.0, 31.0]
|
[60, 56, 62, 64]
|
p02594
|
u381359012
| 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')\n ", "a = int(input())\n\nif a >= 30:\n print('YES')\nelse:\n print('NO')\n", "a = int(input())\n\nif a >= 30:\n print('Yes')\nelse:\n print('No')\n"]
|
['Wrong Answer', 'Wrong Answer', 'Accepted']
|
['s074170076', 's905453494', 's030868710']
|
[9140.0, 9084.0, 9080.0]
|
[27.0, 32.0, 30.0]
|
[71, 69, 69]
|
p02594
|
u386020768
| 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")\nelse\n print("No")', 'a = int(input())\nif a>=30:\n print("Yes")\nelse:\n print("No")']
|
['Runtime Error', 'Accepted']
|
['s835621128', 's873006217']
|
[8868.0, 9124.0]
|
[23.0, 29.0]
|
[60, 61]
|
p02594
|
u389530753
| 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()\ntext=int(a)\nif text>=30\n print('Yes')\nelse:\n print('No')", "a=input()\ntext=int(a)\nif text>=30\n print('Yes')\nelse:\n print('No')", "a=input()\ntext=int(a)\nif text>=30 :\n print('Yes')\nelse:\n print('No')"]
|
['Runtime Error', 'Runtime Error', 'Accepted']
|
['s075403853', 's680762793', 's721637256']
|
[9012.0, 9012.0, 9056.0]
|
[28.0, 25.0, 29.0]
|
[72, 68, 74]
|
p02594
|
u400844861
| 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?
|
['#coding:utf-8\nX = int(input())\n\n-40 <= X <= 40\n\nif X <= 30:\n print("Yes")\nelse :\n print("No")', '#coding:utf-8\nX = int(input())\n\n\n-40 <= X <= 40\n\nif X >= 30:\n print("Yes")\nelse :\n print("No")']
|
['Wrong Answer', 'Accepted']
|
['s395334030', 's516234884']
|
[9152.0, 9156.0]
|
[32.0, 25.0]
|
[99, 100]
|
p02594
|
u401487574
| 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?
|
['ma = lambda :map(int,input().split())\nni = lambda:int(input())\nyn = lambda fl:print("Yes") if fl else print("No")\nimport collections\nimport math\nimport itertools\nimport heapq as hq\nx = ni()\nif x>=30:\n f=True\nelse:\n f=False\nprint(yn(f))\n', 'ma = lambda :map(int,input().split())\nni = lambda:int(input())\nyn = lambda fl:print("Yes") if fl else print("No")\nimport collections\nimport math\nimport itertools\nimport heapq as hq\nx = ni()\nif x>=30:\n f=True\nelse:\n f=False\nyn(f)\n']
|
['Wrong Answer', 'Accepted']
|
['s668368682', 's110571001']
|
[9464.0, 9384.0]
|
[30.0, 31.0]
|
[242, 235]
|
p02594
|
u402339511
| 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')"]
|
['Runtime Error', 'Accepted']
|
['s997832190', 's095489294']
|
[9080.0, 9068.0]
|
[31.0, 31.0]
|
[64, 63]
|
p02594
|
u404842368
| 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()\n\nif a>=30:\n print("Yes")\nelse:\n print("No")', 'a= int(input())\n\nif a>=30:\n print("Yes")\nelse:\n print("No")']
|
['Runtime Error', 'Accepted']
|
['s843101782', 's501481804']
|
[8956.0, 9116.0]
|
[24.0, 27.0]
|
[60, 65]
|
p02594
|
u406138190
| 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<=40 and x>=-40):\n print('Yes')\nelse:\n print('No')", "x=int(input())\nif(x>=30):\n print('Yes')\nelse:\n print('No')"]
|
['Wrong Answer', 'Accepted']
|
['s225995727', 's628519163']
|
[9148.0, 9140.0]
|
[32.0, 26.0]
|
[75, 64]
|
p02594
|
u408325839
| 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 % 2 == 0:\n print(-1)\nelse:\n r = 1\n x = 7\n while True:\n rem = x % K\n if rem == 0:\n break\n r += 1\n x = (rem * 10) + 7\n print(r)\n', "X = int(input())\nr = 'Yes' if X >= 30 else 'No'\nprint(r)\n"]
|
['Wrong Answer', 'Accepted']
|
['s022532409', 's922005223']
|
[9096.0, 9104.0]
|
[2205.0, 32.0]
|
[202, 57]
|
p02594
|
u410967766
| 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('NO')\nelse:\n print('YES')", "t = int(input())\nif t < 30:\n print('No')\nelse:\n print('Yes')"]
|
['Wrong Answer', 'Accepted']
|
['s429566551', 's218744115']
|
[9088.0, 9144.0]
|
[26.0, 29.0]
|
[62, 62]
|
p02594
|
u413278979
| 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']
|
['s342240032', 's584527579']
|
[9160.0, 9080.0]
|
[27.0, 30.0]
|
[64, 68]
|
p02594
|
u414699019
| 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("YNeos"[max(int(input())//30,0):5:2])', 'print("Yes" if int(input())>=30 else "No")']
|
['Wrong Answer', 'Accepted']
|
['s124551986', 's470435266']
|
[9160.0, 9136.0]
|
[32.0, 29.0]
|
[43, 42]
|
p02594
|
u415380647
| 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', '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']
|
['s409960412', 's561819889', 's728535706']
|
[8964.0, 9152.0, 9156.0]
|
[29.0, 30.0, 28.0]
|
[5, 59, 59]
|
p02594
|
u415915510
| 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']
|
['s644713590', 's045355000']
|
[9016.0, 9148.0]
|
[22.0, 24.0]
|
[58, 63]
|
p02594
|
u415995713
| 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()\nif x >= 30:\n print("yes")\n else\n print("no")\n ', 'int(X)\nif X >= 30 :\n print("Yes")\nelse :\n print("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', 'Runtime Error', 'Accepted']
|
['s423619503', 's443506634', 's551204918', 's301335932']
|
[8944.0, 8892.0, 8912.0, 9136.0]
|
[21.0, 26.0, 24.0, 25.0]
|
[60, 55, 58, 65]
|
p02594
|
u418826171
| 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')", "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', 'Wrong Answer', 'Accepted']
|
['s489095935', 's527575971', 's568673873', 's080280303']
|
[9092.0, 9168.0, 9156.0, 9148.0]
|
[31.0, 29.0, 29.0, 28.0]
|
[67, 67, 67, 67]
|
p02594
|
u421764188
| 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', 'N,D=map(int,input().split())\nans=0\n\nfor i in range(N):\n x,y=map(int,input().split())\n if(D*D>=x*x+y*y):ans+=1\n \n \nprint(ans)', 'x=int(input())\nif(x>=30):\n print("Yes")\nelse:\n print("No")\n']
|
['Wrong Answer', 'Runtime Error', 'Accepted']
|
['s122310108', 's398133704', 's024718745']
|
[9068.0, 9160.0, 9040.0]
|
[29.0, 27.0, 25.0]
|
[65, 137, 65]
|
p02594
|
u422272120
| 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())\nprint ("Yes") if n >= 30 else print ("NO")\n', 'n = int(input())\nprint ("Yes") if n >= 30 else print ("No")\n']
|
['Wrong Answer', 'Accepted']
|
['s139895618', 's338822496']
|
[9136.0, 9164.0]
|
[29.0, 25.0]
|
[60, 60]
|
p02594
|
u423389475
| 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\nimport math\nn,k = map(int,input().split())\na = list(map(int,input().split()))\nif k ==0:\n print(max(a))\n sys.exit()\ndef check(t):\n ans = 0\n for aa in a:\n if aa > t:\n ans += aa//t\n if ans > k:\n return False\n else:\n return True\nmax = 10**9\nmin = 0\nwhile max-min>1:\n mid = (max+min)/2\n if check(mid):\n max = mid\n else:\n min = mid\nprint(math.ceil(max))', 'import sys\nimport math\nn,k = map(int,input().split())\na = list(map(int,input().split()))\nif k ==0:\n print(max(a))\n sys.exit()\ndef check(t):\n ans = 0\n if t==0:\n return False\n for aa in a:\n if aa > t:\n ans += aa//t\n return ans <= k\nmax = 10**9+1\nmin = 0\nwhile max-min>1:\n mid = (max+min)//2\n if check(mid):\n max = mid\n else:\n min = mid\nprint(math.ceil(max))', 'x = int(input())\nif x >= 30:\n print("Yes")\nelse:\n print("No")']
|
['Runtime Error', 'Runtime Error', 'Accepted']
|
['s124285119', 's287119686', 's075600629']
|
[9168.0, 9052.0, 9132.0]
|
[21.0, 24.0, 33.0]
|
[387, 381, 63]
|
p02594
|
u423966555
| 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())\nt = 7\nt %= K\n\nfor i in range(K+1):\n if t == 0:\n print(i+1)\n break\n t = (t*10+7)%K\nelse:\n\tprint(-1)', 'K = int(input())\nt = 7\nt %= K\n\nfor i in range(K+1):\n if t == 0:\n print(i+1)\n break\n t = (t*10+7)%K\nelse:\n print(-1)\n', 'K = int(input())\nt = 7\nt %= K\n\nfor i in range(K+1):\n if t == 0:\n print(i+1)\n break\n t = (t*10+7)%K\nelse:\n \tprint(-1)\n', 'x = int(input())\nif x >= 30:\n print("Yes")\nelse:\n print("No")\n']
|
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
|
['s488808639', 's583478730', 's618343625', 's131591422']
|
[9092.0, 9152.0, 9136.0, 9140.0]
|
[25.0, 25.0, 29.0, 28.0]
|
[135, 137, 138, 68]
|
p02594
|
u428341537
| 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']
|
['s247505669', 's265865200', 's651597873']
|
[9028.0, 8892.0, 9152.0]
|
[25.0, 24.0, 27.0]
|
[55, 55, 60]
|
p02594
|
u430395207
| 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']
|
['s437511519', 's360343620']
|
[9048.0, 9028.0]
|
[23.0, 25.0]
|
[63, 63]
|
p02594
|
u432295780
| 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 print("Yes")\nelse print("No")', 't = int(input())\nif t >= 30:\n print("Yes")\nelse :\n print("No")']
|
['Runtime Error', 'Accepted']
|
['s194096742', 's116257543']
|
[8844.0, 9096.0]
|
[21.0, 29.0]
|
[56, 64]
|
p02594
|
u432586856
| 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())\n\nif x >= 30:\n print("YES")\nelse:\n\tprint("NO") ', 'x = int(input())\nif x >= 30:\n print("Yes")\nelse:\n print("No")']
|
['Runtime Error', 'Wrong Answer', 'Accepted']
|
['s450918455', 's604459643', 's138873571']
|
[8944.0, 9080.0, 9144.0]
|
[28.0, 28.0, 27.0]
|
[64, 65, 63]
|
p02594
|
u438189153
| 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>=30 else "No25")\n', 'x=int(input())\nprint("Yes" if x>=30 else "No")\n']
|
['Wrong Answer', 'Accepted']
|
['s409005774', 's351180444']
|
[9140.0, 9140.0]
|
[34.0, 30.0]
|
[49, 47]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.