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
p02675
u433136867
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["import numpy as np\n\nK = int(input())\nS = input()\nS = list(S)\nmojiretu=''\nif len(S) <= K:\n print(S)\n\nelse:\n del S[K:len(S)]\n for x in S:\n mojiretu += x\n print(str(mojiretu)+'...')", "import numpy as np\n\nN = int(input())\n\namari = N%10\nhon_set = [2,4,5,7,9]\npon_set = [0,1,6,8]\nbon_...
['Runtime Error', 'Accepted']
['s671325970', 's228540965']
[27152.0, 26960.0]
[113.0, 100.0]
[197, 283]
p02675
u433424442
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['import sys\ndef input():\n return sys.stdin.readline()[:-1]\n\n\ndef test():\n \n n = input()\n\n if n[-1] == "3":\n return("bon")\n elif n[-1] in {0,1,6,8}:\n return("pon")\n else:\n return("hon")\n\nprint(test())', 'import sys\ndef input():\n return sys.stdin.readline()[:-1...
['Wrong Answer', 'Accepted']
['s183183760', 's466868870']
[9116.0, 9060.0]
[25.0, 21.0]
[272, 280]
p02675
u434846982
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['import math\ndef solution():\n a, b, h, m = map(int, input().split())\n return (a**2 + b**2 -2*a*b*round(math.cos(2*math.pi*(h/12 - m/60)), 9))**0.5\n\nprint(solution())', 'import math\ndef solution():\n a, b, h, m = map(int, input().split())\n return round((a**2 + b**2 -2*a*b*math.cos(2*math.pi*(h/12 -...
['Runtime Error', 'Runtime Error', 'Accepted']
['s131271503', 's255868720', 's120949101']
[9168.0, 9160.0, 9120.0]
[23.0, 21.0, 21.0]
[171, 171, 230]
p02675
u435385845
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['a = input()\ns = a % 10\nprint("hon" if s ==2 or s == 4 or s == 5 or \n s == 7 or s == 9 else "pon" if \n s == 0 or s == 1 or s == 6 or s == 8\n else "bon")', 'import math as ma\n\na,b,h,m = map(int,input().split())\n\nal = h*30\nbl = m*6\ndec = al-bl\ndec = dec % 180\nif dec < 0:\n dec *= -1\nrad = d...
['Runtime Error', 'Runtime Error', 'Accepted']
['s275006399', 's929747612', 's240049903']
[9024.0, 9156.0, 9116.0]
[24.0, 22.0, 22.0]
[166, 202, 171]
p02675
u439063038
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N, M = list(map(int, input().split()))\npaths = [list(map(int, input().split())) for _ in range(M)]\n\nresult = []\npassed_room = [1]\ndepth = 1\n\nwhile paths and depth<N:\n tmp_passed = passed_room.copy()\n \n for i, path in enumerate(paths):\n \n if path[0] in passed_room:\n if path[1] in passed_room:...
['Runtime Error', 'Accepted']
['s408197545', 's868659405']
[9256.0, 9088.0]
[22.0, 20.0]
[832, 173]
p02675
u440322097
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N = input()\nn = N[len(N)]\nif n == "2" or n== \'4\' or n==\'5\' or n==\'7\' or n==\'9\':\n print("hon")\nelif n == \'0\' or n==\'1\' or n==\'6\' or n==\'8\':\n print(\'pon\')\nelse:\n print(\'bon\')', 'n = input()\nl = len(n)\nif n[l] == "2" or \'4\' or \'5\' or \'7\' or \'9\':\n print("hon")\nelif n[l] == \'0\'...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s076583565', 's674449195', 's924645925', 's986209809', 's182650770']
[8872.0, 9036.0, 9100.0, 9048.0, 9108.0]
[19.0, 23.0, 23.0, 23.0, 25.0]
[175, 156, 159, 175, 178]
p02675
u440613652
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['import math\n\na,b,h,m=map(int,input().split())\n\nhour_angle=0.5*(60*h+m)\nminute_angle=6*m\n\ndiff_angle=abs(hour_angle-minute_angle)\n\nangle=min(360-diff_angle,diff_angle)\ncos_angle=math.cos(angle*(math.pi/180))\n\nlenth=math.sqrt(a**2+b**2-(2*a*b*cos_angle))\nprint(lenth)\n\n', 'n=int(input())\nn=n%10\n\nif n==...
['Runtime Error', 'Accepted']
['s593305870', 's276297712']
[9132.0, 9004.0]
[21.0, 26.0]
[267, 117]
p02675
u441246928
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N = int(input())\nif N[len(N)-1] == 2 or 4 or 5 or 7 or 9 :\n print('hon')\nelif N[len(N)-1] == 0 or 1 or 6 or 8 :\n print('pon')\nelse :\n print('bon')", "a,b,c = map(int,input().split())\nN = 100*a + 10*b + c\nif c == 2 or 4 or 5 or 7 or 9 :\n print('hon')\nelif c == 0 or 6 or 1 or 8 :\n print('pon')...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s291262018', 's364846140', 's849187442', 's937294636']
[9112.0, 9172.0, 8980.0, 9172.0]
[22.0, 25.0, 21.0, 21.0]
[155, 172, 150, 199]
p02675
u441902623
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['n = int(input())\nif n[len(n) - 1] == 3:\n print("bon")\nelif n[len(n) - 1] == 0 or 1 or 6 or 8:\n print("pon")\nelse:\n print("hon")', 'n = input()\nif n[-1] == "2" or "4" or "5" or "7" or "9":\n print("hon")\nelif n[-1] == "0" or "1" or "6" or "8":\n print("pon")\nelif n[-1] == "3":\n print("bon")', 'n = inpu...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s527053320', 's952509241', 's776570674']
[9088.0, 8944.0, 8928.0]
[26.0, 26.0, 28.0]
[130, 160, 118]
p02675
u442850625
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N = input()\n\nif N in [2,3,5,7,9]:\n print("hon")\nelif N in [0, 1, 6, 8]:\n print("pon")\nelif N == 3:\n print("bon")', 'N = int(input())\n\nif N in [2,3,5,7,9]:\n print("hon")\nelif N in [0, 1, 6, 8]:\n print("pon")\nelif N == 3:\n print("bon")', 'N = str(input())\n\nN = int(N[-1])\n\nif N in [2,...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s054554480', 's808056997', 's611850981']
[9104.0, 9172.0, 9180.0]
[22.0, 19.0, 21.0]
[121, 126, 142]
p02675
u443736699
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['one_digit = N % 10\nif one_digit == 2 or one_digit == 4 or one_digit == 5 or one_digit == 7 or one_digit == 9:\n print("hon")\nelif one_digit == 0 or one_digit == 1 or one_digit == 6 or one_digit == 8:\n print("pon")\nelse:\n print("bon")', 'N = input()\n\none_digit = N % 10\nif one_digit == 2 or one_digit == 4 or...
['Runtime Error', 'Runtime Error', 'Accepted']
['s195370888', 's422701297', 's447801131']
[9108.0, 9108.0, 9112.0]
[21.0, 22.0, 24.0]
[235, 249, 254]
p02675
u445249316
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["from sys import stdin\n\n\nn = stdin.readline().rstrip()\n\nif n[-1] in [2,4,5,7,9]:\n print('hon')\nelif n[-1] in [0,1,6,8]:\n print('pon')\nelse:\n print('bon')\n", "from sys import stdin\n\n\nn = stdin.readline().rstrip()\n\nif n[-1] in ['2','4','5','7','9']:\n print('hon')\nelif n[-1] in ['0','1','6',...
['Wrong Answer', 'Accepted']
['s424184738', 's237687030']
[9040.0, 9036.0]
[25.0, 20.0]
[162, 180]
p02675
u445978065
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['ls =list([2,4,5,7,9],[0,1,6,8],[3])\ndic = dict{[2,4,5,7,9]:"hon" , [0,1,6,8]:"pon" , [3]:"bon"}\ns=int(input())\nfor i in ls:\n if s%10 in i:\n print(dic[i])', 'ls =["24579" , "0168" , "3"]\ndic = {"24579":"hon" , "0168":"pon" , "3":"bon"}\ns=input()\nfor i in ls:\n if s[len(s)-1] in i:\n print(dic[i])']
['Runtime Error', 'Accepted']
['s824314879', 's717968487']
[8956.0, 9028.0]
[24.0, 23.0]
[157, 141]
p02675
u446711904
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["n=int(input())%10\nif n=3:\n print('bon')\nelif n in [0,1,6,8]:\n print('pon')\nelse:\n print('hon')", "n=int(input())%10\nif n==3:\n print('bon')\nelif n in [0,1,6,8]:\n print('pon')\nelse:\n print('hon')"]
['Runtime Error', 'Accepted']
['s283622087', 's550493321']
[8900.0, 9168.0]
[24.0, 20.0]
[97, 98]
p02675
u447166124
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N = int(input())\n\nif N == 2 or N == 4 or N == 5 or N == 7 or N == 9:\n print('hon')\nelif N == 0 or N == 1 or N == 6 or N == 8:\n print('pon')\nelse:\n print('bon')", "N = input()\n\nif int(N[-1]) == 2 or int(N[-1]) == 4 or int(N[-1]) == 5 or int(N[-1]) == 7 or int(N[-1]) == 9:\n print('hon')\nel...
['Wrong Answer', 'Accepted']
['s943410499', 's319837698']
[9176.0, 9196.0]
[21.0, 22.0]
[173, 248]
p02675
u447679353
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N=int(input())\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = [3]\nif N in hon:\n print("hon")\nelif N in pon:\n print("pon")\nelse:\n print("bon")', 'N=int(input())\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = [3]\nN = N%10\nif N in hon:\n print("hon")\nelif N in pon:\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Accepted']
['s021264212', 's540051544']
[9180.0, 9180.0]
[20.0, 21.0]
[137, 146]
p02675
u449473917
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["n=input()[-1]\n\nhon=[2,4,5,7,9]\npon=[0,1,6,8]\n\nif n in hon: print('hon')\nelif n in pon: print('pon')\nelse: print('bon')", "n=int(input()[-1])\n\nhon=[2,4,5,7,9]\npon=[0,1,6,8]\n\nif n in hon: \n print('hon')\n exit()\nelif n in pon: \n print('pon')\n exit()\nelse: print('bon')"]
['Wrong Answer', 'Accepted']
['s208406325', 's568262806']
[9104.0, 9036.0]
[23.0, 22.0]
[118, 155]
p02675
u449863068
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N = int(input())\ns = str(N)\n\nprint(s[-1])\nif s[-1] == "3":\n print("bon")\nelif s[-1] == "0" or s[-1] == "1" or s[-1] == "6" or s[-1] == "8":\n print("pon")\nelse:\n print("hon")\n', 'N = int(input())\ns = str(N)\n\nif s[-1] == "3":\n print("bon")\nelif s[-1] == "0" or s[-1] == "1" or s[-1] == "6" or s[-1] ==...
['Wrong Answer', 'Accepted']
['s547276435', 's580696064']
[9180.0, 9132.0]
[22.0, 20.0]
[177, 164]
p02675
u450288159
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N = int(input())\nn = N % 10\nif n == 3:\n print('bon')\nelif n == 0 or n == 1 or n == 6 or n == 8:\n print('hon')\nelse:\n print('pon')", "N = int(input())\nn = N % 10\nif n == 3:\n print('bon')\nelif n == 0 or n == 1 or n == 6 or n == 8:\n print('pon')\nelse:\n print('hon')"]
['Wrong Answer', 'Accepted']
['s278074899', 's518314000']
[9156.0, 9156.0]
[20.0, 25.0]
[132, 132]
p02675
u452885705
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["from collections import deque\n\ndef main():\n N,M = map(int, input().split())\n r = [[] for i in range(N)]\n for i in range(M):\n a, b = map(int, input().split())\n r[a-1].append(b-1)\n r[b-1].append(a-1)\n print(r)\n\n p=[-1]*N\n q=deque([0])\n while q:\n i=q.popleft...
['Runtime Error', 'Accepted']
['s035473775', 's951330779']
[9404.0, 9108.0]
[25.0, 22.0]
[481, 156]
p02675
u454356633
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N = int(input())\n\nS = str(N)\n\nH = (S[-1])\n\nif H == 0:\n print("pon")\n\nelif H == 1:\n print("pon")\n\nelif H == 2:\n print("hon")\n\nelif H == 3:\n print("bon")\n\nelif H == 4:\n print("hon")\n\nelif H == 5:\n print("hon")\n\nelif H == 6:\n print("pon")\n\nelif H == 7:\n print("...
['Wrong Answer', 'Accepted']
['s119643833', 's143407010']
[9228.0, 9176.0]
[23.0, 20.0]
[352, 151]
p02675
u455629561
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N = input()\nif N[-1] == "3":\n print("bon")\nelif N[-1] == "0" or N[-1] == "1" or N[-1] == 6 or N[-1] ==8:\n print("pon")\nelse:\n print("hon")', 'N = input()\nif N[-1] == "3":\n print("bon")\nelif N[-1] == "0" or N[-1] == "1" or N[-1] == "6" or N[-1] == "8":\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s396170683', 's410340833']
[9108.0, 9108.0]
[20.0, 21.0]
[147, 152]
p02675
u455957070
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["n = input()\na = [int(c) for c in n]\ns = len(a) - 1\nif(a[s] == 3):\n print('bon')\nif(a[s] == 2 and 4 and 5 and 7 and 9):\n print('pon')\nif(a[s] == 0 and 1 and 6 and 8):\n print('hon')", "n = input()\na = [int(c) for c in n]\nif(a[len(n)] == 3):\n print('bon')\nelif(a[len(n)] == 0 or 1 or 6 or 8):\n ...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s032028281', 's863199160', 's575571230']
[9132.0, 9176.0, 9196.0]
[20.0, 21.0, 26.0]
[188, 149, 365]
p02675
u458023139
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["s = input()\nif s[-1] == 2:\n\tprint('hon')\nelif s[-1] == 4:\n\tprint('hon')\nelif s[-1] == 5:\n\tprint('hon')\nelif s[-1] == 7:\n\tprint('hon')\nelif s[-1] == 9:\n\tprint('hon')\nelif s[-1] == 0:\n\tprint('pon')\nelif s[-1] == 1:\n\tprint('pon')\nelif s[-1] == 6:\n\tprint('pon')\nelif s[-1] == 8:\n\tprint('pon')\ne...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s080704109', 's989774284', 's841160530']
[9092.0, 9088.0, 8996.0]
[28.0, 26.0, 30.0]
[308, 308, 110]
p02675
u458388104
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['import math\n \nn = input()\n \nif n[len(n)] == 3:\n print("bon")\nelif n[len(n)] == 0 or n[len(n)] == 1 or n[len(n)] == 0 or n[len(n)] == 6 or n[len(n)] == 8:\n print("pon")\nelse:\n print("hon")\n ', 'import math\n\nn = input()\n\nif n[len(n)] == 3:\n print("bon")\nelif n[len(n)] == 0 or n[len(n)] == 1 or n[le...
['Runtime Error', 'Runtime Error', 'Accepted']
['s290749929', 's924464875', 's527249943']
[9100.0, 9060.0, 8988.0]
[21.0, 20.0, 23.0]
[193, 222, 252]
p02675
u458590500
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N=int(input())\n\nnum=str(N)\n\nif num[-1]==3:\n print('bon')\nelif num[-1]==0 or num[-1]==1 or num[-1]==6 or num[-1]==8:\n print('pon')\nelse:\n print('hon')", "N=int(input())\n\nnum=str(N)\n\nif int(num[-1])==3:\n print('bon')\nelif int(num[-1])==0 or int(num[-1])==1 or int(num[-1])==6 or int(num[-1])==8:\n pr...
['Wrong Answer', 'Accepted']
['s062032281', 's242700289']
[9180.0, 9172.0]
[22.0, 19.0]
[152, 178]
p02675
u459391214
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N=input('suuzi')\nn=len(N)\nnumber=int(N[n-1])\nif number == 2or number== 4 or number==5 or number==7or number==9:\n print('hon')\nelif number==0 or number==1 or number==6 or number==8:\n print('pon')\nelse:\n print('bon')\n", "N=input()\nn=len(N)\nnumber=int(N[n-1])\nif number == 2or number== 4 or numb...
['Wrong Answer', 'Accepted']
['s838913876', 's806126425']
[9060.0, 9052.0]
[20.0, 21.0]
[229, 222]
p02675
u460386402
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['import math\na,b,h,m=map(int,input().split())\ntyok=h*30+m*0.5\ntank=m*6\nsa=abs(tyok-tank)\nprint(math.sqrt(a**2+b**2-2*a*b*math.cos(math.radians(sa))))\n', 'import math\na,b,h,m=map(int,input().split())\ntyok=h*30+m*0.5\ntank=m*6\nsa=abs(tyok-tank)\nc=a**2+b**2-2*a*b*math.cos(math.radians(sa))\nprint(math.sqrt(c))\...
['Runtime Error', 'Runtime Error', 'Accepted']
['s796323099', 's962428089', 's985160041']
[9052.0, 9100.0, 9132.0]
[21.0, 23.0, 22.0]
[149, 153, 141]
p02675
u460980455
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['n=input()\nn=n[-1]\nprint(n)\nif n==\'3\':\n print(\'bon\')\nif n=="0" or n=="1" or n=="6" or n=="8":\n print(\'pon\')\nif n=="2" or n=="4" or n=="5" or n=="7" or n=="9":\n print(\'hon\')\n ', 'n=input()\nn=n[-1]\nprint(n)\nif n==\'3\':\n print(\'bon)\nif n=="0" or n=="1" or n=="6" or n=="8":\n ...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s138488396', 's258376595', 's451420435', 's908594566', 's493818267']
[9024.0, 8936.0, 9004.0, 9048.0, 8968.0]
[22.0, 23.0, 24.0, 22.0, 21.0]
[185, 192, 184, 157, 171]
p02675
u463704918
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['n=int(input())\nN=str(n)\nprint(N[-1])\nif N[0]==2 or 4 or 5 or 7 or 9:\n print("hon")\nelif N[0]==0 or 1 or 6 or 8:\n print("pon")\nelif N[0]==3:\n print("bon")', 'n=int(input())\nN=str(n)\nhon=[2,4,5,7,9]\npon=[0,1,6,8]\n\nif int(N[-1]) in hon:\n print("hon")\nelif int(N[-1]) in pon:\n print("pon")\n...
['Wrong Answer', 'Accepted']
['s468197846', 's778231799']
[9184.0, 9184.0]
[24.0, 22.0]
[162, 158]
p02675
u464912857
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["input_data = input()\n\nif input_data[-1] == 3:\n print('bon')\n\nelif input_data[-1] in { 0 , 1 , 6 , 8}:\n print('pon')\n\nelse:\n print('hon')", "input_data = input()\n\nif input_data[-1] == 3:\n print('bon')\n\nelif input_data[-1] == 0 or input_data[-1] == 1 or input_data[-1] == 6 or input_data[-1] == 8:\n p...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s183481089', 's188560884', 's373519771']
[8928.0, 8964.0, 9164.0]
[27.0, 27.0, 27.0]
[139, 193, 111]
p02675
u465652095
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N = int(input())\nn = N[-1]\nif n == "2" or n == "4" or n == "5" or n == "7" or n == "9":\n print("hon")\nelif n == "0" or n == "1" or n == "6" or n == "8":\n print("pon")\nelse:\n print("bon")', 'N = int(input())\nif N[-1] == 2 or 4 or 5 or 7 or 9:\n print("hon")\nelif N[-1] == 0 or 1 or 6 or 8:\n pri...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s153991738', 's308297849', 's693370770', 's794346571', 's907755415', 's538485841']
[9172.0, 9168.0, 9180.0, 9200.0, 9148.0, 9044.0]
[21.0, 21.0, 22.0, 20.0, 23.0, 22.0]
[195, 140, 195, 203, 177, 190]
p02675
u466143662
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['n = int(input())\n\nif n == 3:\n print("bon")\nelif n in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("hon")', 'n = str(input())\n\nn = int(n[-1:])\nif n == 3:\n print("bon")\nelif n in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s039333961', 's641210485']
[9096.0, 9168.0]
[21.0, 20.0]
[109, 125]
p02675
u467177102
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['v=int(input())\nwhile v<=10:\n v=v%10\nif v=3:\n print("bon")\nelif v%2==1:\n print("pon")\nelse:\n print("hon")\n', 'v=int(input())\nwhile v<=10\n v=v%10\nif v=3:\n print("bon")\nelif v%2==1:\n print("pon")\nelse:\n print("hon")', 'v=int(input())\n\nv=v%10\nif v=3:\n print("bon")\nelif v%2...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s491743996', 's595613679', 's667318845', 's993479724', 's833847495']
[8948.0, 8912.0, 9012.0, 9032.0, 9100.0]
[26.0, 25.0, 21.0, 30.0, 30.0]
[117, 115, 101, 102, 124]
p02675
u468972478
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['n = int(input()[len(n - 1)])\na = [2, 4, 5, 7, 9]\nb = [0, 1, 6, 8]\n\nif n in a:\n print("hon")\nelif n in b:\n print("pon")\nelse:\n print("bon")', 'n = int(input())\na = [2, 4, 5, 7, 9]\nb = [0, 1, 6, 8]\n\nif n in a:\n print("hon")\nelif n in b:\n print("pon")\nelse:\n print("bon")', 'n = input()\nn = int(n...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s466299203', 's930105387', 's349995135']
[9052.0, 9168.0, 8976.0]
[23.0, 31.0, 27.0]
[141, 129, 146]
p02675
u472883337
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N= input()\na= N[-1]\n\nif(a== 3):\n print("bon")\nelif(a== 0 or a== 1 or a== 6 or a== 8):\n print("pon")\nelse:\n print("hon")', 'N= input()\na= int(N[-1])\n\nif(a== 3):\n print("bon")\nelif(a== 0 or a== 1 or a== 6 or a== 8):\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s947235019', 's761148573']
[9004.0, 9040.0]
[20.0, 21.0]
[122, 127]
p02675
u474423089
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["from math import gcd\nfrom collections import defaultdict\nN=int(input())\nmod = 10**9+7\nd_1 = defaultdict(int)\nd_2 = defaultdict(int)\nzeros = 0\n\ndef to_irreducible(a,b):\n GCD = gcd(a,b)\n return list(map(lambda x:x//GCD,[a,b]))\nfor i in range(N):\n a,b=map(int,input().split(' '))\n if a==b==0:\n ...
['Runtime Error', 'Accepted']
['s249064566', 's050135781']
[9464.0, 9184.0]
[25.0, 22.0]
[665, 113]
p02675
u478994819
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N = input()\n\nN = N % 10\n\nif N == 2 or N == 4 or N == 5 or N == 7 or N == 9:\n print("hon")\n \nelif N == 0 or N == 1 or N == 6 or N == 8:\n print("pon")\n \nelse:\n print("bon")', 'N = int(input())\n\nN = N % 10\n\nif N == 2 or N == 4 or N == 5 or N == 7 or N == 9:\n print("hon")\n \nelif N == 0 or N == 1 ...
['Runtime Error', 'Accepted']
['s349661207', 's798789720']
[9056.0, 9076.0]
[24.0, 23.0]
[175, 181]
p02675
u480321332
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['x = input()\n\n\nif x[-1] == "3":\n print("bon")\nelif x[-1] = "0" or x[-1] = "1" or x[-1] = "6" or x[-1] = "8":\n print("pon")\nelse:\n print("hon") ', 'x = input()\n\n\nif x[-1] == "3":\n print("bon")\nelif x[-1] == "0" or x[-1] =="1" or x[-1] == "6" or x[-1] == "8":\n print("pon")\nelse:\n pr...
['Runtime Error', 'Accepted']
['s754722730', 's286903252']
[9024.0, 9044.0]
[21.0, 23.0]
[154, 157]
p02675
u480816516
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N=input()\nn=N%10\nif n==3:\n print("bon")\nelif n==0 or n==1 or n==6 or n==8:\n print("pon")\nelse:\n print("hon")\n \n', 'N=int(input())\nn=N%10\nif n==3:\n print("bon")\nelif n==0 or n==1 or n==6 or n==8:\n print("pon")\nelse:\n print("hon")\n \n']
['Runtime Error', 'Accepted']
['s807166866', 's084914586']
[9100.0, 9136.0]
[21.0, 21.0]
[115, 120]
p02675
u484292780
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['a = input()\nn = len(a)\nif (int(a[n-1])==3):\n print("bon")\nelif(int(a[n-1]) in [0,1,6,8]):\n print("hon")\nelse:\n print("pon")', 'a = input()\nn = len(a)\nif (a[n]==3):\n print(bon)\nelif(a[n] in [0,1,6,8]):\n print(hon)\nelse:\n print(pon)', 'a = input()\nn = len(a)\nif (a[n-1]==3):\n print(bon)\nelif(a[n...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s195577056', 's367079248', 's519276365', 's535004461', 's636145293', 's607707405']
[9128.0, 9048.0, 9044.0, 9116.0, 9124.0, 9056.0]
[19.0, 23.0, 19.0, 22.0, 19.0, 23.0]
[126, 106, 110, 173, 148, 154]
p02675
u484315555
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N=int(input())\n\ndef a(N):\n if N%10==3:\n print("bon")\n elif N%10==0 or N%10==1 or N%10==6 or N%10==8:\n print("hon")\n else:\n print("pon")\n\na(N)', 'N=int(input())\n\ndef a(N):\n if N%10==3:\n print("bon")\n elif N%10==0 or N%10==1 or N%10==6 or N%10==8:\n print("pon")\n else:\n print("h...
['Wrong Answer', 'Accepted']
['s842934533', 's428779881']
[9076.0, 9076.0]
[22.0, 26.0]
[153, 152]
p02675
u484459425
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["K = int(input())\nS = list(input())\nlen_S = int(len(S))\nS1 = ' '\n\nif len_S <= K:\n print(K)\nelse:\n del S[K:]\n for x in S:\n S1 += x\n print(S1 + '...')", "N = int(input())\na = N % 100\nb = a % 10\nif b == 2 or b == 4 or b == 5 or b == 7 or b == 9:\n print('hon')\nelif b == 0 or b == 1 or b == 6 or b =...
['Runtime Error', 'Accepted']
['s494159614', 's504653651']
[9204.0, 9184.0]
[21.0, 24.0]
[154, 184]
p02675
u485819963
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N = str(input()) \n\ncar = ''\nif N[-1] == 3:\n car = 'bon'\nelif N[-1] == 0 or N[-1] == 1 or N[-1] == 6 N[-1] == 8\n car = 'pon'\n\nprint(car)", "N = str(input()) \n\ncar = ''\nif N[-1] == 3:\n car = 'bon'\nelif N[-1] == 0 or N[-1] == 1 or N[-1] == 6 or N[-1] == 8:\n car = 'pon'\n\nprint(car)", "N = str(...
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s420816663', 's654970081', 's759625005', 's801274175', 's961115976']
[9024.0, 9048.0, 9016.0, 8916.0, 9020.0]
[24.0, 25.0, 29.0, 26.0, 26.0]
[163, 167, 190, 166, 201]
p02675
u486209657
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N = int(input())\n\nif N % 10 == 2|4|5|7|9:\n print('hon')\nelif N % 10 == 0|1|6|8:\n print('pon')\nelse:\n print('bon')", "N = int(input())\n\nif N == 2 or N == 4 or N == 5 or\\\nN == 7 or N == 9:\n print('hon')\nelif N == 0 or N == 1 or N == 6 or\\\nN == 8:\n print('pon')\nelse:\n print('bon')", "N = int(inpu...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s887817794', 's911521776', 's072503716']
[9108.0, 9112.0, 9184.0]
[28.0, 29.0, 28.0]
[116, 164, 173]
p02675
u487044452
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["hon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = [3]\nif int(n[-1]) in hon:\n print('hon')\nelif int(n[-1]) in pon:\n print('pon')\nelse:\n print('bon')", "n = str(input())\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = [3]\nif int(n[-1]) in hon:\n print('hon')\nelif int(n[-1]) in pon:\n print('pon')\nelse:\n ...
['Runtime Error', 'Accepted']
['s808652491', 's921166799']
[9048.0, 9180.0]
[22.0, 23.0]
[146, 163]
p02675
u489155878
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N=input()\n\nN=int(N[-1])\n\nif N==3:\n print("bon")\nelif N in [1,2,4,5,7,9]:\n print("hon")\nelse N in [0,1,6,8]:\n print("pon")\n \n \n', 'N=input()\n \nN=int(N[-1])\n \nif N==3:\n print("bon")\nelif N in [2,4,5,7,9]:\n print("hon")\nelse :\n print("pon")\n']
['Runtime Error', 'Accepted']
['s524152069', 's586943745']
[9024.0, 9160.0]
[24.0, 22.0]
[131, 111]
p02675
u490195279
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N=int(input())\nif N%10==3:\n print("bon")\nelse if N%10==0:\n print("pon")\nelse if N%10==1:\n print("pon")\nelse if N%10==6:\n print("pon")\nelse if N%10==8:\n print("pon")\nelse:\n print("hon")', 'N=int(input())\nfor i in range(1):\n if N%10==3:\n print("bon")\n break\n if N%10==0:\n print("pon")\...
['Runtime Error', 'Accepted']
['s666422501', 's338251288']
[8928.0, 9204.0]
[22.0, 23.0]
[190, 253]
p02675
u492691435
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["import math\n\n\n\n\n\n\n\n\n\n# return int_num\n\n\nline = input().split(' ')\n# int_line = list(map(lambda str_num: int(str_num), line))\nint_line = [int(str_num) for str_num in line]\nprint(int_line)\n\n\n\n# radian_m = M * 6\n\n\ndegree = abs((int_line[2] * 60 + int_line[3]) * 0.5 - int_line[3] * 6)\n\n\ndist...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s058300758', 's619140831', 's941751818', 's513567213']
[9164.0, 8956.0, 9192.0, 9124.0]
[22.0, 21.0, 22.0, 24.0]
[833, 24, 833, 300]
p02675
u492749916
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N = str(input())\nif N[2] == 3:\n print("bon")\nelif N[2] == 0 or N[2] == 1 or N[2] == 6 or N[2] == 8:\n print("pon")\nelse:\n print("hon")', 'N = str(input())\nif N[-1] == 3:\n print("bon")\nelif N[-1] == 0 or N[-1] == 1 or N[-1] == 6 or N[-1] == 8:\n print("pon")\nelse:\n print("hon")', 'N = input()\nif N[-1]...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s192034635', 's730344742', 's190856563']
[9104.0, 9044.0, 9120.0]
[24.0, 24.0, 24.0]
[136, 141, 200]
p02675
u492959898
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['import math\n\na,b,h,m = map(int,input().split())\n\ntan=h*30+0.5*m\ncho=6*m\n\nkakudo=float(100)\n\nif math.sqrt((tan-cho)*(tan-cho))>180:\n\tkakudo=360-math.sqrt((tan-cho)*(tan-cho))\n\tprint(math.sqrt(a*a+b*b-2*a*b*(math.cos(math.radians(kakudo)))))\n\nif math.sqrt((tan-cho)*(tan-cho))==180:\n\tprint(a+b)\n\nif ma...
['Runtime Error', 'Runtime Error', 'Accepted']
['s070680213', 's501741336', 's253660056']
[9240.0, 9144.0, 9212.0]
[24.0, 23.0, 22.0]
[437, 96, 364]
p02675
u494295478
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['#Ans\nN=str(input())\nif N[-1]=="3":\n print("bon")\nelif N[-1]==("0"or"1"or"6"or"8"): \n print("pon")\nelif N[-1]==("2"or"4"or"5"or"7"or"9"):\n print("hon")', '#Ans\nN=str(input())\nif N[-1]==("2"or"4"or"5"or"7"or"9"):\n print("hon")\nelif N[-1]==("0"or"1"or"6"or"8"): \n print("pon")\nelse:\n ...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s077666109', 's135123213', 's219534056', 's233959237', 's675451490', 's746890838', 's252789121']
[9048.0, 9048.0, 9112.0, 9108.0, 9036.0, 9020.0, 9136.0]
[20.0, 19.0, 23.0, 20.0, 22.0, 23.0, 22.0]
[170, 159, 165, 129, 109, 228, 215]
p02675
u496148227
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N = input()\nif N % 10 == 3:\n print('bon')\nelif N % 10 == 0 or N % 10 == 1 or N % 10 == 6 or N % 10 == 8:\n print('pon')\nelse:\n print('hon')", "N = int(input())\nif N % 10 == 3:\n print('bon')\nelif N % 10 == 0 or N % 10 == 1 or N % 10 == 6 or N % 10 == 8:\n print('pon')\nelse:\n print('hon')"]
['Runtime Error', 'Accepted']
['s468082781', 's070077544']
[9100.0, 9168.0]
[22.0, 20.0]
[141, 146]
p02675
u497188176
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N=input()\nB=0\nB=len(N)\nB=B-1\nif N[B]==2 and N[B]==4 and N[B]==5 and N[B]==7 and N[B]==9:\n print('hon')\nelif N[B]==0 and N[B]==1 and N[B]==6 and N[B]==8:\n print('pon')\nelse:\n print('bon')\n", "N=input()\nB=0\nB=len(N)\nB=B-1\nif N[B]==2 or N[B]==4 or N[B]==5 or N[B]==7 or N[B]==9:\n print('hon')\n...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s179139157', 's273257592', 's483962680', 's509365734', 's643777986', 's697809737', 's709291648', 's811921775', 's614157573']
[9124.0, 9056.0, 8940.0, 9072.0, 9044.0, 9124.0, 9124.0, 8876.0, 9040.0]
[22.0, 24.0, 22.0, 24.0, 23.0, 24.0, 26.0, 21.0, 27.0]
[196, 188, 203, 195, 177, 189, 218, 184, 219]
p02675
u497592162
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["input_line = list(input())\nplace_of_one = int(input_line[-1])\nprint(place_of_one)\nif place_of_one in [2, 4, 5, 7, 9]:\n print('hon')\nelif place_of_one in [0, 1, 6, 8]:\n print('pon')\nelif place_of_one in [3]:\n print('bon')", "input_line = list(input())\nplace_of_one = int(input_line[-1])\nif place_of_o...
['Wrong Answer', 'Accepted']
['s132572479', 's109201301']
[9164.0, 9172.0]
[25.0, 22.0]
[229, 209]
p02675
u498699271
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['num=int(input())\nif num[:-1]==0 or num[:-1]==1 or num[:-1]==6 or num[:-1]==8:\n print("pon")\nelis num[:-1]==3:\n print("bon")\nelse:\n print("hon")', 'num=int(input())\nif num[:-1]==0 or num[:-1]==1 or num[:-1]==6 or num[:-1]==0:\n print("pon")\nelis num[:-1]==3:\n print("bon")\nelse:\n print("hon")', 'n = in...
['Runtime Error', 'Runtime Error', 'Accepted']
['s613995414', 's795603474', 's184728191']
[9024.0, 8840.0, 9108.0]
[24.0, 22.0, 22.0]
[146, 146, 152]
p02675
u499286346
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['import sys\n# from random import choice,randint\n# from bisect import bisect_left as bl \n# from bisect import bisect_right as br \n# from collections import deque,defaultdict,Counter\n# from math import sqrt,floor,ceil\n# from itertools import combinations,permutations\n# from heapq import heapify,heapp...
['Runtime Error', 'Accepted']
['s832152106', 's801194024']
[9616.0, 9444.0]
[24.0, 25.0]
[4423, 4045]
p02675
u502200133
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['import math\na, b, h, m = map(int, input().split())\ntime = m + h*60\nangle = time * 0.5 - time * 6\nradian = math.radians(angle)\nrad = math.cos(radian)\nans = a**2 + b**2 - 2*a*b*rad\nprint(math.sqrt(ans))', 'n = str(input())\nif n[-1] == "2" or n[-1] == "4" or n[-1] == "5" or n[-1] == "7" or n[-1] == "9":\n pri...
['Runtime Error', 'Accepted']
['s462028918', 's910832790']
[9160.0, 9056.0]
[21.0, 19.0]
[200, 221]
p02675
u502776708
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["n = input()\n\nlast_digit = int(n[-1])\nif n in [2,4,5,7,9]:\n print('hon')\nelif n in [0,1,6,8]:\n print('pon')\nelse:\n print('bon')\n", "n = input()\n\nlast_digit = int(n[-1])\n\nif last_digit in [2,4,5,7,9]:\n print('hon')\nelif last_digit in [0,1,6,8]:\n print('pon')\nelse:\n print('bon')\n"]
['Wrong Answer', 'Accepted']
['s813228451', 's921857008']
[9108.0, 9104.0]
[21.0, 20.0]
[136, 155]
p02675
u503111914
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['import math\na, b, h, m = map(int, input().split())\nx = 30 * h + (m * 0.5) % 360\ny = m * 6\nsa = abs(x - y)\nprint(x,y,sa)\nif a > b:\n c = b\n b = a\n a = c\nt = (math.sin(math.radians(sa))) * b\nf = math.sqrt(b ** 2 - t ** 2)\nif sa >= 180:\n a = -a\nprint(math.sqrt((f - a) ** 2 + t ** 2))', 'A = inpu...
['Runtime Error', 'Accepted']
['s686071702', 's228300906']
[9220.0, 9108.0]
[21.0, 25.0]
[292, 152]
p02675
u504856568
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["n = input()\nnum = len(n)\nif int(n[num - 1]) == 2 or int(n[num - 1]) == 4 or int(n[num - 1]) == 5 or int(n[num - 1]) == 7 or int(n[num - 1]) == 9:\n str = 'hon'\nelif int(n[num - 1]) == 3:\n str = 'pon'\nelse:\n str = 'bon'\n \nprint(str)", "n = input()\nnum = len(n)\nif int(n[num - 1]) == 2 or int(n[num...
['Wrong Answer', 'Accepted']
['s410193664', 's815174236']
[9192.0, 9184.0]
[21.0, 20.0]
[242, 244]
p02675
u507145838
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['#-*-coidng:utf-8-*-\nn = input()\n\nif n[-1] == 3:\n print("bon")\nelif n[-1] == 0 or n[-1] == 1 or n[-1] == 6 or n[-1] == 8:\n print("pon")\nelse:\n print("hon")', '#-*-coidng:utf-8-*-\nn = input()\n\nif n[-1] == "3":\n print("bon")\nelif n[-1] in ["0", "1", "6", "8"]:\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s864171213', 's862246651']
[9080.0, 9052.0]
[21.0, 22.0]
[157, 136]
p02675
u508061226
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['n = int(input());\na = n % 10\n\nif a == 2 or a ==4 or a == 5 or 7 a == 9:\n print("hon")\nelif a ==0 or a == 1 or a == 6 or a == 8:\n print("pon")\nelse:\n print("bon")\n ', 'n = int(input());\na = n % 10\n\nif a == 2 or a ==4 or a == 5 or a == 7 or a == 9:\n print("hon")\nelif a ==0 or a == 1 or a == 6 or a ==...
['Runtime Error', 'Accepted']
['s318532284', 's064354753']
[9012.0, 9164.0]
[23.0, 19.0]
[167, 176]
p02675
u508273185
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['n = input()\n\n#print(n[-1])\nnn = [0,1,6,8]\nif n[-1]=="3":\n print("bon")\n\nelif n[-1] in nn:\n print("pon")\n\nelse:\n print("hon")', 'n = input()\n\n#print(n[-1])\nnn = [0,1,6,8]\nif n[-1]==3:\n print("bon")\nelif n[-1] in nn:\n print("pon")\nelse:\n print("hon")', 'n = input()\n\n#print(n[-1])...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s535018927', 's572525190', 's317753392']
[9064.0, 8980.0, 9120.0]
[25.0, 23.0, 20.0]
[133, 129, 141]
p02675
u509029769
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N = input()\nif N[-1] == 3:\n print(N+"bon")\n\nelif N[-1] in [\'0\',\'1\',\'6\',\'8\']:\n print(N+"pon")\n\nelse:\n print(N+"hon")', 'N = input()\n\nif N[-1] == "3":\n print("bon")\n\nelif N[-1] in [\'0\',\'1\',\'6\',\'8\']:\n print("pon")\n\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s920003901', 's544030912']
[9028.0, 8804.0]
[30.0, 26.0]
[124, 121]
p02675
u509739538
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['x = input()\n\nif x[-1] in [2,4,5,7,9]:\n print("hon")\nelif x[-1] in [0,1,6,8]:\n print("pon")\nelse:\n print("bon")', 'x = input()\n\no = int(x[-1])\n\nif o in [2,4,5,7,9]:\n print("hon")\nelif o in [0,1,6,8]:\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Accepted']
['s661636113', 's777371723']
[9108.0, 9140.0]
[22.0, 23.0]
[113, 121]
p02675
u510956234
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['S=str(input())\nif S[-1]==2 or 4 or 5 or 7 or 9:\n print("hon")\nelif S[-1]==0 or 1 or 6 or 8:\n print("pon")\nelse:\n print("bon")', 'S=str(input())\nif S[-1]=="2" or S[-1]=="4" or S[-1]=="5" or S[-1]=="7" or S[-1]=="9":\n print("hon")\nelif S[-1]=="0" or S[-1]=="1" or S[-1]=="6" or S[-1]=="8":\n print("pon")\n...
['Wrong Answer', 'Accepted']
['s129975418', 's775673334']
[9048.0, 9116.0]
[22.0, 22.0]
[128, 197]
p02675
u511824539
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N = int(input())\ne = int(N[-1])\nif e in (2,4,5,7,9):\n print('hon')\nelif e in (0,1,6,8):\n print('pon')\nelse:\n print('bon')", "N = input()\ne = int(N[-1])\nif e in (2,4,5,7,9):\n print('hon')\nelif e in (0,1,6,8):\n print('pon')\nelse:\n print('bon')"]
['Runtime Error', 'Accepted']
['s327726583', 's106851511']
[9080.0, 9060.0]
[26.0, 28.0]
[130, 125]
p02675
u516079286
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['s = input()\nif (s[-1]==2,4,5,7,9):\n print("hon")\nelif (s[-1]==0,1,6,8):\n print("pon")\nelse:\n print("bon")', 's = input()\nprint(s)\nif (s[-1]=="2" or s[-1]=="4" or s[-1]=="5" or s[-1]=="7" or s[-1]=="9"):\n print("hon")\nelif (s[-1]=="0" or s[-1]=="1" or s[-1]=="6" or s[-1]=="8"):\n print("pon")\nelse:\n ...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s259595499', 's452720708', 's730057303', 's906955794', 's970290410']
[9044.0, 9132.0, 8944.0, 9004.0, 9032.0]
[25.0, 22.0, 25.0, 19.0, 22.0]
[108, 205, 128, 129, 196]
p02675
u516554284
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['s=input()\n\nt=int(s[-1])\n\nif t==2 or 4 or 5 or 7 or 9:\n print("hon")\nelif t==0 or 1 or 6 or 8:\n print("pon")\nelse:\n print("bon")', 's=input()\n\nt=int(s[-1])\n\nif t==2 or t==4 or t== 5 or t== 7 or t== 9:\n print("hon")\nelif t==0 or t== 1 or t== 6 or t== 8:\n print("pon")\nelse:\n print("bon")']
['Wrong Answer', 'Accepted']
['s335401979', 's939169442']
[9168.0, 9172.0]
[22.0, 23.0]
[130, 157]
p02675
u516579758
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["n=str(input())\na=n[-1]\nprint(a)\nif a=='2' or n=='4' or a=='5' or a=='7' or a=='9':\n print('hon')\nelif a=='3':\n print('bon')\nelse:\n print('pon')", "n=str(input())\na=n[-1]\nprint(a)\nif a=='2' or n=='4' or a=='5' or a=='7' or a=='9':\n print('hon')\nelif a=='3':\n print('bon')\nelse:\n print(...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s470587538', 's627475800', 's649627014', 's954963399']
[9044.0, 9108.0, 9120.0, 9044.0]
[21.0, 23.0, 23.0, 22.0]
[152, 152, 172, 130]
p02675
u516678561
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["pen = input()[-1]\n\nif pen == (2 or 4 or 5 or 7 or 9):\n print('hon')\nelif pen == (0 or 1 or 6 or 8):\n print('pon')\nelif pen == 3:\n print('bon')\n", "pen = (input()[-1])\n\nprint(pen)\n\nif pen == 2 or pen == 4 or pen == 5 or pen == 7 or pen == 9:\n print('hon')\nelif pen == 0 or pen == 1 or pen == 6...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s031428427', 's605056015', 's835828789', 's889317335', 's433746063']
[9036.0, 9016.0, 8968.0, 9012.0, 9112.0]
[25.0, 26.0, 28.0, 30.0, 30.0]
[152, 211, 148, 142, 145]
p02675
u517674755
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['n=int(input())\ncount=0\nwhile n>0:\n count=count+1\n n=n//10\nif n=2 or n=4 or n=5 or n=7 or n=9:\n print ("hon")\nif n=0 or n=1 or n=6 or n=8:\n print ("pon")\nif n=3:\n print("bon")\n ', 'n=int(input())\ncount=0\nwhile n>0:\n count=count+1\n n=n//10\nif n=2 or n=4 or n=5 or n=7 or n=9:\n print ("hon")\nif...
['Runtime Error', 'Runtime Error', 'Accepted']
['s169163280', 's550801209', 's861775576']
[8960.0, 8888.0, 9120.0]
[23.0, 25.0, 22.0]
[182, 180, 174]
p02675
u517754855
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N=input()\nif N[-1] == "3":\n return "bon"', 'N', 'N=input()\nif N[-1] == "3":\n print("bon")\nelif int(N[-1]) in [2,4,5,7,9]:\n print("hon")\nelse:\n print("pon")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s059429180', 's549288575', 's292590179']
[9024.0, 9088.0, 9052.0]
[25.0, 24.0, 20.0]
[41, 1, 109]
p02675
u518929058
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["n = int(input())\na = n % 10\nif a == 3:\n print('bon')\nelif a == 0 | a == 1 | a == 6 | a == 8:\n print('pon')\nelse:\n print('hon')", "n = int(input())\na = n % 10\nif a == 3:\n print('bon')\nelif a == 1 | a == 6 | a == 8:\n print('pon')\nelse:\n print('hon')", "n = int(input())\na = n % 10\nif a ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s154426458', 's687540027', 's131092192']
[9112.0, 9080.0, 9084.0]
[25.0, 28.0, 27.0]
[135, 126, 138]
p02675
u518958552
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['n = input()\ns = list(n)\nif s[-1] == 2 or 4 or 5 or 7 or 9:\n print("hon")\nelif s[-1] == 0 or 1 or 6 or 8:\n print("pon")\nelif s[-1] == 3:\n print("bon")', 'n = input()\ns = list(n)\nm = s[-1]\nm = int(m)\nif m == 0:\n print("pon")\nelif m == 1:\n print("pon")\nelif m == 2:\n print("hon")\nelif m...
['Wrong Answer', 'Accepted']
['s240283224', 's968518558']
[9048.0, 9116.0]
[21.0, 24.0]
[158, 343]
p02675
u521271655
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N = int(input())\nd = N%100\nif d == 2 or 4 or 5 or 7 or 9 :\n print("hon")\nelif d == 0 or 1 or 6 or 8:\n print("pon")\nelse:\n print("bon")', 'N = int(input())\nd = N%10\nif d == 2 or d == 4 or d == 5 or d == 7 or d == 9 :\n print("hon")\nelif d == 0 or d == 1 or d == 6 or d == 8:\n print("pon")\nels...
['Wrong Answer', 'Accepted']
['s261053290', 's243391106']
[9088.0, 9128.0]
[22.0, 20.0]
[143, 177]
p02675
u525722336
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N=int(input(''))\nif (N==2 or 4 or 5 or 7 or 9):\n print('hon')\nelif (N==0 or 1 or 6 or 8):\n print('pon')\nelse :\n print('bon')", "N=input('')\nif N==2 or 4 or 5 or 7 or 9:\n print('hon')\nelif N==0 or 1 or 6 or 8:\n print('pon')\nelse:\n print('bon')", "N=int(input(''))\nif (N==2 or 4 or 5 or 7 or 9):\n pr...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s114758727', 's437772633', 's663780225', 's193051110']
[9076.0, 9048.0, 9068.0, 8984.0]
[21.0, 22.0, 21.0, 24.0]
[127, 117, 127, 183]
p02675
u525796732
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['import sys\nimport math\nfrom heapq import *\nimport fractions\nfrom collections import defaultdict\nstdin = sys.stdin\n \nns = lambda: stdin.readline().rstrip()\nni = lambda: int(stdin.readline().rstrip())\nnm = lambda: map(int, stdin.readline().split())\nnl = lambda: list(map(int, stdin.readline().split()))\n\...
['Runtime Error', 'Accepted']
['s842312917', 's859661502']
[10440.0, 9132.0]
[31.0, 24.0]
[1020, 409]
p02675
u526407267
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['a = input()\nif a[-1]==3:\n print("bon")\nelif a[-1]==0 or a[-1]==1 or a[-1]==6 or a[-1]==8:\n print("pon")\nelse:\n print("hon")', 'a = int(input())\nb=str(a)\nc=b[-1]\nd=int(c)\nif d==3:\n print("bon")\nelif d==0 or d==1 or d== 6 or d==8:\n print("pon")\nelse:\n print("hon")']
['Wrong Answer', 'Accepted']
['s747664447', 's915871287']
[9108.0, 9168.0]
[25.0, 19.0]
[126, 138]
p02675
u528793636
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["K = int(input())\nS = input()\n\nif K >= len(S):\n print(S)\nelif K < len(S):\n print(S[0:K]+'...')\n", "N = int(input())\n\nif N % 10 in [2,4,5,7,9]:\n print('hon')\nelif N % 10 in [0,1,6,8]:\n print('pon')\nelif N % 10 in [3]:\n print('bon')\n"]
['Runtime Error', 'Accepted']
['s973419885', 's710991631']
[9088.0, 9068.0]
[24.0, 29.0]
[100, 141]
p02675
u531599639
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N = int(input())\nif N%10 == (0 or 1 or 6 or 8):\n print('pon')\nelif N%10 == 3:\n print('bon')\nelse:\n print('hon')", "N = int(input())\nif N%10 == 0 or N%10 == 1 or N%10 == 6 or N%10 == 8:\n print('pon')\nelif N%10 == 3:\n print('bon')\nelse:\n print('hon')"]
['Wrong Answer', 'Accepted']
['s170834345', 's059908697']
[9168.0, 9164.0]
[21.0, 23.0]
[114, 136]
p02675
u531839203
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['a = input()\nif (a[-1] == 2,4,5,7,9):\n print("hon")\nif (a[-1] == 0,1,6,8):\n print("pon")\nif (a[-1] == 3):\n print("bon")', 'a = int(input())\nif (a[-1] == 2,4,5,7,9):\n print("hon")\nif (a[-1] == 0,1,6,8):\n print("pon")\nif (a[-1] == 3):\n print("bon")', 'N = str(input())\nb = int(N[-1])\nif (b==2 or b==4 ...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s127957542', 's766307337', 's939679097']
[9012.0, 9108.0, 9060.0]
[24.0, 20.0, 20.0]
[121, 126, 192]
p02675
u534918612
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['n=(input())\nn%=10\nif(n==3)\n\tprint("bon")\nelse if(n==0 or n==1 or n==6 or n==8)\n\tprint("pon")\nelse\n\tprint("hon")', 'n=int(input())\nn%=10\nif(n==3):\n\tprint("bon")\nelif(n==0 or n==1 or n==6 or n==8):\n\tprint("pon")\nelse:\n\tprint("hon")\n']
['Runtime Error', 'Accepted']
['s607245698', 's645452745']
[8944.0, 9120.0]
[22.0, 21.0]
[111, 115]
p02675
u537217069
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N = int(input())\n\nif(N == 3):\n print("bon")\nelif(N == 0 or N == 1 or N == 6 or N == 8):\n print("pon")\nelse:\n print("hon")', 'N = int(input())\n\nN_1d = N % 10\n\nif(N_1d == 3):\n print("bon")\nelif(N_1d == 0 or N == 1 or N == 6 or N == 8):\n print("pon")\nelse:\n print("hon")', 'N = int(input...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s625490856', 's787520232', 's544738485']
[9164.0, 9008.0, 9112.0]
[28.0, 29.0, 29.0]
[130, 151, 160]
p02675
u538405269
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["n = input()\n\nif n[-1] in [2,4,5,7,9]:\n print('hon')\nelif n[-1] in [0,1,6,8]:\n print('pon')\nelse:\n print('bon')", "n = input()\n\nif int(n[-1]) in [2,4,5,7,9]:\n print('hon')\nelif int(n[-1]) in [0,1,6,8]:\n print('pon')\nelse:\n print('bon')\n"]
['Wrong Answer', 'Accepted']
['s803965797', 's766739224']
[8972.0, 9168.0]
[23.0, 23.0]
[113, 124]
p02675
u538817603
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['import sys\ninput = sys.stdin.readline\n\ndef main():\n N = int(input()[-1])\n if N == 3:\n print("bon")\n elif N == 0 or N == 1 or N == 6 or N == 8:\n print("pon")\n else:\n print("hon")\n\nif __name__ == \'__main__\':\n main()', 'def main():\n N = int(input()[-1])\n if N ==...
['Runtime Error', 'Accepted']
['s453573327', 's649998662']
[9176.0, 9168.0]
[23.0, 23.0]
[249, 210]
p02675
u543122853
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["n = str(input())\n\nN = '{0:03d}'.format(int(n))[2]\nprint(N)\nif N == '2' or N == '4' or N=='5' or N=='7' or N=='9' :\n print('hon')\nelif N=='3':\n print('bon')\nelse:\n print('pon')\n ", "n = str(input())\n\nN = '{0:03d}'.format(int(n))[2]\nif N == '2' or N == '4' or N=='5' or N=='7' or N=='9' :\n print('hon'...
['Wrong Answer', 'Accepted']
['s262440381', 's722914354']
[9168.0, 9160.0]
[23.0, 21.0]
[181, 172]
p02675
u543489264
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["from sys import stdin\n\nN = map(int, stdin.readline().rstrip().split())\nhon = {2,4,5,7,9}\npon = {0,1,6,8}\nbon = {3}\n\nN = N % 10\n\nif N in hon:\n print('hon')\nelif N in pon:\n print('pon')\nelse:\n print('bon')", "from sys import stdin\n\nN = int(input()) \nhon = {2,4,5,7,9}\npon = {0,1,6,8}\nbon = {3...
['Runtime Error', 'Accepted']
['s094976410', 's186198661']
[9052.0, 9180.0]
[25.0, 21.0]
[212, 182]
p02675
u543690404
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N = input()\n\nif N[:-1] in [2,4,5,7,9]:\n print('hon')\nelif N[:-1] in [0,1,6,8]:\n print('pon')\nelif N[:-1]:\n print('bon')\n", "N = input()\ne = int(N[-1:])\n\nif e in [2,4,5,7,9]:\n print('hon')\nelif e in [0,1,6,8]:\n print('pon')\nelif e == 3:\n print('bon')\n"]
['Wrong Answer', 'Accepted']
['s242389579', 's821259606']
[9104.0, 9156.0]
[21.0, 22.0]
[123, 129]
p02675
u544272759
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['k=int(input())\ns=str(input())\nif len(s) <= k:\n print(s)\nelse:\n print(s[0:k] + "...")', 's=str(int(input()))[-1]\n \nif s in ["2", "4", "5", "7", "9"]:\n print("hon")\nelse if s == 3:\n print("bon")\nelse:\n print("pon")', 's=str(input())[-1]\n \nif s in ["2", "4", "5", "7", "9"]:\n print("hon")\nelse if s ...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s038715221', 's265129688', 's342750665', 's381204660', 's697069885', 's887625155', 's654722878']
[9140.0, 9044.0, 8748.0, 8908.0, 8784.0, 9024.0, 8984.0]
[25.0, 24.0, 21.0, 22.0, 23.0, 20.0, 23.0]
[86, 127, 122, 129, 116, 123, 132]
p02675
u547375079
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['x = input()[-1]\n\nif x in [2,4,5,7,9]:\n print("hon")\nelif x in [0,1,6,8]:\n print("pon")\nelse:\n print("bon")', 'x = int(input()[-1])\n\nif x in [2,4,5,7,9]:\n print("hon")\nelif x in [0,1,6,8]:\n print("pon")\nelse:\n print("bon")\n']
['Wrong Answer', 'Accepted']
['s496625062', 's647649213']
[9048.0, 9100.0]
[22.0, 24.0]
[109, 115]
p02675
u550146922
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['n = int(input())\nlist1 =[2,4,5,7,9]\nlist2 =[0,1,6,8]\nlist3 =[3]\n\nif n%10 == any(list1):\n print("hon")\nelif n%10 == any(list2):\n print("pon")\nelse:\n print("bon")\n', 'n = int(input())\nlist1 =[2,4,5,7,9]\nlist2 =[0,1,6,8]\nlist3 =[3]\n\nif n%10 in list1:\n print("hon")\nelif n%10 in list2:\n p...
['Wrong Answer', 'Accepted']
['s962208555', 's054313778']
[9080.0, 9164.0]
[34.0, 28.0]
[170, 160]
p02675
u551058317
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N = input().strip()\nif N[-1] in [2, 4, 5, 7, 9]:\n print("hon")\nelif N[-1] in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("bon")\n', 'N = input()\nif N[-1] in [2, 4, 5, 7, 9]:\n print("hon")\nelif N[-1] in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("bon")', 'N = input().strip()\nif int(N[-1]) in ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s559114270', 's824918257', 's334774181']
[9088.0, 9036.0, 9160.0]
[21.0, 22.0, 23.0]
[134, 125, 144]
p02675
u554926677
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N = str(input())\n\nn = int(N[-1])\nprint(n)\nif n in (2,4,5,7,9):\n print('hon')\nelif n in (0,1,6,8):\n print('pon')\nelse:\n print('bon')", "N = str(input())\n\nn = int(N[-1])\nif n in (2,4,5,7,9):\n print('hon')\nelif n in (0,1,6,8):\n print('pon')\nelse:\n print('bon')"]
['Wrong Answer', 'Accepted']
['s227474019', 's511619211']
[9180.0, 9176.0]
[22.0, 23.0]
[140, 131]
p02675
u556477263
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["n = int(input())\nif n < 1 or n > 100:\n exit()\n\nn1 = input()\n\ni = len(n1)\nif i < 1 or i > 100:\n exit()\n\nn2 = '...'\n\nif n >= i:\n print(n1)\nelse:\n print(n1[:n] + n2)", "n = list(input())\n\ni = len(n) - 1\n\nif n[i] == '3':\n print('bon')\nelif n[i] == '0' or n[i] == '1' or n[i] == '6' or n...
['Runtime Error', 'Accepted']
['s418707004', 's344544286']
[9036.0, 9000.0]
[25.0, 28.0]
[174, 171]
p02675
u561691391
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['import math\na, b, h, m = map(int, input().split())\n\ntheta = h * 30 - m * 5.5\nresult = a ** 2 + b ** 2 - 2 * a * b * math.cos(math.radians(theta))\nprint(result ** (1 / 2))\n', "str = input()\n\nif str[-1] == '2' or str[-1] == '4' or str[-1] == '5' or str[-1] == '7' or str[-1] == '9':\n print('hon')\nelif str[-...
['Runtime Error', 'Accepted']
['s766813782', 's087619129']
[9040.0, 8932.0]
[23.0, 20.0]
[171, 184]
p02675
u563170985
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
["N = int(input())\nif N%10 == [2,4,5,7,9]:\n print('hon')\nelif N%10 == [0,1,6,8]:\n print('pon')\nelse:\n print('bon')", "N = int(input())\nif N%10 in [2,4,5,7,9]:\n print('hon')\nelif N%10 in [0,1,6,8]:\n print('pon')\nelse:\n print('bon')"]
['Wrong Answer', 'Accepted']
['s863636430', 's576572771']
[9168.0, 9200.0]
[23.0, 19.0]
[115, 121]
p02675
u563430990
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['N = int(input("enter a number: "))\ndef f(N):\n if N < 1000:\n num = str(N)\n if num[-1] == "3":\n return "bon"\n elif num[-1] in ["0", "1", "6", "8"]:\n return "pon"\n else:\n return "hon"\n else:\n return "Please enter an interger between not...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s790874787', 's841063041', 's847600540', 's942317078']
[9160.0, 9128.0, 9040.0, 9156.0]
[21.0, 22.0, 22.0, 21.0]
[336, 477, 225, 257]
p02675
u563711100
2,000
1,048,576
The cat Snuke wants to play a popular Japanese game called ÅtCoder, so Iroha has decided to teach him Japanese. When counting pencils in Japanese, the counter word "本" follows the number. The pronunciation of this word varies depending on the number. Specifically, the pronunciation of "本" in the phrase "N 本" for a pos...
['n = input()\nn = dict(n)\n\nl = [0,1,6,8]\nif n[-1] == "3":\n print("bon")\nelif str(n[-1]) in l:\n print("pon")\nelse:\n print("hon")', 'n = input()\nn = list(n)\nl = [0,1,6,8]\nif n[-1] == "3":\n print("bon")\nelif int(n[-1]) in l:\n print("pon")\nelse:\n print("hon")']
['Runtime Error', 'Accepted']
['s581917106', 's889752025']
[9112.0, 9176.0]
[24.0, 21.0]
[128, 127]