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 |
|---|---|---|---|---|---|---|---|---|---|---|
p03210 | u185948224 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["X = int(input())\n\nif X==7 or X==5 or X==3:print('Yes')\nelse:print('No')", "X = int(input())\n \nif X==7 or X==5 or X==3:print('YES')\nelse:print('NO')"] | ['Wrong Answer', 'Accepted'] | ['s883689006', 's301073141'] | [2940.0, 2940.0] | [17.0, 17.0] | [71, 72] |
p03210 | u188745744 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['X = int(input())\nif X == 7 or X == 5 or X == 3:\n print("Yes")\nelse:\n print("No")', 'X = int(input())\nif X == 7 or X == 5 or X == 3:\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Accepted'] | ['s297634794', 's393107589'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 86] |
p03210 | u190178779 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["import sys\nX = int(input())\nif not ( 1 <= X <= 9 ): sys.exit()\n\nprint('Yes') if X == 3 or X == 5 or X == 7 else print('No')", "import sys\nX = int(input())\nif not ( 1 <= X <= 9 ): sys.exit()\n\nprint('YES') if X == 3 or X == 5 or X == 7 else print('NO')"] | ['Wrong Answer', 'Accepted'] | ['s585224925', 's272458731'] | [9144.0, 9020.0] | [23.0, 27.0] | [123, 123] |
p03210 | u194689114 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["X = input()\n\nif X == 3 or X == 5 or X == 7:\n\tprint('Yes')\nelse \n\tprint('No')", "X = input()\n\nif X == 3 or X == 5 or X == 7:\n\tprint('Yes')\nelse :\n\tprint('No')", "X = int(input())\n\nif X == 3 or X == 5 or X == 7:\n\tprint('Yes')\nelse \n\tprint('No')", "X = int(input())\n\n\nif X == 3 or X == 5 or X == 7:\n\tprint('YES')\nelse :\n\tprint('NO')"] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s173306494', 's488659774', 's970986326', 's675014266'] | [3068.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [76, 77, 81, 83] |
p03210 | u194894739 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["import sys\nsys.setrecursionlimit(10**5)\nN = int(input())\n\ndef rec(num ,cnt=0):\n if int(num) > N:\n return cnt\n\n if '7' in num and '5' in num and '3' in num:\n cnt += 1\n\n return rec('7'+num, cnt) + rec('5'+num, cnt) + rec('3'+num, cnt)\n\nprint(rec('7')+rec('5')+rec('3'))\n", 'import sys\nsys.setrecursionlimit(10**5)\nN = int(input())\n\ndef rec(num, use, cnt):\n if num > N:\n return cnt\n\n if (use == 0b111):\n cnt += 1\n\n return rec(num*10+7, use | 0b100, cnt)\\\n + rec(num*10+5, use | 0b010, cnt)\\\n + rec(num*10+3, use | 0b001, cnt)\n\nprint(rec(0,0,0))\n', 'x = int(input())\nif x == 7 or x == 5 or x == 3:\n print("YES")\nelse:\n print("NO")\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s433402776', 's916743646', 's703227885'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [291, 307, 87] |
p03210 | u200275627 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["x = int(intput())\nif x == 7 or x == 5 or x == 3:\n print('YES')\nelse:\n print('NO')\n", "x = int(input())\nif x == 7 or x == 5 or x == 3:\n print('YES')\nelse:\n print('NO')\n"] | ['Runtime Error', 'Accepted'] | ['s506819240', 's986451079'] | [2940.0, 2940.0] | [17.0, 17.0] | [88, 87] |
p03210 | u202826462 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['x = int(input())\n\nif x == 7 or x == 5 or x == 3:\n print("Yes")\nelse:\n print("No")\n', 'x = int(input())\n\nif x == 7 or x == 5 or x == 3:\n print("YES")\nelse:\n print("NO")\n'] | ['Wrong Answer', 'Accepted'] | ['s338534833', 's102823390'] | [2940.0, 2940.0] | [17.0, 17.0] | [88, 88] |
p03210 | u203669169 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['N = int(input())\n\nif N == 7 or N == 5 or N ==3:\n print("Yes")\nelse:\n print("No")\n', 'N = int(input())\n\nif N == 7 or N == 5 or N ==3:\n print("YES")\nelse:\n print("NO")\n'] | ['Wrong Answer', 'Accepted'] | ['s755174630', 's838904466'] | [2940.0, 2940.0] | [17.0, 18.0] | [87, 87] |
p03210 | u205700197 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['num=input()\nif num==3 or num==5 or num==7 :\n print("YES")\nelse :\n print("NO")', "num=input()\nif num==3 or num==5 or num==7 :\n print('YES')\nelse :\n print('NO')", 'num=input()\nif num==3 :\n print("YES")\nelif num==5 :\n print("YES")\nelif num==7 :\n print("YES")\nelse :\n print("NO")', "num=int(input())\nif num==3 or num==5 or num==7 :\n print('YES')\nelse :\n print('NO')"] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s132501789', 's258802506', 's514891871', 's787438573'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0, 18.0] | [83, 83, 125, 88] |
p03210 | u206570055 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["def is753(n):\n s = str(n)\n ans = False\n if s.find('3') != -1 and s.find('5') != -1 and s.find('7') != -1:\n ans = True\n return ans\n\nN = int(input())\n\nnums = [3,5,7]\nfor i in range(8):\n PrevNums = nums.copy()\n for n in PrevNums:\n nums.append(n * 10 + 3)\n nums.append(n * 10 + 5)\n nums.append(n * 10 + 7)\n\nnums = set(nums)\nnums2 = list()\nfor n in nums:\n if is753(n) :\n nums2.append(n)\n\nnums2.sort()\nans = 0\nfor i in range(len(nums2)):\n if nums2[i] >= N:\n ans = i\n break\n ans = len(nums2)\nprint(ans)", "old = int(input())\nshichigosan = [7, 5, 3]\nif old in shichigosan:\n print('Yes')\nelse:\n print('No')\n", "old = int(input())\nshichigosan = [7, 5, 3]\nif old in shichigosan:\n print('YES')\nelse:\n print('NO')\n"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s179350044', 's425834379', 's031344020'] | [13816.0, 2940.0, 2940.0] | [90.0, 19.0, 18.0] | [571, 105, 105] |
p03210 | u209275335 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['s = int(input())\nis s == 3 or s == 5 or s == 7:\n print("YES")\nelse:\n print("NO")', 's = int(input())\nif s == 3 or s == 5 or s == 7:\n print("Yes")\nelse:\n print("No")', 's = int(input())\nif s == 3 or s == 5 or s == 7:\n print("YES")\nelse:\n print("NO")'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s794462705', 's857799363', 's520563241'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [86, 86, 86] |
p03210 | u209619667 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["A = int(input())\nif (A == 7 or A==5 or A==3):\n print('Yes')\nelse:\n ('No')", "A = int(input())\nif (A == 7 or A==5 or A==3):\n print('Yes')\nelse:\n print('No')", "A = int(input())\nif (A == 7 or A==5 or A==3):\n print('YES')\nelse:\n print('NO')"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s453826594', 's902639291', 's867911221'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [75, 80, 80] |
p03210 | u216459554 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['print("YES" if (input() in (3,5,7)) else "NO")', 'rint("YES" if (input() in (3,5,7)) else "NO")', 'print("YES" if (int(input()) in (3,5,7)) else "NO")'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s430665742', 's918104189', 's384882983'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 18.0] | [46, 45, 51] |
p03210 | u216631280 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['s = input()\nans = 999\nfor i in range(len(s) - 2):\n if abs(753 - int(s[i:i + 3])) < ans:\n ans = abs(753 - int(s[i:i + 3]))\nprint(ans)', "x = int(input())\nli = [3, 5, 7]\nif x in li:\n\tprint('YES')\nelse:\n\tprint('NO')"] | ['Wrong Answer', 'Accepted'] | ['s548103825', 's142383227'] | [2940.0, 2940.0] | [18.0, 17.0] | [142, 76] |
p03210 | u217303170 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["x = int(input())\nif x == 3 or x == 5 or x == 7:\n print('Yes')\nelse:\n print('No')\n", "x = int(input())\nif x == 3 or x == 5 or x == 7:\n print('YES')\nelse:\n print('NO')\n"] | ['Wrong Answer', 'Accepted'] | ['s208111841', 's500870475'] | [2940.0, 2940.0] | [17.0, 17.0] | [87, 87] |
p03210 | u221345507 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['X = int(input())\nshichigosan = [7, 5, 3]\nif X in shichigosan:\n print("Yes")\nelse:\n print ("No")', 'X = int(input())\nshichigosan = [7, 5, 3]\nif X in shichigosan:\n print("YES")\nelse:\n print ("NO")'] | ['Wrong Answer', 'Accepted'] | ['s214629485', 's304199324'] | [2940.0, 2940.0] | [18.0, 18.0] | [101, 101] |
p03210 | u227085629 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["a = int(input())\nif a == 3 or a == 5 or a == 7:\n print('Yes')\nelse:\n print('No')", "a = int(input())\nif a == 3 or a == 5 or a == 7:\n print('YES')\nelse:\n print('NO')"] | ['Wrong Answer', 'Accepted'] | ['s789369137', 's930523082'] | [2940.0, 3064.0] | [17.0, 17.0] | [82, 82] |
p03210 | u227604873 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['a = int(input())\nif a==7 or a==5 or a==3:\n\tprint("YES")\nelse print("NO")', 'a = int(input())\nif a==7 or a==5 or a==3:\n\tprint("YES")\nelse:\n\tprint("NO")'] | ['Runtime Error', 'Accepted'] | ['s377347918', 's355073391'] | [2940.0, 2940.0] | [17.0, 17.0] | [72, 74] |
p03210 | u229333839 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['X = input()\nif X == 7:\n print("YES")\nelif X == 5:\n print("YSE")\nelif X == 3:\n print("YES")\nelse:\n print("NO")', 'X = input()\nX = int(X)\nif X == 7:\n print("YES")\nelif X == 5:\n print("YSE")\nelif X == 3:\n print("YES")\nelse:\n print("NO")', 'X = input()\nX = int(X)\nif X == 7 or X==5 or X==3:\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s081857898', 's335920223', 's551748825'] | [2940.0, 2940.0, 3060.0] | [17.0, 18.0, 19.0] | [113, 124, 84] |
p03210 | u231685196 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['x = int(input())\nif x in [3,5,7]\n print("YES")\nelse:\n print("NO")', 'x = int(input())\nif x in [3,5,7]:\n print("YES")\nelse:\n print("NO")'] | ['Runtime Error', 'Accepted'] | ['s168650580', 's131969020'] | [2940.0, 2940.0] | [17.0, 17.0] | [71, 72] |
p03210 | u235066013 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["X=int(input())\nif X=3 or X=5 or X=7:\n print('YES')\nelse:\n print('NO')", "X=int(input())\nif X==3 or X==5 or X==7:\n print('YES')\nelse:\n print('NO')"] | ['Runtime Error', 'Accepted'] | ['s977096617', 's898645200'] | [3188.0, 2940.0] | [18.0, 17.0] | [71, 74] |
p03210 | u239091426 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['x = int(input())\nif x == 3 or x == 5 or x == 7:\n print("Yes")\nelse:\n print("No")', 'x = int(input())\nif x == 3 or x == 5 or x == 7:\n print("Yes")\nelse:\n print("No")', 'x = int(input())\nif x == 3 or x == 5 or x == 7:\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s510335903', 's823976972', 's750057729'] | [9148.0, 9096.0, 9076.0] | [28.0, 29.0, 24.0] | [82, 82, 82] |
p03210 | u239528020 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['#!/usr/bin/env python3\n\na = int(input())\na, b = list(map(int, input().split()))\na = list(str(input()))\n', '#!/usr/bin/env python3\n\nx = int(input())\n\nif x == 3 or x == 5 or x == 7:\n print("YES")\nelse:\n print("NO")\n'] | ['Runtime Error', 'Accepted'] | ['s739413400', 's706496338'] | [8956.0, 9088.0] | [23.0, 28.0] | [103, 112] |
p03210 | u244459371 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['cnt = 0\nn = 357\nl = int(input())+1\nwhile n<l:\n #print(n)\n s = str(n)\n\n ok = False\n for i in "0124689":\n if i in s:\n ok = True\n break\n\n if ok:\n #print(s)\n if s[0] == \'1\':\n n += 2*(10**(len(s)-1))\n elif s[0] == \'4\' or s[0] == \'6\':\n n += 10**(len(s)-1)\n else:\n n+=2\n continue\n \n if \'3\' in s and \'5\' in s and \'7\' in s:\n #print(s)\n cnt += 1\n \n n+=2\nprint(cnt)\n', 'n = int(input())\nif n == 7 or n == 5 or n == 3:\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Accepted'] | ['s969818921', 's612651100'] | [3064.0, 2940.0] | [17.0, 17.0] | [501, 86] |
p03210 | u244836567 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['a=input()\na=int(a)\nif a==3:\n print("YES")\nif a==5:\n print("YES")\nif a==7:\n print("YES")\nelse:\n print("NO")', 'a=input()\na=int(a)\nif a==3:\n print("YES")\nif a==5:\n print("YES")\nif a==7:\n print("YES")\n else:\n print("NO")', 'a=int(input())\nif a==3 or a==5 or a==7:\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s347051075', 's619404504', 's432364599'] | [9060.0, 8864.0, 9012.0] | [27.0, 22.0, 29.0] | [110, 114, 74] |
p03210 | u248670151 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["a=int(input())\nprint('Yes' if a=='5' or a=='3' or a=='7' else 'No')", "a=int(input())\nprint('YES' if a=='5' or a=='3' or a=='7' else 'NO')", "a=int(input())\nprint('Yes' if a=='5' or '3' or '7' else 'No')", 'x = int(input())\nif x == 3 or x == 5 or x == 7:\n print("YES")\nelse:\n print("NO")\n'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s302798245', 's660833389', 's774929935', 's151730806'] | [8984.0, 9116.0, 9116.0, 9088.0] | [24.0, 22.0, 29.0, 29.0] | [67, 67, 61, 87] |
p03210 | u248670337 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['print("YES" if input() in 753 else "NO")', 'print("YES" if input() in "753" else "NO")'] | ['Runtime Error', 'Accepted'] | ['s359019865', 's553156896'] | [2940.0, 2940.0] | [17.0, 17.0] | [40, 42] |
p03210 | u249727132 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['D = int(input())\nif D == 7 or D == 5 or D == 3:\n print("Yes")\nelse:\n print("No")', 'D = int(input())\nif D == 7 or 5 or 3:\n print("Yes")\nelse:\n print("No")\n', 'D = int(input())\nif D == 7 or D == 5 or D == 3:\n print("YES")\nelse:\n print("NO")\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s453662106', 's949689778', 's668130879'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [86, 77, 87] |
p03210 | u252210202 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['X = int(input())\nif X == 7 or X == 5 or X == 3:\n print("Yes")\nelse:\n print("No")\n', 'X = int(input())\nif X == 7 or X == 5 or X == 3:\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Accepted'] | ['s218330767', 's283199801'] | [2940.0, 2940.0] | [17.0, 17.0] | [87, 86] |
p03210 | u258605658 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["x = int(input())\nif x == 7:\n print('Yes')\nelif x == 5:\n print('Yes')\nelif x == 3:\n print('Yes')\nelse:\n print('No')\n", "x = int(input())\nif x == 7:\n print('YES')\nelif x == 5:\n print('YES')\nelif x == 3:\n print('YES')\nelse:\n print('NO')\n"] | ['Wrong Answer', 'Accepted'] | ['s668471298', 's364500212'] | [2940.0, 2940.0] | [17.0, 17.0] | [127, 127] |
p03210 | u263691873 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['X = int(input())\nif X % 3 == 0 or X % 3 == 5 or X % 7 == 0:\n print("YES")\nelse:\n print("NO")', 'X = int(input())\nif X % 3 == 0 or X % 3 == 0 or X % 7 == 0:\n print("YES")\nelse:\n print("NO")', 'X = int(input())\nif X==3 or X==5 or X==7:\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s130323989', 's759061691', 's264657842'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [94, 94, 76] |
p03210 | u265065462 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['a = int(input())\n\nif (a == 7) or (a == 5) or (a == 3):\n print("YES")\nelse print("NO")\n\n', 'a = int(input())\n \nif (a == 7) or (a == 5) or (a == 3):\n print("YES")\nelse:\n print("NO")'] | ['Runtime Error', 'Accepted'] | ['s776372369', 's714236803'] | [2940.0, 2940.0] | [17.0, 17.0] | [88, 90] |
p03210 | u265118937 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['x=input()\nif "753" in x:\n print("Yes")\nelse:\n print("No")', 'x=input()\nif x in "753":\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Accepted'] | ['s557451624', 's260688974'] | [2940.0, 2940.0] | [17.0, 17.0] | [60, 61] |
p03210 | u265535578 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["a = input()\nif int(a) == 3 or int(a) == 5 or int(a) == 7:\n print('Yes')\nelse:\n print('No')", "a = input()\nif int(a) == 3 or int(a) == 5 or int(a) == 7:\n print('YES')\nelse:\n print('NO')"] | ['Wrong Answer', 'Accepted'] | ['s753890656', 's688293789'] | [9140.0, 9164.0] | [27.0, 24.0] | [96, 96] |
p03210 | u267552846 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['d = int(input())\n\nif d == 25:\n print("Christmas")\nelif d == 24:\n print("Christmas Eve")\nelif d == 23:\n print("Christmas Eve Eve")\nelse:\n print("Christmas Eve Eve Eve")\n', 'x = int(input())\n\nif x == 7 or x == 5 or x == 3:\n print("YES")\nelse:\n print("NO")\n'] | ['Wrong Answer', 'Accepted'] | ['s933414301', 's179324212'] | [2940.0, 2940.0] | [18.0, 18.0] | [180, 88] |
p03210 | u268793453 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["from math import log10\n\nn = int(input())\nm = int(log10(n)) + 1\n\nans = 0\n\ndef dfs(i, s):\n if i == m:\n if not '0' in all(a in str(int(s)) a in '753') and int(s) <= n:\n return 1\n return 0\n res = 0\n for a in '0357':\n res += dfs(i+1, s + a)\n return res\n\nprint(dfs(0, ''))\n", "n = int(input())\nprint('YES' if n == 3 or n == 5 or n == 7 else 'NO')"] | ['Runtime Error', 'Accepted'] | ['s399265997', 's558401055'] | [2940.0, 2940.0] | [18.0, 17.0] | [311, 69] |
p03210 | u276468459 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["X = int(input())\nans = 'No'\nif X == 3 or X == 5 or X ==7:\n\tans = 'Yes'\nprint(ans)", 'X = int(input())\nans = No\nif X == 3 or X == 5 or X ==7:\n\tans = Yes\nprint(ans)', "X = int(input())\nans = 'No'\nif X == 3 or X == 5 or X ==7:\n ans = 'Yes'\nprint(ans)", "X = int(input())\nans = 'NO'\nif X == 3 or X == 5 or X ==7:\n ans = 'YES'\nprint(ans)"] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s416760213', 's721801613', 's742456300', 's858407252'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0, 18.0] | [81, 77, 84, 84] |
p03210 | u277641173 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['s=int(input()\nif s==3 or s==5 or s==7:\n print("YES")\nelse:\n print("NO")', 's=int(input())\nif s==3 or s==5 or s==7:\n print("YES")\nelse:\n print("NO")'] | ['Runtime Error', 'Accepted'] | ['s016749118', 's020621734'] | [2940.0, 2940.0] | [18.0, 17.0] | [81, 74] |
p03210 | u278864208 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['X = int(input())\nX = 7 or X = 5 or X =3:\n print("YES")\nelse:\n print("NO")', 'X = int(input())\nif X == 7 or X == 5 or X == 3:\n print("YES")\nelse:\n print("NO")'] | ['Runtime Error', 'Accepted'] | ['s055393480', 's409166642'] | [2940.0, 2940.0] | [18.0, 18.0] | [79, 86] |
p03210 | u281303342 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['X = int(input())\nprint("Yes" if X in [7,5,3] else "No")', '# Python3 (3.4.3)\nimport sys\ninput = sys.stdin.readline\n\n# -------------------------------------------------------------\n# function\n# -------------------------------------------------------------\n\n\n# -------------------------------------------------------------\n# main\n# -------------------------------------------------------------\nX = input().rstrip()\n\nprint("YES" if X in "753" else "NO")'] | ['Wrong Answer', 'Accepted'] | ['s173456125', 's898185961'] | [2940.0, 2940.0] | [17.0, 17.0] | [55, 391] |
p03210 | u282657760 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["X = int(input())\nans = 'NO'\nif X in ['3','5','7']:\n ans = 'YES'\nprint(ans)", "X = input()\nans = 'NO'\nif X in ['3','5','7']:\n ans = 'YES'\nprint(ans)\n"] | ['Wrong Answer', 'Accepted'] | ['s759947112', 's024093135'] | [8924.0, 8860.0] | [26.0, 28.0] | [75, 71] |
p03210 | u283751459 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['x = int(input())\n\nif x == 3 or x == 5 or x ==7:\n print("Yes")\nelse:\n print("No")', 'x = int(input())\n\nif x == 3 or x == 5 or x ==7:\n print("YES")\nelse:\n print("NO")\n'] | ['Wrong Answer', 'Accepted'] | ['s764346947', 's803017978'] | [9128.0, 9148.0] | [26.0, 28.0] | [82, 83] |
p03210 | u284262180 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['x = input()\n\nif x == \'7\' or \'5\' or \'3\'\n print("YES")\nelse:\n print("NO")\n ', 'x = input()\n\nif x == \'7\' or x == \'5\' or x == \'3\':\n print("YES")\nelse:\n print("NO")\n'] | ['Runtime Error', 'Accepted'] | ['s567705103', 's723554614'] | [2940.0, 2940.0] | [17.0, 17.0] | [82, 89] |
p03210 | u284363684 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['# input\nX = int(input())\n\n\nif X in [7, 5, 3]:\n print("Yes")\nelse:\n print("No")', '# input\nX = int(input())\n\n\nif X in [7, 5, 3]:\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Accepted'] | ['s844459874', 's559474644'] | [2940.0, 3316.0] | [17.0, 20.0] | [91, 91] |
p03210 | u287880059 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['x = input()\nif x in "753":\n print(\'Yes\')\nelse:\n print(\'No\')', 'x = input()\nif x in 753:\n print("YES")\nelse:\n print("NO")', 'x = input()\nif x in "753":\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s004795896', 's036334032', 's370229778'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [61, 59, 61] |
p03210 | u287930276 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['X=input()\nif X==7 or X==5 or X==3:\n print("Yes")\nelse:\n print("No")', 'X=int(input())\nif X==7 or X==5 or X==3:\n print("Yes")\nelse:\n print("No")', 'X=int(input())\nif X==7 or X==5 or X==3:\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s032001038', 's420971726', 's040242525'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [69, 74, 74] |
p03210 | u297045966 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['x = input()\nif x==3 or x==5 or x==7:\n print("YES")\nelse:\n print("NO")', 'x = int(input())\nif x==3 or x==5 or x==7:\n print("YES")\nelse:\n print("NO")\n'] | ['Wrong Answer', 'Accepted'] | ['s419518783', 's460476351'] | [2940.0, 2940.0] | [17.0, 18.0] | [71, 77] |
p03210 | u297046168 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["N = int(input())\nif N == 3 or 5 or 7:\n print('Yes')\nelse:\n print('No')", "N = int(input())\nif N == 3 or N==5 or N==7:\n print('Yes')\nelse:\nprint('No')", "N = int(input())\nif N == 3 or 5 or 7:\n print('Yes')\nelse:\nprint('No')", "N = int(input())\nif N == 3 or N==5 or N==7:\n print('YES')\nelse:\n print('NO')"] | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s189500277', 's876163827', 's938316580', 's036729310'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [76, 78, 72, 82] |
p03210 | u300828133 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['X=int(input())\nif X == 7 or X == 5 or X == 3:print("Yes")\nelse:print("No")', 'X = int(input())\nif X == 7 or X == 5 or X == 3:print("Yes")\nelse:print("No")', 'X=int(input())\nif X == 3 or X == 5 or X == 7:\n print("Yes")\nelse:\n print("No")\n', 'X=int(input())\nif X == 3 or X == 5 or X == 7:print("YES")\nelse:print("NO")'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s240515099', 's510045127', 's900533860', 's532356444'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 18.0, 18.0] | [74, 76, 81, 74] |
p03210 | u302957509 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['print("Yes" if input() in "753" else "No")', 'print("YES" if input() in "753" else "NO")'] | ['Wrong Answer', 'Accepted'] | ['s276343785', 's971332039'] | [3064.0, 2940.0] | [18.0, 17.0] | [42, 42] |
p03210 | u303059352 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['print("YES" if n == 7 or n == 5 or n == 3 for n in [int(input())] else "NO")', 'n = int(input())\nprint("YES" if n == 7 or n == 5 or n == 3 else "NO")'] | ['Runtime Error', 'Accepted'] | ['s440329166', 's472694582'] | [2940.0, 2940.0] | [17.0, 18.0] | [76, 69] |
p03210 | u305018585 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["import itertools \nN = int(input())\nstn = str(N)\nlstn = len(stn)\n\nseq = ['7','5','3']\n\nr = []\nfor k in range(3,lstn+1):\n a = list(itertools.combinations_with_replacement(seq,k))\n b = [i for i in a if ('3' in i )&('5'in i)&('7'in i)]\n for j in b:\n r += list(itertools.permutations(j))\n\nn = sorted(set([int(''.join(list(i))) for i in r]))\n\nprint(len([i for i in n if i<=N]))", "X = int(input())\nif X == 7:\n print('YES')\nelif X == 5:\n print('YES')\nelif X == 3:\n print('YES')\nelse :\n print('NO')"] | ['Wrong Answer', 'Accepted'] | ['s803506822', 's976394502'] | [3064.0, 3316.0] | [17.0, 21.0] | [387, 119] |
p03210 | u305452255 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["year = int(input())\n\nif year < 1 or 9 < year:\n raise ValueError\nelif year is in [3, 5, 7]:\n print('YES')\nelse:\n print('NO')\n", "year = int(input())\n\nif year < 1 or 9 < year:\n raise ValueError('Input value must be less than 9 and more than 1')\nelif year in [3, 5, 7]:\n print('YES')\nelse:\n print('NO')\n"] | ['Runtime Error', 'Accepted'] | ['s813901619', 's137829411'] | [2940.0, 2940.0] | [18.0, 18.0] | [133, 181] |
p03210 | u306071800 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['S = input()\nprint(min((abs(753 - int(S[i:i+3])) for i in range(len(S)-2))))\n', 'x = int(input())\n\nif x in (7, 5, 3):\n print("YES")\nelse:\n print("NO")'] | ['Runtime Error', 'Accepted'] | ['s414260330', 's930090120'] | [2940.0, 2940.0] | [17.0, 17.0] | [76, 71] |
p03210 | u314050667 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['s=input()\n\nprint(min([abs(int(s[i]+s[i+1]+s[i+2])-753) for i in range(len(s)-3)]))', 'x = int(input())\n\nif x == 7 or x == 5 or x == 3:\n print("YES")\nelse:\n print("NO")'] | ['Runtime Error', 'Accepted'] | ['s461344034', 's092574731'] | [2940.0, 2940.0] | [17.0, 17.0] | [82, 87] |
p03210 | u315485238 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["X = input()\n\nif X in ['3', '5', '7']:\n print('Yes')\nelse:\n print('No')", "X = input()\n \nif X in ['3', '5', '7']:\n print('YES')\nelse:\n print('NO')"] | ['Wrong Answer', 'Accepted'] | ['s133519497', 's596839098'] | [2940.0, 2940.0] | [18.0, 17.0] | [72, 73] |
p03210 | u317779196 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["x = int(input())\nif x in [7,5,3]:\n print('Yes')\nelse:\n print('No')", "x = int(input())\nif x in [7,5,3]:\n print('YES')\nelse:\n print('NO')"] | ['Wrong Answer', 'Accepted'] | ['s288620112', 's991755069'] | [9020.0, 9144.0] | [26.0, 25.0] | [72, 72] |
p03210 | u319344387 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['S= input()\nif S==3 or S==5 or S==7:\n print("YES")\nelse:\n print("NO")', 'S= input()\nif S==3 or S==5 or S==7:\n print(Yes)\nelse:\n print(No)', 'S= input()\nif S==3 or S==5 or S==7:\n print("Yes")\nelse:\n print("No")', 'S=int(input())\nif (S==3) or (S==5) or (S==7):\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s398678869', 's725264113', 's759949579', 's007747231'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 22.0, 18.0, 17.0] | [70, 66, 70, 80] |
p03210 | u319805917 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['a=int(input())\nif a==(int(7)or int(5)or int(3)):\n print("YES")\nelse:\n print("NO")', 'a=int(input())\nif a==(int(7)or int(5)or int(3)):\n print("yes")\nelse:\n print("no")', 'a=int(input())\nif a==7 or a==5 or a==3:\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s101109461', 's134680644', 's128991952'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0] | [94, 94, 85] |
p03210 | u322185540 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["x = int(input())\nif x in [3,5,7]:\n print('Yes')\nelse:\n print('No')", "x = int(input())\nif x == 3 or 5 or 7:\n print('Yes')\nelse:\n print('No')", "x = int(input())\nif x in [3,5,7]:\n print('YES')\nelse:\n print('NO')"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s162196055', 's748545324', 's621192056'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [72, 76, 72] |
p03210 | u325119213 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["x = input()\n\nif x in [7, 5, 3]:\n\tprint('YES') \nelse:\n\tprint('NO')", "x = input()\n\nif x in ['7', '5', '3']:\n\tprint('YES') \nelse:\n\tprint('NO')"] | ['Wrong Answer', 'Accepted'] | ['s492618427', 's164817050'] | [2940.0, 2940.0] | [17.0, 17.0] | [65, 71] |
p03210 | u328510800 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['S = input()\n\nresult = 10 ** 9\nfor i in range(len(S) - 3 + 1):\n result = min(result, abs(753 - int(S[i:i+3])))\n \nprint(result)', 'print(\'YES\' if input() in "753" else \'NO\')'] | ['Wrong Answer', 'Accepted'] | ['s975831227', 's159145159'] | [9128.0, 9064.0] | [27.0, 24.0] | [127, 42] |
p03210 | u329058683 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['if input() == "7" or input() == "5" or input() == "3":\n print("YES")\nelse:\n print("NO")', 'if input() == 7 or input() == 5 or input() == 3:\n print("YES")\nelse:\n print("NO")', 'a=int(input())\nif(a==7 or a==5 or a==3):\n print("Yes")\nelse:\n ("NO")', 'a=int(input())\nif(a==7 or a==5 or a==3):\n print("YES")\nelse:\n print("NO")'] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s212582571', 's416971083', 's430011590', 's853881239'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [89, 83, 70, 75] |
p03210 | u330692748 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['# -*- coding: utf-8 -*-\na = int(input())\n\nif a == 7 or a == 5 or a == 3:\n print("Yes")\nelse:\n print("no")', '# -*- coding: utf-8 -*-\na = int(input())\n\nif a == 7 or a == 5 or a == 3:\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Accepted'] | ['s122285051', 's001148624'] | [2940.0, 2940.0] | [17.0, 17.0] | [111, 111] |
p03210 | u331036636 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['print("NYoe s"[input()in"753"::2])', 'print(["No","Yes"][input()in"753"])', 'print("NYOE S"[input()in"753"::2])'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s249286634', 's685790701', 's857862071'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [34, 35, 34] |
p03210 | u331192410 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['\n\nnum = x\n\nx = int(input(\'高橋くんは何歳ですか?\'))\n\nif x = 3:\n print "YES"\n\nelif x = 5:\n print "YES"\n\nelif x = 7:\n print "YES"\n\nelse:\n print "NO"\n \n', '\n\nx = int(input(\'高橋くんは何歳ですか?\'))\n\nif x == 3:\n print "YES"\n\nelif x == 5:\n print "YES"\n\nelif x == 7:\n print "YES"\n\nelse:\n print "NO"\n \n', '\n\nx = int(input())\n\nif x == 3 or x == 5 or x == 7:\n print "YES"\n\nelse:\n print "NO"', 'x = int(input())\n\nif x == 3 or x == 5 or x == 7:\n print ("YES")\n\nelse:\n print ("NO")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s299157999', 's981340858', 's981967007', 's397193442'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0, 19.0] | [175, 169, 88, 90] |
p03210 | u331381193 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["x=int(input())\nres='No'\nif x==7 or x==5 or x==3:\n\tres='Yes'\nprint(res)", "x=int(input())\nres='NO'\nif x==7 or x==5 or x==3:\n\tres='YES'\nprint(res)"] | ['Wrong Answer', 'Accepted'] | ['s610812602', 's438589921'] | [2940.0, 2940.0] | [17.0, 17.0] | [70, 70] |
p03210 | u331464808 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["n = int(input())\nif n ==(3 or 5 or 7):\n print('YES')\nelse:\n print('NO')", "n = int(input())\nif n ==3 or n==5 or n==7:\n print('YES')\nelse:\n print('NO')"] | ['Wrong Answer', 'Accepted'] | ['s754713586', 's414051583'] | [2940.0, 2940.0] | [17.0, 17.0] | [73, 77] |
p03210 | u333190709 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["import numpy as np\n\ni = input()\n\nif i == 7 or i == 5 or i == 3:\n print('YES')\nelse:\n print('NO')", "import numpy as np\n\ni = input()\n\nif i == '7' or i == '5' or i == '3':\n print('YES')\nelse:\n print('NO')\n"] | ['Wrong Answer', 'Accepted'] | ['s876784297', 's044814805'] | [12488.0, 12488.0] | [154.0, 154.0] | [99, 106] |
p03210 | u333731247 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["X=map(int,input())\n\nif (X==7)or(X==5)or(X==3):\n print('YES')\nelse :\n print('NO')", "X=int(input())\n\nif X==7:\n print('YES')\nelif X==5:\n print('YES')\nelif X==3:\n print('YES')\nelse:\n print('NO')"] | ['Wrong Answer', 'Accepted'] | ['s173313394', 's631272157'] | [2940.0, 2940.0] | [19.0, 21.0] | [86, 119] |
p03210 | u336721073 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['S = list(map(int, input()))\nn_len = len(S)\n\ndiff_min = 1000\nfor i in range(n_len-2):\n diff = abs(S[i] * 100 + S[i+1] * 10 + S[i+2] - 753)\n if diff_min > diff:\n diff_min = diff\nprint(diff_min)', 'X = int(input())\n\nif X in [3, 5, 7]:\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Accepted'] | ['s357176910', 's381821030'] | [2940.0, 2940.0] | [17.0, 17.0] | [204, 75] |
p03210 | u337626942 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['age = int(input())\nif age == 3:\n print("YES")\nif age == 5:\n print("YES")\nif age == 7:\n print("YES")\nelse:\n print("NO")', 'S = input()\nmin = 999\nfor i in range(len(S)-2):\n if min > abs(int(S[i:i+3])-753):\n min = abs(int(S[i:i+3]-753)\n \nprint(min)', 'age = int(input())\nif age == 3:\n print("YES")\nelif age == 5:\n print("YES")\nelif age == 7:\n print("YES")\nelse:\n print("NO")\n '] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s777294524', 's897678884', 's412384008'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 20.0] | [122, 130, 129] |
p03210 | u337820403 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['print("Yes" if int(input()) in [7, 5, 3] else "No")', 'print("YES" if int(input()) in [7, 5, 3] else "NO")'] | ['Wrong Answer', 'Accepted'] | ['s344741207', 's905902965'] | [2940.0, 2940.0] | [18.0, 18.0] | [51, 51] |
p03210 | u342051078 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['#include<bits/stdc++.h>\nusing namespace std;\nusing ll = long long;\n\nint main(){\n ll n; cin >> n;\n if(n == 3 || n == 5 || n== 7){\n cout << "YES" << endl;\n } else {\n cout << "NO" << endl;\n }\n}\n', 'x = int(input())\nif x == 3 or x == 5 or x == 7:\n print("YES")\nelse print("NO")', 'x = int(input())\nif x == 3 or x == 5 or x == 7:\n print("YES")\nelse :\n print("NO")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s302817125', 's858900034', 's746777117'] | [2940.0, 2940.0, 2940.0] | [17.0, 19.0, 18.0] | [217, 81, 87] |
p03210 | u343671593 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['X= int(input())\nif X == 3 || X == 7 || X == 5:\n\tprint("YES")\nelse:\n\tprint("NO")', 'X= int(input())\nif X == 3 or X == 7 or X == 5:\n\tprint("YES")\nelse:\n\tprint("NO")'] | ['Runtime Error', 'Accepted'] | ['s940627637', 's085943215'] | [2940.0, 2940.0] | [17.0, 17.0] | [79, 79] |
p03210 | u344888046 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['X = int(input())\nans = "Yes" if X == 7 or X == 5 or X == 3 else "No"\nprint(ans)\n', 'X = int(input())\nans = "YES" if X == 7 or X == 5 or X == 3 else "NO"\nprint(ans)\n'] | ['Wrong Answer', 'Accepted'] | ['s104483292', 's431947754'] | [9156.0, 9064.0] | [32.0, 28.0] | [80, 80] |
p03210 | u344959886 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["x=input()\nif x ==3 or x == 5 or x == 7:\n print('YES')\nelse:\n print('NO')", "x=input()\nif x =='3' or x == '5' or x == '7':\n print('YES')\nelse:\n print('NO')"] | ['Wrong Answer', 'Accepted'] | ['s336762532', 's058954770'] | [2940.0, 2940.0] | [17.0, 17.0] | [74, 80] |
p03210 | u346194435 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["x = input()\n\nif x == '7' or x == '5' or x == '3':\n print('YES'\nelse:\n print('NO')", "x = input()\n\nif x == '7' or x == '5' or x == '3':\n print('YES')\nelse:\n print('NO')"] | ['Runtime Error', 'Accepted'] | ['s444681989', 's843725851'] | [2940.0, 2940.0] | [18.0, 18.0] | [83, 84] |
p03210 | u346629192 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['X= input()\nX = int(X)\nif X == 7 or X == 5 or X == 3:\n print "YES"\nelse:\n print "NO"', "X = input()\nX = int()\nif X == 7 or X == 5 or X == 3:\n print('YES')\nelse:\n print('NO')", "N = input()\nN = int(N)\nif N == 7 or N == 5 or N == 3:\n print('YES')\nelse:\n print('NO')"] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s086175913', 's702358181', 's935792460'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [85, 87, 88] |
p03210 | u347640436 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["X = int(input())\n\nif X in [7, 5, 3]:\n print('Yes')\nelse:\n print('No')\n", "X = int(input())\n\nif X in [7, 5, 3]:\n print('YES')\nelse:\n print('NO')\n"] | ['Wrong Answer', 'Accepted'] | ['s455936037', 's178954972'] | [2940.0, 2940.0] | [17.0, 17.0] | [76, 76] |
p03210 | u350836088 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["x - int(input())\nif x in [3,5,7]:\n print('YES')\nelse:\n print('NO')", "x = int(input())\nif x in [3,5,7]:\n print('YES')\nelse:\n print('NO')"] | ['Runtime Error', 'Accepted'] | ['s030714068', 's233041675'] | [2940.0, 3064.0] | [17.0, 20.0] | [68, 68] |
p03210 | u353624568 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['# coding: utf8\n\nif __name__ == "__main__":\n x = int(input())\n if x == 3 or x == 5 or == 7:\n print("YES")\n else:\n print("NO")', '# coding: utf8\n\nif __name__ == "__main__":\n x = int(input())\n if x == 3 or x == 5 or x == 7:\n print("YES")\n else:\n print("NO")'] | ['Runtime Error', 'Accepted'] | ['s047903504', 's122032610'] | [2940.0, 2940.0] | [17.0, 17.0] | [147, 149] |
p03210 | u353652911 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['n=input()\nprint("Yes" if n in "753" else "No")', 'n=input()\nprint("YES" if n in "753" else "NO")'] | ['Wrong Answer', 'Accepted'] | ['s252017422', 's753649580'] | [2940.0, 2940.0] | [17.0, 17.0] | [46, 46] |
p03210 | u353855427 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['N = int(input())\nif(N==3 or N==5 or N==7):\n\tprint("Yes")\nelse:\n\tprint("No")', 'N = int(input())\nif(N==3 or N==5 or N==7):\n\tprint("YES")\nelse:\n\tprint("NO")'] | ['Wrong Answer', 'Accepted'] | ['s852391704', 's659447580'] | [2940.0, 2940.0] | [17.0, 17.0] | [75, 75] |
p03210 | u355154595 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["a=int,input()\nif a==7 or a==5 or a==3:\n print('YES')\nelse:\n print('NO')\n", "a=int,input()\nif a==3 or a==5 or a==7:\n print('YES')\nelse:\n print('NO')", "a=int,input()\nif a==3 or a==5 or a==7:\n print('YES')\nelse:\n print('NO')", "a=int,input()\nif a==7 or a==5 or a==3:\n print('YES')\nelse:\n print('NO')\n", "X = int,input()\nif X==3 or X==5 or X==7:\n print('YES')\nelse:\n print('NO')", "a=int(input())\nif a==7 or a==5 or a==3:\n print('YES')\nelse:\n print('NO')"] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s006483231', 's233767014', 's518600364', 's610134755', 's735658135', 's703486701'] | [2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 3316.0] | [18.0, 17.0, 17.0, 19.0, 17.0, 19.0] | [78, 77, 77, 78, 79, 78] |
p03210 | u357218223 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['# coding: utf-8\nprint("Yes" if int(input()) in [7,5,3] else "No")', 'print("YES" if int(input()) in [7,5,3] else "NO")'] | ['Wrong Answer', 'Accepted'] | ['s951725197', 's477301420'] | [2940.0, 2940.0] | [18.0, 17.0] | [65, 49] |
p03210 | u357630630 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['N = input()\nif N == 7 or N == 5 or N == 3:\n print("YES")\nelse:\n print("NO")\n', 'N = int(input())\nif N == 7 or N == 5 or N == 3:\n print("YES")\nelse:\n print("NO")\n'] | ['Wrong Answer', 'Accepted'] | ['s393418098', 's450712979'] | [2940.0, 2940.0] | [16.0, 17.0] | [82, 87] |
p03210 | u359474860 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['X = int(input())\nif X == 3 or X == 5or X == 7:\n print("Yes")\nelse:\n print("No")', 'X = int(input())\nif X == 3 or X == 5or X == 7:\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Accepted'] | ['s070051903', 's231588018'] | [2940.0, 2940.0] | [18.0, 18.0] | [85, 85] |
p03210 | u363729387 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['a = int(input())\nif a==3 or a==5 or a==7:\n\tprint("YES")\nelse:\n\tprint("NO")\nreturn', 's = input()\nnlen = len(s)\na = min([abs(int(s[i:i+3])-753) for i in range(nlen-2+1)])\nprint(a)\n', 'a = int(input())\nif a==3 or a==5 or a==7:\n\tprint("YES")\nelse:\n\tprint("NO")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s664432476', 's977256205', 's154290507'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0] | [81, 94, 74] |
p03210 | u363768711 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["print('YES' if input() in '753' else 'NO')i", "print('YES' if input() in '753' else 'NO')"] | ['Runtime Error', 'Accepted'] | ['s669231442', 's844657728'] | [2940.0, 2940.0] | [17.0, 17.0] | [43, 42] |
p03210 | u364541509 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["X = int(input())\nif X = 3 or 5 or 7:\n print('Yes')\nelse:\n print('No')", "X = int(input())\nif X == 3 or X == 5 or X == 7:\n print('Yes')\nelse:\n print('No')", "X = int(input())\nif X == 3 or 5 or 7:\n print('Yes')\nelse:\n print('No')", "X = int(input())\nif X == 3 or X == 5 or X == 7:\n print('YES')\nelse:\n print('NO')"] | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s101878743', 's116142705', 's347854532', 's268152012'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 19.0, 17.0] | [71, 82, 72, 82] |
p03210 | u367130284 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['s=input();print(min(abs(int(s[i:i+3])-753)for i in [0]*len(s)))', 'print("NYOE S"[input()in"357"::2])'] | ['Wrong Answer', 'Accepted'] | ['s419389070', 's760784844'] | [2940.0, 2940.0] | [17.0, 17.0] | [63, 34] |
p03210 | u367965715 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["print('Yes' if int(input()) in [7, 5, 3] else 'No')\n", "print('YES' if int(input()) in [7, 5, 3] else 'NO')\n"] | ['Wrong Answer', 'Accepted'] | ['s022730123', 's239951629'] | [8976.0, 9096.0] | [24.0, 29.0] | [52, 52] |
p03210 | u370429695 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['a = int(input())\nif a == 3 or a == 5 or a == 7:\n print("Yes")\nelse:\n print("No")', 'a = int(input())\nif a == 3 or a == 5 or a == 7:\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Accepted'] | ['s794598414', 's749051247'] | [2940.0, 3060.0] | [17.0, 19.0] | [82, 82] |
p03210 | u371467115 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['n=int(input())\nprint(["NO","YES"][if n in [7,5,3]])', 's=input()\nl=[]\nfor i in range(len(s)-2):\n l.append(abs(753-int(s[i:i+3])))\nprint(min(l))', 'X=input()\nif X==7 or X==5 or X==3:\n print("YES")\nelse:\n print("NO")', 'age=input()\n\nif age==7 or age==5 or age==3:\n print("YES")\nelse:\n print("NO")', "print('YES' if int(input()) in [7, 5, 3] else 'NO')\n"] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s224627219', 's519344854', 's587615384', 's824320959', 's481955656'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0, 17.0, 18.0] | [51, 89, 73, 82, 52] |
p03210 | u371530330 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["x = int(input())\n \nif x==7 or x==5 or x==3:\n print('Yes')\nelse:\n print('No')", 'x = int(input())\n \nif x==7 or x==5 or x==3:\n print("Yes")\nelse:\n print("No")', "x = int(input())\n\nif x ==7 or x == 5 or x==3:\n print('Yes')\nelse:\n print('No')", 'x = int(input())\n \nif x==7 or x==5 or x==3:\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s093215672', 's420327463', 's934903538', 's951732494'] | [2940.0, 3060.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 17.0] | [78, 78, 80, 78] |
p03210 | u374146618 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['X = int(input())\nif X == (7 or 5 or 3):\n print("YES")\nelse:\n print("NO")', 'X = int(input())\nif X = 7 or 5 or 3:\n print("YES")\nelse:\n print("NO")', 'X = input()\nif X in "753":\n print("YES")\nelse:\n print("NO")'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s933061176', 's948108556', 's412959327'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [78, 75, 65] |
p03210 | u379535139 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ["X = int(input())\nl = [7,5,3]\n\nif X in l:\n print('Yes')\nelse:\n print('No')", "X = int(input())\nl = [7,5,3]\n \nif X in l:\n print('YES')\nelse:\n print('NO')"] | ['Wrong Answer', 'Accepted'] | ['s158672532', 's753215242'] | [3060.0, 2940.0] | [19.0, 19.0] | [75, 76] |
p03210 | u379689547 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['print(["NO","YES"][x in input()])', 'print(["NO","YES"][input() in "357"])'] | ['Runtime Error', 'Accepted'] | ['s977673366', 's314582064'] | [2940.0, 2940.0] | [18.0, 18.0] | [33, 37] |
p03210 | u382431597 | 2,000 | 1,048,576 | _Shichi-Go-San_ (literally "Seven-Five-Three") is a traditional event in a certain country to celebrate the growth of seven-, five- and three-year-old children. Takahashi is now X years old. Will his growth be celebrated in Shichi-Go-San this time? | ['x=int(input())\n\nprint("YES" if x==7orx==5orx==3 else "NO")', 'x=int(input())\n\nprint(YES if x=7orx=5orx=3 else NO)', 'x=int(input())\n \nprint("YES" if x==7 or x==5 or x==3 else "NO")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s406463897', 's464280131', 's430079979'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [58, 51, 63] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.