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 | u564770050 | 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... | ["if aa in (2,4,5,7,9):\n print('hon')\n exit()\nif aa in (0,1,6,8):\n print('pon')\n exit()\nif aa == 3:\n print('bon')\n exit()", "\na = int(input())\nx = str(a)\naa = int(x[len(x)-1])\n\nif aa in (2,4,5,7,9):\n print('hon')\n exit()\nif aa in (0,1,6,8):\n print('pon')\n exit()\nif aa ==... | ['Runtime Error', 'Accepted'] | ['s077761946', 's460055243'] | [9100.0, 9172.0] | [24.0, 22.0] | [137, 189] |
p02675 | u565679097 | 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\nprint(N)\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nif N in hon:\n print("hon")\nelif N in pon:\n print("pon")\nelse:\n print("bon")', 'N = int(input())%10\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nif N in hon:\n print("hon")\nelif N in pon:\n print("pon")\nelse:\n print("bon")'] | ['Wrong Answer', 'Accepted'] | ['s580331947', 's571401161'] | [9116.0, 9176.0] | [23.0, 24.0] | [147, 138] |
p02675 | u565791439 | 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... | ['# coding: utf-8\nimport sys,pprint, math\nfrom fractions import Fraction\nfrom collections import defaultdict\n\nMOD = 1000000007\nN = int(input())\nparams =[]\nhatemasks = []\ntilts = defaultdict(lambda: [0,0])\nzerozero = 0\nzerodiv = 0\nfor i in range(N):\n (ai, bi) = map(int,input().split())\n if ai == 0 an... | ['Runtime Error', 'Accepted'] | ['s018269257', 's849139655'] | [10532.0, 9988.0] | [29.0, 26.0] | [759, 134] |
p02675 | u566574814 | 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 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 = input()\n\nif (n[-1].in(2,4,5,7,9)):\n print('pon')\nelif (n[-1].in(0,1,6,8)):\n print('hon')\nelif (n[-1] == 3):\n pirint('bon')", "n = input()\n\nif (n[-1].in(2,... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s192128868', 's488147363', 's735298425', 's936689618', 's818874196'] | [9168.0, 9012.0, 8992.0, 9044.0, 9168.0] | [23.0, 22.0, 22.0, 21.0, 25.0] | [137, 129, 129, 139, 128] |
p02675 | u567474295 | 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(a+"bon")\nelif a[-1] == 0 or 1 or 6 or 8:\n print(a+"pon")\nelse:\n print(a+"hon")', '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")'] | ['Wrong Answer', 'Accepted'] | ['s379055232', 's623125578'] | [8940.0, 9112.0] | [21.0, 20.0] | [113, 144] |
p02675 | u568576853 | 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()\nprint(n[-1])\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'] | ['s972198751', 's189376712'] | [9120.0, 9112.0] | [22.0, 21.0] | [147, 134] |
p02675 | u568711768 | 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:\n print('pon')\nelif N % 10 ==1:\n print('pon') \nelif N % 10 ==6:\n print('pon')\nelif N % 10 ==8:\n print('pon') \nelse:\n print('hon')\n ", "N = input()\nif N % 10 == 3:\n print('bon')\nelif N % 10 == 0:\n print('pon')\nelif N % 10 == 1:\n pri... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s519759825', 's545270653', 's828186689'] | [9112.0, 9112.0, 9156.0] | [20.0, 23.0, 21.0] | [196, 200, 205] |
p02675 | u569421930 | 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 >= 100:\n if N[2] == 2 or N[2] == 4 or N[2] == 5 or N[2] == 7 or N[2] == 9:\n print("pon")\n elif N[2] == 0 or N[2] == 1 or N[2] == 6 or N[2] == 8:\n print("hon")\n else:\n print("bon")', 'n = str(input())\nlength = int(len(n))\nnum = int(n[length-1])\nif num == 2 or num == 4 or num... | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s275992790', 's557169776', 's595164542', 's655181572', 's055892117'] | [9132.0, 9184.0, 9188.0, 9232.0, 9132.0] | [25.0, 22.0, 21.0, 21.0, 23.0] | [213, 223, 223, 664, 223] |
p02675 | u569479281 | 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... | ["def main():\n n = str(input())\n \n if (n[-1]==2,4,5,7,9):\n print('hon')\n elif (n[-1]==0,1,6,8):\n print('pon')\n else:\n print('bon')\n \nmain()", "def main():\n n = str(input())\n \n if n[-1]==2 or n[-1]==4 or n[-1]==5 or n[-1]==7 or n[-1] == 9:\n print('hon')\n elif n[-1]==0 or n[-1]==1 o... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s372857631', 's824978677', 's148379653'] | [9040.0, 9052.0, 9056.0] | [23.0, 20.0, 22.0] | [154, 222, 239] |
p02675 | u572734594 | 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())[0]\nprint(n)\nhon=['2','4','5','7','9']\npon=['0','1','6','8']\nif n=='3':\n print('bon')\nelif n in hon:\n print('hon')\nelif n in pon:\n print('pon')\n", "n=str(input())[0]\nprint(n)\nhon=['2','4','5','7','9']\n#pon=['0','1','6','8']\nif n=='3':\n print('bon')\nelif n in hon:\n print('... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s103975109', 's262353887', 's587415810', 's050171444'] | [8924.0, 9040.0, 9048.0, 9116.0] | [23.0, 19.0, 20.0, 20.0] | [167, 159, 167, 171] |
p02675 | u573536767 | 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\nn10=int(n/10)*10\nn1=n-n10\n\nif (n1 == 3):\n print ("bon")\nelif (n1 == 0 or n1 == 1 or n== 6 or n == 8): \n print ("pon")\nelse:\n print ("hon")', 'n = int(input())\n\nn10=int(n/10)*10\nn1=n-n10\n\nif (n1 == 3):\n print ("bon")\nelif (n1 == 0 or n1 == 1 or n1== 6 or n1 == 8): \n print ("pon... | ['Wrong Answer', 'Accepted'] | ['s305006432', 's085639548'] | [9172.0, 9172.0] | [21.0, 22.0] | [159, 161] |
p02675 | u574464625 | 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())\nh='hon'\np='pon'\nb='bon'\nif n>=100:\n if n%100==3:\n print(b)\n elif n%100==0 or n%100==1 or n%100==6 or n%100==8:\n print(p)\n else:\n print(h)\nif 100>n>=10:\n if n%100==3:\n print(b)\n elif n%100==0 or n%100==1 or n%100==6 or n%100==8:\n print(p)\... | ['Wrong Answer', 'Accepted'] | ['s612396288', 's570948950'] | [9028.0, 9156.0] | [23.0, 21.0] | [472, 482] |
p02675 | u574565611 | 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) | (n % 10 = 4) | (n % 10 = 5) | (n % 10 = 7) | (n % 10 = 9):\n print("hon")\n\nelif (n % 10 = 0) | (n % 10 = 1) | (n % 10 = 6) | (n % 10 = 8):\n print("pon")\n\nelse:\n print("bon")', 'n = int(input())\n \nif (n % 10 == 2) | (n % 10 == 4) | (n % 10 == 5) | (n % 10 == 7) | (n % 1... | ['Runtime Error', 'Accepted'] | ['s695510586', 's241133216'] | [8944.0, 9188.0] | [23.0, 22.0] | [211, 223] |
p02675 | u576364343 | 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[:K])\nelif len(S) > K:\n print(S[:K] + ("." * 3))', 'hon = \'24579\'\npon = \'0168\'\nbon = \'3\'\nN = str(input())\nif N[-1] in hon:\n print("hon")\nelif N[-1] in pon:\n print("pon")\nelif N[-1] in bon:\n print("bon")'] | ['Runtime Error', 'Accepted'] | ['s456064290', 's365778213'] | [9164.0, 9108.0] | [22.0, 21.0] | [112, 153] |
p02675 | u579746769 | 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()\nl=[2,4,5,7,9]\nl2=[0,1,6,8]\nl3=[3]\n\nif (n%10) in l:\n print('hon')\nelif (n%10) in l2:\n print('pon')\nelse:\n print('bon')\n ", "n=int(input())\nl=[2,4,5,7,9]\nl2=[0,1,6,8]\nl3=[3]\n\nif (n%10) in l:\n print('hon')\nelif (n%10) in l2:\n print('pon')\nelse:\n print('bon')\n \n"] | ['Runtime Error', 'Accepted'] | ['s722242521', 's978285085'] | [9020.0, 9092.0] | [24.0, 22.0] | [133, 139] |
p02675 | u580697892 | 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 streams, sequtils, strutils, algorithm, math, future, sets, tables, hashes\nproc `ceilDiv`*[T](x, y: T): T = x div y + ord(x mod y != 0)\nproc `//=`*(x: var SomeInteger; y: SomeInteger) = x = x div y\nproc `%=`*(x: var SomeInteger; y: SomeInteger) = x = x mod y\n\n\nvar\n N = stdin.readLine\n s = parseIn... | ['Runtime Error', 'Accepted'] | ['s479443379', 's413788791'] | [8948.0, 9156.0] | [22.0, 20.0] | [412, 147] |
p02675 | u581403769 | 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()\nx = N % 10\n\n\nif x == 2 or x == 4 or x == 5 or x == 7 or x == 9:\n k = 'hon'\nelif x == 0 or x == 1 or x == 6 or x == 8:\n k = 'pon'\nelse:\n k = 'bon'\n\nprint(k)", "N = input()\nx = N % 10\n\n\nif x == 2 or x == 4 or x == 5 or x == 7 or x == 9:\n k = 'hon'\nelif x == 0 or x == 1 or x == 6... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s758134168', 's765754843', 's482818586'] | [8980.0, 8992.0, 9004.0] | [23.0, 21.0, 22.0] | [208, 216, 214] |
p02675 | u582140370 | 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... | ["str(input())\nn = int(n[-1]) \n\nif n == 3:\n print('bon')\nelif n in [0, 1, 6, 8]:\n print('pon')\nelse:\n print('hon')", "str(input())\nn = int(n[-1]) \n\nif n == 3:\n print('bon')\nelif n in [0, 1, 6, 8]:\n print('pon')\nelse:\n print('hon')", 'str(input())\nn = int(n[-1]) \n \nif n == 3:\n pr... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s345676534', 's377749074', 's787514663', 's449410062'] | [9068.0, 8952.0, 9104.0, 9196.0] | [21.0, 20.0, 24.0, 20.0] | [121, 121, 122, 147] |
p02675 | u582803594 | 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=list(map(int,N))\n\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 print("bon")', 'N=input()\nN=list(map(int,N))\n\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 pri... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s034146011', 's057129131', 's802769933'] | [9112.0, 9096.0, 9188.0] | [27.0, 27.0, 26.0] | [149, 158, 207] |
p02675 | u583276018 | 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()\ni = n % 10\nif(i == 3):\n print("bon")\nelif(i == 0 or i == 1 or i == 6 or i == 8):\n print("pon")\nelse:\n print("hon")', 'n = input()\ni = n % 10\nif(n == 3):\n print("bon")\nelif(n == 0 or 1 or 6 or 8):\n print("pon")\nelse:\n print("hon")', 'n = int(input())\ni = n % 10\nif(i == 3):\n print("b... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s285445362', 's509421419', 's968507645'] | [9044.0, 9044.0, 9024.0] | [23.0, 23.0, 24.0] | [129, 114, 134] |
p02675 | u583285098 | 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\n \nn=int(input())\nmod = 10**9+7\n \nd = dict()\nzeros=0\nfor _ in range(n):\n a,b=map(int,input().split())\n if not any((a,b)):\n zeros+=1\n continue\n if all((a,b)):\n g = gcd(a,b)\n elif a:\n g = a\n else:\n g = b\n \n p = a//g,b//g\n d[p] = d.get(p,0)+1\n \nans = 1\ndo... | ['Runtime Error', 'Accepted'] | ['s439470684', 's908943745'] | [9148.0, 9092.0] | [24.0, 20.0] | [518, 132] |
p02675 | u583507988 | 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\nans = n % 10\n\nif ans == 2 or 4 or 5 or 7 or 9:\n print('hon')\nelif ans == 0 or 1 or 6 or 8:\n print('pon')\nelse:\n print('bon')", "n = int(input())\n\nif n % 10 == 2:\n print('hon')\nelif n % 10 == 4:\n print('hon')\nelif n % 10 == 5:\n print('hon')\nelif n % 10 == 7:\n print('hon')\nel... | ['Wrong Answer', 'Accepted'] | ['s138180463', 's125504314'] | [9028.0, 9152.0] | [20.0, 22.0] | [145, 333] |
p02675 | u584658281 | 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 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')"] | ['Wrong Answer', 'Accepted'] | ['s101597196', 's541480605'] | [9108.0, 9104.0] | [22.0, 26.0] | [111, 129] |
p02675 | u587155469 | 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] == 2, 4, 5, 7, 9):\n print('hon')\nelif(N[1] == 0, 1, 6, 8):\n print('pon')\nelif(N[1] == 3):\n print('bon')", "N = list(input())\nl = len(N)\nif N[l-1] == '2' or N[l-1] == '4' or N[l-1] == '5' or N[l-1] == '7' or N[l-1] == '9':\n print('hon')\nelif N[l-1] == '0' or N[l-1] == '1' or N... | ['Runtime Error', 'Accepted'] | ['s737906487', 's151171307'] | [9004.0, 9140.0] | [30.0, 30.0] | [132, 256] |
p02675 | u587199081 | 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\nN = stdin.readline().rstrip()\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')", "from sys import stdin\nN = stdin.readline().rstrip()\nlast_s = int(N[len(N)-1])\nif last_s in [2,4,5,7,9]:\n print('hon')\nelif last_s in [0,1,6... | ['Wrong Answer', 'Accepted'] | ['s370318384', 's442129170'] | [9112.0, 9184.0] | [22.0, 23.0] | [160, 186] |
p02675 | u588048170 | 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[-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')\nelse:\n pass", "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')\... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s292000671', 's394128281', 's207861147'] | [9124.0, 9072.0, 9064.0] | [23.0, 24.0, 24.0] | [187, 165, 250] |
p02675 | u588526762 | 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()\nprint(n[-1])\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')\nelif int(n[-1]) == 0 or int(n[-1]) == 1 or int(n[-1]) == 6 or int(n[-1]) == 8:\n print('pon')\nelse:\n print('bon')", "n = input()\n\nif int(n[-1]) == 2 or int(n[-1]) == ... | ['Wrong Answer', 'Accepted'] | ['s065636033', 's769363510'] | [9144.0, 9140.0] | [21.0, 20.0] | [256, 244] |
p02675 | u589047182 | 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\nN = (input().rstrip())\nprint(N, N[-1])\nif N[-1] == "3":\n print(\'bon\')\nelif N[-1] == (\'0\' or \'1\' or \'6\' or \'8\'):\n print(\'pon\')\nelse:\n print(\'hon\')\n', 'import sys\ninput = sys.stdin.readline\n\nN = (input().rstrip())\nif N[-1] == "3":\n print(\'bon\')\... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s356741846', 's815913757', 's304231947'] | [9040.0, 9096.0, 9072.0] | [25.0, 24.0, 19.0] | [188, 172, 197] |
p02675 | u592479128 | 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]\nif(n == 3):\n print("bon")\n\nelif(n == 0 or n == 1 or n == 6 or n == 8 ):\n print("pon")\n\nelse:\n print("hon")', 'n = input()\nn = n[-1]\nn = int(n)\nif(n == 3):\n print("bon")\n\nelif(n == 0 or n == 1 or n == 6 or n == 8 ):\n print("pon")\n\nelse:\n print("hon")'] | ['Wrong Answer', 'Accepted'] | ['s252928608', 's084359974'] | [9020.0, 9056.0] | [23.0, 22.0] | [137, 148] |
p02675 | u593019570 | 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[-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 = int(input())\n\nif n[-1] == 3:\n print("bon")\nelif n[-1] == 0 or n[-1] == 1 n[-1] == 6 n[-1] == 8:\n print("pon")\nelse:\n print("hon")', 'n = in... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s150090393', 's996749461', 's560208590'] | [9172.0, 9024.0, 9108.0] | [21.0, 21.0, 22.0] | [148, 142, 153] |
p02675 | u595296958 | 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... | ['# coding: utf-8\n# Your code here!\n\na = int(input())\n\nif a % 10 == 2 or 4 or 5 or 7 or 9:\n print("hon")\nelif a % 10 == 0 or 1 or 6 or 8:\n print("pon")\nelse:\n print("bon")', '# coding: utf-8\n# Your code here!\n\na = input()\nx = 0\nif len(a) == 1:\n x = int(a)\nelse:\n x = int(a[-1])\n\nif x =... | ['Wrong Answer', 'Accepted'] | ['s909545041', 's018074314'] | [9040.0, 9192.0] | [23.0, 19.0] | [178, 267] |
p02675 | u596297663 | 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 or 4 or 5 or 7 or 9:\n\tprint ("hon")\nelif (n % 10) == 0 or 1 or 6 or 8:\n print (n+"pon")\nelse\n prnt(n+"bon):', 'n = int(input())\n# print(n % 10)\nif (n % 10) in [2 , 4 , 5 , 7 , 9]:\n\tprint ("hon")\nelif (n % 10) in [ 0 , 1 , 6 , 8]:\n print ("pon")\nelse:\n print... | ['Runtime Error', 'Accepted'] | ['s758466774', 's578607344'] | [8944.0, 9176.0] | [28.0, 23.0] | [146, 159] |
p02675 | u597626771 | 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()\nend = int(N[-1])\nfor end in range(10):\n print(end)\n if end == 3:\n print('bon')\n elif end in [0, 1, 6, 8]:\n print('pon')\n else:\n print('hon')", "N = input()\nend = int(N[-1])\nif end == 3:\n print('bon')\nelif end in [0, 1, 6, 8]:\n print('pon')\nelse:\n p... | ['Wrong Answer', 'Accepted'] | ['s437602792', 's429637871'] | [9176.0, 9164.0] | [20.0, 20.0] | [185, 124] |
p02675 | u599859259 | 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\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 = str(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")'] | ['Wrong Answer', 'Accepted'] | ['s258523398', 's173358223'] | [9020.0, 9108.0] | [22.0, 22.0] | [124, 142] |
p02675 | u600261652 | 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()\nprint("bon" if N[-1] == 3 else "pon" if N[-1] in == 0 or N[-1] == 1 or N[-1] == 6 or N[-1] == 8 else "hon")', 'N = input()\nprint("hon" if N[-1] in "24579" else "pon" if N[-1] in "0168" else "bon")'] | ['Runtime Error', 'Accepted'] | ['s514445962', 's643628341'] | [8924.0, 8996.0] | [23.0, 23.0] | [119, 85] |
p02675 | u601235270 | 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()\nm =int(n[-1])\nif m ==3:\n print("bon")\nelif m ==0 and m ==1 and m ==6 and m ==8:\n print("pon")\nelse:\n print("hon")', 'n =input()\nm =int(n[-1])\nif m ==3:\n print("bon")\nelif m in [0,1,6,8]:\n print("pon")\nelse:\n print("hon")\n'] | ['Wrong Answer', 'Accepted'] | ['s508995010', 's612319249'] | [9132.0, 9168.0] | [20.0, 21.0] | [133, 113] |
p02675 | u602128502 | 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())\nm=N[-1]\nif m== 2 or m==4 or m==5 or m==7 or m==9:\n print("hon")\nelif m==0 or m==1 or m==6 or m==8:\n print("pon")\nelse\n print("bon"\n', 'N=input()\nm=int(N[-1])\nif m== 2 or m==4 or m==5 or m==7 or m==9:\n print("hon")\nelif m==0 or m==1 or m==6 or m==8:\n print("pon")\nelse:\n print("bon")... | ['Runtime Error', 'Accepted'] | ['s981670751', 's736134050'] | [8972.0, 9104.0] | [23.0, 21.0] | [149, 150] |
p02675 | u605253462 | 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\ns = s[len(s)-1:len(s)]\n\nprint(s)\n\nif s == "2" or s == "4" or s=="5" or s=="7" or s=="9":\n print("hon")\nelif s == "3":\n print("bon")\nelse:\n print("pon")', 's = input()\n\ns = s[len(s)-1:len(s)]\n\n\n\nif s == "2" or s == "4" or s=="5" or s=="7" or s=="9":\n print("hon")\nelif s == "3":\n p... | ['Wrong Answer', 'Accepted'] | ['s791284814', 's153520950'] | [9112.0, 9112.0] | [23.0, 21.0] | [167, 159] |
p02675 | u605601159 | 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().strip()) % 10\nif n in ("2", "4", "5", "7", "9"):\n print("hon")\nelif n in ("0", "1", "6", "8"):\n print("pon")\nelse:\n \tprint("bon")', 'n = input() % 10\nif n in ("2", "4", "5", "7", "9"):\n print("hon")\nelif n in ("0", "1", "6", "8"):\n print("pon")\nelse:\n \tprint("bon")', 'n = i... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s363095533', 's406188221', 's835489848'] | [9088.0, 9032.0, 9164.0] | [21.0, 24.0, 23.0] | [152, 139, 134] |
p02675 | u607629451 | 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()\nK = int(input())\n\nif len(S) <= K :\n print(S)\nelse :\n print(S[:K] + "...")', 'n = int(input()) % 10\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")'] | ['Runtime Error', 'Accepted'] | ['s731361922', 's389043072'] | [8884.0, 9164.0] | [24.0, 33.0] | [91, 125] |
p02675 | u609018550 | 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 = input()[-1]\nif input == '3':\n print('bon')\nelif input in ['0', '1', '6', '8']:\n print('hon')\nelse:\n print('hon')\n", "input = input()[-1]\nif input == '3':\n print('bon')\nelif intpu in ['0', '1', '6', '8']:\n print('hon')\nelse:\n print('hon')\n", "input = input()[-1]\nif input == '3':\n ... | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s270917743', 's493479251', 's499167062', 's592535080', 's823007755', 's960433327'] | [9096.0, 9096.0, 9044.0, 9028.0, 9072.0, 9160.0] | [24.0, 22.0, 22.0, 23.0, 21.0, 24.0] | [130, 124, 129, 142, 165, 156] |
p02675 | u609258687 | 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())\nNstr = str(N)\n\nif Nstr[-1] == 3:\n print("bon")\nelif Nstr[-1] == 0 or Nstr[-1] == 1 or Nstr[-1] == 6 or Nstr[-1] == 8:\n print("pon")\nelse:\n print("hon") ', 'N = int(input())\nNstr = str(N)\nNmatsubi = int(Nstr[-1])\n\nif Nmatsubi == 3:\n print("bon")\nelif Nmatsubi == 0 or Nmatsubi... | ['Wrong Answer', 'Accepted'] | ['s245724221', 's507019042'] | [9180.0, 9152.0] | [20.0, 21.0] | [178, 202] |
p02675 | u611033537 | 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] == 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()\nm = int(n[-1])\nif m == 3:\n print("bon")\nelif m == 0 or m == 1 or m == 6 or m == 8:\n print("pon")\nelse:\n print("hon")'] | ['Runtime Error', 'Accepted'] | ['s894096732', 's515597341'] | [9176.0, 9168.0] | [20.0, 24.0] | [144, 131] |
p02675 | u611551778 | 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 = int(input())\n#print(input_line)\n\nfirst=input_line%10\n#print(first)\n\nif int(first) == 2 or 4 or 5 or 7 or 9:\n print("hon")\nelif int(first) == 0 or 1 or 6 or 8:\n print("pon")\nelif int(first) == 3:\n print("bon")\n ', 'input_line = int(input())\n#print(input_line)\n\nfirst=input_line%1... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s102270785', 's327312740', 's096527726'] | [9168.0, 9072.0, 9160.0] | [23.0, 22.0, 21.0] | [235, 277, 278] |
p02675 | u612148941 | 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] in (\'0\',\'1\',\'6\',\'8\'):\n\tprint(\'pon\')\nelse if n[-1] =="3":\n\tprint(\'bon\')\nelse:\n\tprint("bon")\n ', "N = input()\nif N[-1] in ('0','1','6','8'):\n print('pon')\nelif N[-1] == '3':\n print('bon')\nelse:\n print('hon')"] | ['Runtime Error', 'Accepted'] | ['s132155338', 's997415756'] | [9028.0, 8888.0] | [22.0, 22.0] | [116, 118] |
p02675 | u612975321 | 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_ichi = n % 10\n\nif n_ichi == 3:\n print('bon')\nelif n_ichi == 0 or n_ichi == 1 or n_ichi == 6 or n_ichi == 8:\n print('pon')\nelse:\n print('hon')", "n = input()\nn_ichi = int(n) % 10\n \nif n_ichi == 3:\n print('bon')\nelif n_ichi == 0 or n_ichi == 1 or n_ichi == 6 or n_ichi == 8:\n p... | ['Runtime Error', 'Accepted'] | ['s291658908', 's104086698'] | [9116.0, 9176.0] | [23.0, 24.0] | [164, 170] |
p02675 | u615968644 | 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... | ['i=input()\nl=int(i[-1])\n\nif l==3:\n print(bon)\nelif l==0 or l==1 or l==6 or l==8:\n print(pon)\nelse:\n print(hon)', "i=input()\nl=int(i[-1])\n\nif l==3:\n print('bon')\nelif l==0 or l==1 or l==6 or l==8:\n print('pon')\nelse:\n print('hon')"] | ['Runtime Error', 'Accepted'] | ['s047208330', 's321688343'] | [9172.0, 9168.0] | [22.0, 20.0] | [112, 118] |
p02675 | u617040773 | 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\nroom, route_count = map(int,input().split())\nroute = np.array([list(map(int,input().split())) for _ in range(route_count)])\n \nobject_nums = [1]\nans = np.array([0]*(room-1))\n \ndef mem_ans(ans, object_num, next_nums):\n next_nums = next_nums - 2\n ans[next_nums-2] = object_num\n retur... | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s640800013', 's800099407', 's970024190', 's311790339'] | [27064.0, 9152.0, 9168.0, 9168.0] | [103.0, 23.0, 20.0, 24.0] | [741, 154, 176, 163] |
p02675 | u617298485 | 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... | ["numbers = input()\nnumberArray = numbers.split()\nlength = len(numberArray)\n\nlastNumber = numberArray[length-1]\nif lastNumber == 3:\n print('bon')\nelif lastNumber == 0 or lastNumber == 1 or lastNumber == 6 or lastNumber == 8:\n print('pon')\nelse:\n print('hon')\n", "numbers = input()\nstring = str(numbe... | ['Wrong Answer', 'Accepted'] | ['s825030240', 's611079949'] | [9040.0, 9072.0] | [19.0, 23.0] | [266, 289] |
p02675 | u617448925 | 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... | ["l1=[2,4,5,7,9]\nl2=[0,1,6,8]\nl3=[3]\nN=int(input())\nif str(N[-1]) in l1:\n print('hon')\nelif str(N[-1]) in l2:\n print('pon')\nelif str(N[-1]) in l3:\n print('bon')", "l1=['2','4','5','7','9']\nl2=['0','1','6','8']\nl3=['3']\nN=str(input())\nif N[-1] in l1:\n print('hon')\nelif N[-1] in l2:\n print('pon')\nel... | ['Runtime Error', 'Accepted'] | ['s960746130', 's704068254'] | [9128.0, 9112.0] | [24.0, 22.0] | [161, 166] |
p02675 | u618369407 | 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... | ["# -*- coding: utf-8 -*-\n\nn = str(input())\n\nhon = ['2', '4', '5', '7', '9']\npon = ['0', '1', '6', '8']\nbon = ['3']\n\nprint(n[-1])\n\nif n[-1] in hon:\n print('hon')\nelif n[-1] in pon:\n print('pon')\nelse:\n print('bon')", "# -*- coding: utf-8 -*-\n\nn = str(input())\n\nhon = ['2', '4', '5', '7', '9']... | ['Wrong Answer', 'Accepted'] | ['s644938489', 's447566801'] | [8988.0, 8988.0] | [25.0, 27.0] | [221, 207] |
p02675 | u618373524 | 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 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()\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")'] | ['Runtime Error', 'Accepted'] | ['s793302749', 's358366752'] | [8964.0, 9064.0] | [25.0, 19.0] | [160, 135] |
p02675 | u625864724 | 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())\nx = n%10\nif (x == 2, or x == 4, or x == 5, or x == 7, or x == 9):\n print("hon")\nelif (x == 0, or x == 1, or x == 6, or x == 8):\n print("pon")\nelse:\n print("bon")', 'n = int(input())\nx = n%10\nif (x == 2 or x == 4 or x == 5 or x == 7 or x == 9):\n print("hon")\nelif (x == 0 or x == 1 or x ... | ['Runtime Error', 'Accepted'] | ['s082426953', 's338178732'] | [8884.0, 8944.0] | [28.0, 27.0] | [181, 174] |
p02675 | u626467464 | 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()\nif len(s) <= k:\n print(s)\nelse:\n ns = s[:k]\n print(ns + "...")', 'n = list(input())\nl = n[-1]\nif l == "3":\n print("bon")\nelif l == "0" or l == "6" or l == "1" or l == "8":\n print("pon")\nelse:\n print("hon")'] | ['Runtime Error', 'Accepted'] | ['s999281379', 's016993018'] | [9100.0, 9108.0] | [25.0, 19.0] | [94, 142] |
p02675 | u629276590 | 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")\nelif N%10==(0 or 1 or 6 or 8):\n print("pon")\nelse:\n print("hon")', 'N=int(input())\nif N%10==3:\n print("bon")\nelif N%10==0:\n print("pon")\nelif N%10==1:\n print("pon")\nelif N%10==6:\n print("pon")\nelif N%10==8:\n print("pon")\nelse:\n prin... | ['Wrong Answer', 'Accepted'] | ['s059100354', 's763985095'] | [9160.0, 9172.0] | [24.0, 23.0] | [114, 191] |
p02675 | u629471944 | 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\naa=a*a\nbb=b*b\n\n\nmm=m*6\n\nhh=h*30+30*m/60\nif hh-mm<=180:\n cos = math.cos(math.radians(abs(hh-mm)))\nelse:\n cos = math.cos(math.radians(abs(360-(mm-hh))))\n#print(cos)\ncc=aa+bb-2*a*b*cos\n\nc=math.sqrt(cc)\n\nprint(c)\n\n', 'import math\n\na,b,h,m=map(in... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s117837579', 's370675884', 's378255730', 's457937895', 's523214032', 's998826961', 's093640570'] | [9200.0, 9196.0, 9192.0, 9188.0, 8900.0, 9184.0, 9116.0] | [24.0, 25.0, 21.0, 24.0, 21.0, 20.0, 21.0] | [263, 260, 167, 220, 207, 168, 210] |
p02675 | u629540524 | 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[-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')", "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 ... | ['Wrong Answer', 'Accepted'] | ['s230146893', 's377377665'] | [9048.0, 9076.0] | [22.0, 25.0] | [174, 250] |
p02675 | u635864321 | 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 = 6 * m - 15 * h\nk = math.cos(math.radians(x))\nc = a ** 2 + b ** 2 - 2 * a * b * k\nprint(math.sqrt(c)) \n', 'i = int(input())\nif i % 10 == 3:\n print("bon")\nelif i % 10 == 0 or i % 10 ==1 or i % 10 == 6 or i % 10 ==8:\n print("pon")\nelse:\n print... | ['Runtime Error', 'Accepted'] | ['s781450320', 's514115246'] | [9172.0, 9156.0] | [22.0, 20.0] | [165, 145] |
p02675 | u636684559 | 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] == 3:\n print('bon')\nelif N[-1] in [0,1,6,8]:\n print('pon')\nelse:\n print('hon')", "N=input()\nif N[-1] == '3':\n print('bon')\nelif N[-1] in ['0','1','6','8']:\n print('pon')\nelse:\n print('hon')"] | ['Runtime Error', 'Accepted'] | ['s207402366', 's821791129'] | [9168.0, 9044.0] | [24.0, 25.0] | [105, 110] |
p02675 | u639703036 | 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)or(n[0]==3):\n print("bon")\nelif(n[-1]==0)or(n[-1]==1)or(n[-1]==6)or(n[-1]==8)or(n[0]==0)or(n[-0]==1)or(n[0]==6)or(n[0]==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")\ne... | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s421823807', 's474740389', 's543752264', 's205822945'] | [9092.0, 9052.0, 9104.0, 9124.0] | [24.0, 24.0, 23.0, 22.0] | [190, 134, 129, 194] |
p02675 | u641722141 | 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()\nhon = ["0", "1", "6", "8"]\nif a[-1] == "3":\n print("bon")\nelif a[-1] in hon:\n print("hon")\nelse:\n print("pon")\n', 'a=input()\npon = ["0", "1", "6", "8"]\nif a[-1] == "3":\n print("bon")\nelif a[-1] in pon:\n print("pon")\nelse:\n print("hon")\n'] | ['Wrong Answer', 'Accepted'] | ['s757765897', 's740798942'] | [9096.0, 9092.0] | [22.0, 22.0] | [124, 124] |
p02675 | u641804918 | 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 = list(N)\n\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 print("bon")\n', 'N = str(input())\nN = list(N)\n\nif N[-1] == \'2\' or N[-1] == \'4\' or N[-1] == \'5\' or N[-1] == \'7\' or N[-1] ==... | ['Wrong Answer', 'Accepted'] | ['s097917471', 's832569560'] | [9040.0, 9056.0] | [24.0, 21.0] | [171, 249] |
p02675 | u642528832 | 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... | ["l =list(input())\nprint(l)\nif l[-1] == '3':\n print('bon')\nelif l[-1] in ['2','4','5','7','9']:\n print('hon')\nelse:\n print('pon')", "l =list(input())\n#print(l)\nif l[-1] == '3':\n print('bon')\nelif l[-1] in ['2','4','5','7','9']:\n print('hon')\nelse:\n print('pon')"] | ['Wrong Answer', 'Accepted'] | ['s574753006', 's200150146'] | [8940.0, 8940.0] | [29.0, 28.0] | [136, 137] |
p02675 | u643679148 | 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\nimport sys\ninput = sys.stdin.readline\n\nn, m = map(int, input().split())\n\ng = [[] for _ in range(n)] \n\nfor _ in range(m):\n a, b = [int(x) for x in input().split()]\n g[a-1].append(b-1)\n g[b-1].append(a-1)\n\n\ndef bfs(u):\n queue = deque([u])\n d = [None] * n \n... | ['Runtime Error', 'Accepted'] | ['s727825878', 's393470446'] | [9348.0, 9032.0] | [26.0, 28.0] | [686, 141] |
p02675 | u645504441 | 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 = int(n)\n\nm = N % 10\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)', 'K = int(input())\nS = input()\n\nif (len(S) <= K):\n print(S)\nelse:\n print(S[0:K] + "...")', 'n = input()\nN = int(n)\n\nm = N % 10\n\nif (m == 3):\n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s026364743', 's284996952', 's519258408', 's766698008', 's655896801'] | [9176.0, 9152.0, 9176.0, 9168.0, 9208.0] | [21.0, 23.0, 20.0, 22.0, 26.0] | [144, 92, 144, 91, 150] |
p02675 | u647796955 | 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\nA = sys.stdin.readline().rstrip()\nn = A[-1]\n\nif n in [2,4,5,6,9]:\n print('hon')\nelif n in [0,1,5,8]:\n print('pon')\nelse:\n print('bon')", "import sys\nA = sys.stdin.readline().rstrip()\nn = A[-1]\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')... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s340275348', 's593501500', 's392579769'] | [9096.0, 9068.0, 9180.0] | [23.0, 23.0, 21.0] | [148, 149, 158] |
p02675 | u654590131 | 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 = map(int, input().split())\nAB = []\nfor _ in range(M):\n AB.append(list(map(int, input().split())))\n\nlist = [0] * (N+1)\n\nsaitan = [1]\nfor _ in range(M):\n next = []\n for i in range(len(AB)):\n if AB[i][0] in saitan:\n if list[AB[i][1]] == 0:\n list[AB[i][1]] = AB... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s052277360', 's209611416', 's941145851'] | [9216.0, 9192.0, 9064.0] | [21.0, 21.0, 26.0] | [572, 215, 118] |
p02675 | u656803083 | 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()\nword = n[-1]\n\nif word == "3":\n print(n + "bon")\nelif word == "0" or word == "1" or word == "6" or word == "8":\n print(n + "pon")\nelse:\n print(n + "hon")', 'n = input()\nword = n[-1]\n \nif word == "3":\n print("bon")\nelif word == "0" or word == "1" or word == "6" or word == "8":\n print("pon... | ['Wrong Answer', 'Accepted'] | ['s801748143', 's865311585'] | [9032.0, 9096.0] | [24.0, 29.0] | [167, 156] |
p02675 | u657994700 | 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\n# print('input >>')\nN, M = map(int,(input().split()))\nABs = [map(int,(input().split())) for _ in range(M)]\n\nINF = 10 ** 10\nds = [INF] * (N+1)\nmarks = [0] * (N+1)\n\nnodes = [None] * (N+1)\n\nfor AB in ABs:\n A, B = AB\n if nodes[A] is None:\n nodes[A] = []\n node... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s077675331', 's984497188', 's571680667'] | [9484.0, 9032.0, 9176.0] | [23.0, 20.0, 22.0] | [839, 265, 266] |
p02675 | u658627575 | 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\nINF = 10 ** 9\nA,B,H,M = map(int,input().split())\n\nrad_H = (360*H/12) + (0.5 * M)\nrad_M = 360*M/60\ndiff = abs(rad_H-rad_M)\n\nif diff > 180:\n\tdiff = diff - 180\n\ntemp = (A ** 2) + (B ** 2) -(2*A*B*math.cos(math.radians(diff))) \nans = math.sqrt(temp)\n\nprint(ans)\n', 'N = input()\n\nif int(N[-1... | ['Runtime Error', 'Accepted'] | ['s496458512', 's134315963'] | [9196.0, 9188.0] | [24.0, 22.0] | [271, 236] |
p02675 | u664652017 | 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\nn = int(x)\ncnt = 0\nwhile n>1:\n n = n/10\n cnt+=1\n\nprint(x[cnt-1])\n\n\ns = int(x[cnt-1])\nif s == 3:\n print("bon")\nelif s == 0 or s == 1 or s == 6 or s == 8:\n print("pon")\nelse:\n print("hon")', 'x = input()\n\nn = int(x)\ncnt = 0\nwhile n>1:\n n = n/10\n cnt+=1\n\n\ns = int(x[cnt-1])\n... | ['Wrong Answer', 'Accepted'] | ['s963631814', 's245073319'] | [9192.0, 9184.0] | [22.0, 22.0] | [224, 207] |
p02675 | u665369939 | 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 = int(intpu())\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')", "s = input()\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')", "s = int(input())\nich... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s051084284', 's496232657', 's066911333'] | [9084.0, 9040.0, 9168.0] | [20.0, 21.0, 22.0] | [141, 136, 151] |
p02675 | u667694979 | 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=list(n)\nif n[len(n)-1]==3:\n print("bon")\nelif n[len(n)-1]==0,1,6,8:\n print("pon"):\nelse:\n print("hon")', 'n=input()\nn=list(n)\nif n[len(n)-1]==3:\n print("bon")\nelif n[len(n)-1]==0 or n[len(n)-1]==1 or n[len(n)-1]==6 or n[len(n)-1]==8:\n print("pon"):\nelse:\n print("hon")', 'n=input()\nn=l... | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s293627513', 's816811881', 's867746102', 's228498248'] | [8976.0, 8916.0, 9056.0, 9060.0] | [21.0, 20.0, 22.0, 22.0] | [117, 165, 164, 107] |
p02675 | u667908925 | 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()\nh = (2,4,5,7,9)\np = (0,1,6,8)\nb = 3\nm = int(n) % 10\nif m in b:\n print("bon")\nif m in p:\n print("pon")\nif m == h:\n print("hon")', 'n = input()\nh = (2,4,5,7,9)\np = (0,1,6,8)\nb = 3\nm = int(n) % 10\nif m in h:\n print("hon")\nif m in p:\n print("pon")\nif m == b:\n print("bon")'] | ['Runtime Error', 'Accepted'] | ['s332967342', 's640539949'] | [9176.0, 9172.0] | [24.0, 20.0] | [141, 141] |
p02675 | u667937724 | 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 = int(input())\nt = input()\n\nif len(t) <= s:\n print(t)\n \nelse :\n tt = t[0:s]\n print(tt + "...")', 's = int(input())\nt = input()\n\nif len(t) < s:\n print(t)\n \nelse :\n tt = t[0:s]\n print(tt + "...")', 'if int(input())%10 == 3:\n\tprint("bon")\n \nelif int(input())%10 == 0 or int(input())%10 ==... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s117848898', 's375948844', 's424128678', 's447288696', 's763304032', 's849245238', 's645994989'] | [9140.0, 9136.0, 9148.0, 8892.0, 9060.0, 9112.0, 9056.0] | [26.0, 25.0, 26.0, 26.0, 28.0, 23.0, 26.0] | [101, 100, 176, 118, 101, 176, 226] |
p02675 | u667949809 | 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 = list(input())\nn = int(num[-1])\nprint(n)\nif n == 3:\n print('bon')\nelif n in [2,4,5,7,9]:\n print('hon')\nelse:\n print('pon')", "num = list(input())\nn = int(num[-1])\nif n == 3:\n print('bon')\nelif n in [2,4,5,7,9]:\n print('hon')\nelse:\n print('pon')"] | ['Wrong Answer', 'Accepted'] | ['s020530475', 's412186291'] | [9204.0, 9168.0] | [20.0, 21.0] | [136, 127] |
p02675 | u668503853 | 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=list(map(int,N))\nA=a[-1]\nif A==3:\n print("bon")\nelif A==2 or 4 or 5 or 7 or 9:\n print("hon")\nelse:\n print("pon")', 'N=list(input())\nif N[-1]=="2","4","5","7","9":\n print("hon")\nelif N[-1]=="3":\n print("bon")\nelse:\n print("pon")', 'N=list(input())\nif N[-1]=="2" or "4" or "5" or "7... | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s803732146', 's926142522', 's989098834', 's712122421'] | [9176.0, 8948.0, 9100.0, 9184.0] | [21.0, 21.0, 25.0, 22.0] | [132, 114, 126, 152] |
p02675 | u668705838 | 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()[-1])\n\nif in [2, 4, 5, 7, 9]:\n print("hon")\nelif n in [0, 1, 6, 8]:\n print("pon")\nelse:\n print("bon")', 'n = int(input()[-1])\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")'] | ['Runtime Error', 'Accepted'] | ['s004909375', 's581659464'] | [9024.0, 9024.0] | [24.0, 22.0] | [120, 121] |
p02675 | u672316981 | 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[-1] in ['2', '4', '5', '7', '9']:\n how_to_read = 'hon'\nelif n[-1] in ['0', '1', '6', '8':\n how_to_read = 'pon'\nelse:\n how_to_read = 'bon'\n \nprint(how_to_read)", "n = str(input())\nif n[-1] in ['2', '4', '5', '7', '9']:\n how_to_read = 'hon'\nelif n[-1] in ['0', '1', '6', '... | ['Runtime Error', 'Accepted'] | ['s030234529', 's243632505'] | [8948.0, 8956.0] | [27.0, 25.0] | [192, 193] |
p02675 | u672542358 | 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==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())\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())\nn=n%10\nif n==3:\n print("bon")\nelif n==0 or n==1 or n==6 or n==8:... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s426112010', 's797140618', 's180644128'] | [9116.0, 8856.0, 9064.0] | [22.0, 21.0, 22.0] | [109, 105, 116] |
p02675 | u674190122 | 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... | ['\ncounter = int(input())\nres = counter % 10\nif res in [2,4,5,7,9]:print("hon")\nelif res in [0, 1 6, 8]:print("pon")\nelse:print("bon") ', 'counter = int(input())\nres = counter % 10\nif res in [2,4,5,7,9]:\n print("hon")\nelif res in [0, 1, 6, 8]:\n print("pon")\nelse:print("bon")'] | ['Runtime Error', 'Accepted'] | ['s260446445', 's590497079'] | [8828.0, 9204.0] | [20.0, 20.0] | [134, 142] |
p02675 | u674587716 | 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())\nif(len(s)<=k):\n for i in range(len(s)):\n print(s[i],end="")\nelse:\n for j in range(k):\n print(s[j],end="")\n print("...")', 'h=[2,4,5,7,9]\np=[0,1,6,8]\na=list(map(int,input()))\nt=len(a)\nif(a[t-1] in h):\n print("hon")\nelif(a[t-1] in p):\n print("pon")\nelse:\n if(a... | ['Runtime Error', 'Accepted'] | ['s289364369', 's262331703'] | [9192.0, 9160.0] | [25.0, 24.0] | [159, 170] |
p02675 | u674588203 | 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,B,H,M= map(int,input().split())\n\nkakudo_H = H*30 +M*0.5\nkakudo_M = M*6\nif M==0:\n kakudo_M=360\n\nkakudo_sa=abs(kakudo_H-kakudo_M)\n\nc=A**2 +B**2-2*A*B*(math.cos(math.radians(kakudo_sa)))\nC=c**0.5\nprint(C)', 'N=str(input())\na=int(N[-1])\nif a==3:\n print("bon")\nelse:\n if a==0 or a==1 or a==6 or a... | ['Runtime Error', 'Accepted'] | ['s016269706', 's356493965'] | [9180.0, 9172.0] | [20.0, 23.0] | [258, 148] |
p02675 | u674959776 | 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]==("0" or "1" or "6" or "8"):\n print("pon")\nelif n[-1]=="3":\n print("bon")\nelse:\n print("hon")', 'n=input()\nif n[-1]=="0" or n[-1]=="1" or n[-1]=="6" or n[-1]=="8":\n print("pon")\nelif n[-1]=="3":\n print("bon")\nelse:\n print("hon")'] | ['Wrong Answer', 'Accepted'] | ['s944656526', 's837629814'] | [9100.0, 9044.0] | [22.0, 22.0] | [121, 140] |
p02675 | u676939443 | 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] == '3':\n print('bon')\nelif n[-1] == '0' or n[-1] == '1' or n[-1] == '6' or n[-1] == '8':\n print(n[-1])\n print('pon')\nelse:\n print('hon')", "n = 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')\... | ['Wrong Answer', 'Accepted'] | ['s072399718', 's717079927'] | [9112.0, 9132.0] | [23.0, 20.0] | [170, 153] |
p02675 | u681047290 | 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\na = []\nfor l in sys.stdin:\n a.append(int(l))\nif (a % 10 == 3):\n print('bon')\nelif (a % 10 == 0) or (a % 10 == 1) or (a % 10 == 6) or (a % 10 == 8):\n print('pon')\nelse:\n print('hon')", "import sys\n#a = []\n#for l in sys.stdin:\n# a.append(int(l))\na = int(input())\nif a % 10 == 3:\n ... | ['Runtime Error', 'Accepted'] | ['s044207112', 's119907103'] | [9192.0, 9048.0] | [21.0, 21.0] | [201, 211] |
p02675 | u684120680 | 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... | ["def main():\n s, = map(int, open(0).read().split())\n\n first_place_of_s = s % 10\n\n if first_place_of_s in [2, 4, 5, 7, 9]:\n ans = 'hon'\n elif first_place_of_s in [0, 1, 6, 8]:\n ans = 'pon'\n else:\n ans = 'bon'\n\n ans = ''\n print(ans)\n return()\n\n\nif __name__ ==... | ['Wrong Answer', 'Accepted'] | ['s039561045', 's180960597'] | [9076.0, 9036.0] | [23.0, 20.0] | [325, 327] |
p02675 | u685244071 | 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%10 == 3:\n print('bon')\nelif a%10 == 0 or a%10 ==1 or a%10 ==6 or a%10 ==8:\n print('pon')\nelse:\n print('hon')\n", "a = input()\nif a%10 == 3:\n print('bon')\nelif a&10 == 0 or 1 or 6 or 8:\n print('pon')\nelse:\n print('hon')", "a = input()\nif a%10 == 3:\n print('bon')\nelif a%10 == 0 or... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s121678470', 's321905091', 's786338884', 's915355716'] | [9108.0, 9040.0, 8980.0, 9076.0] | [22.0, 22.0, 24.0, 23.0] | [129, 107, 108, 134] |
p02675 | u688203790 | 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\nl = [int(x) for x in str(N)]\n\n\nif l[-1]=="3":\n print(\'bon\')\nelif l[-1]=="0" or l[-1]=="1" or l[-1]=="6" or l[-1]=="8":\n print(\'pon\')\nelse:\n print(\'bon\')', "N = input()\n\nl = [int(x) for x in str(N)]\n\n\nif int(l[-1])==3:\n print('bon')\nelif int(l[-1])==0 or int(l[-1])==1 or... | ['Wrong Answer', 'Accepted'] | ['s437141616', 's045240110'] | [9068.0, 9124.0] | [24.0, 22.0] | [215, 230] |
p02675 | u688383942 | 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 int(N)%10 == 3:\n print('bon')\nelif int(N)%10 == (0 or 1 or 6 or 8):\n print('pon')\nelse:\n print('hon')", "N = input()\nprint(int(N)%10)\nif int(N)%10 == 3:\n print('bon')\nelif int(N)%10 == 0 or int(N)%10 == 1 or int(N)%10 == 6 or int(N)%10 == 8:\n print('pon')\nelse:\n print('ho... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s169242490', 's488542851', 's158743328'] | [9056.0, 9180.0, 9072.0] | [23.0, 22.0, 21.0] | [125, 179, 162] |
p02675 | u690833702 | 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... | ["def main():\n a = int(input())\n x = a % 10\n \n if x == 2 or 4 or 5 or 7 or 9:\n print('hon')\n return\n elif x == 0 or 1 or 6 or 8:\n print('pon')\n return\n else:\n print('bon')\n \nmain()", "def main():\n a = int(input())\n \n i = a % 10\n \n if i == 2 or 4 or 5 or 7 or 9:\n print('h... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s086237515', 's117014359', 's232028048'] | [9100.0, 8924.0, 9040.0] | [30.0, 25.0, 26.0] | [200, 199, 183] |
p02675 | u691558266 | 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 len(s) <= k:\n print(s)\nelse:\n print(s[:k+1]+'...')", 'n = input()\n\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = 3\nif n == bon:\n print(bon)\nelif n in hon:\n print(hon)\nelif n in pon:\n print(pon)', 'k = int(input())\ns = input()\n\nif len(s) <= k:\n print(s)\... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s124947571', 's181041200', 's343517574', 's572526979', 's701266776', 's751537987', 's978491512'] | [9028.0, 9028.0, 9104.0, 9100.0, 8940.0, 9088.0, 9100.0] | [23.0, 24.0, 25.0, 30.0, 20.0, 26.0, 27.0] | [89, 142, 83, 151, 129, 156, 184] |
p02675 | u691576679 | 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=input()\na=a.split()\nl1=int(a[0])\nl2=int(a[1])\nh=int(a[2])\nm=int(a[3])\n\nde1=math.radians(360*h/12+0.5*m)\nde2=math.radians(360*m/60)\n\n#print(de1,de2)\n\nx1=l1*math.cos(de1)\ny1=l1*math.sin(de1)\n\n#print(x1,y1)\n\nx2=l2*math.cos(de2)\ny2=l2*math.sin(de2)\n\n#print(x2,y2)\n\nl_2=pow(x1-x2,2)+p... | ['Runtime Error', 'Accepted'] | ['s467760401', 's093159348'] | [9148.0, 9188.0] | [24.0, 20.0] | [330, 197] |
p02675 | u692054751 | 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\nN, M = [int(s) for s in input().split()]\nedge = [[int(s) - 1 for s in input().split()] for _ in range(M)]\ngraph = [[] for _ in range(N)]\nfor i, j in edge:\n graph[i].append(j)\n graph[j].append(i)\n\ndq = deque([0])\nvisited = [False] * N\nvisited[0] = True\nparent = [0]*N\nw... | ['Runtime Error', 'Accepted'] | ['s058594082', 's028643225'] | [9392.0, 9012.0] | [24.0, 21.0] | [697, 122] |
p02675 | u692498898 | 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]==2 or n[-1]==4 or n[-1]==5 or n[-1]==7 or n[-1]==9:\n print('hon')\nelif n[-1]==0 or n[-1]==1 or n[-1]==6 or n[-1]==8:\n print('pon')\nelse:\n print('bon')", "n=input()\nif n[-1]=='2' or n[-1]=='4' or n[-1]=='5' or n[-1]=='7' or n[-1]=='9':\n print('hon')\nelif n[-1]=='0' or n[-1]=='1' or n[-1... | ['Wrong Answer', 'Accepted'] | ['s995171231', 's969541763'] | [9120.0, 9116.0] | [23.0, 23.0] | [172, 190] |
p02675 | u693333798 | 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[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")', 'N = str(input())\nif N[len(N)-1] == "3" :\n print("bon")\nif N[len(N)-1] == "0" or N[len(N)-1] =="1" or N[len(N)-1] =="6" or N[len(N)-1] == "8"... | ['Wrong Answer', 'Accepted'] | ['s377657210', 's448999723'] | [9044.0, 9092.0] | [24.0, 23.0] | [163, 288] |
p02675 | u693410938 | 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 = N[-1]\n\nif last == "2":\n ans = "hon"\nelif last == "4":\n ans = "hon"\nelif last == "5":\n ans = "hon"\nelif last =="7":\n ans = "hon"\nelif last == "9"\n ans = "hon"\nelif last == "0":\n ans = "pon"\nelif last == "1":\n ans = "pon"\nelif last == "6":\n ans = "pon"\nelif last == "8":\n ... | ['Runtime Error', 'Accepted'] | ['s989665953', 's214840079'] | [8964.0, 9160.0] | [24.0, 22.0] | [341, 118] |
p02675 | u694665829 | 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... | ['c=0\nfor i in range(10**7):\n if i >10000:\n c+=1\nprint(c)', 'N=int(input())\nh=[2,4,5,7,9]\np=[0,1,6,8]\nb=[3]\nif N%10 in h:\n print("hon")\nif N%10 in p:\n print("pon")\nif N%10 in b:\n print("bon")'] | ['Wrong Answer', 'Accepted'] | ['s244651246', 's808042777'] | [9000.0, 9176.0] | [1103.0, 22.0] | [59, 139] |
p02675 | u694924053 | 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())\nlength = len(str(N))\nresult = 0\nhon = [2,4,5,7,9]\npon = [0,1,6,8]\nbon = 3\n\n\nfor _ in range(length-1):\n result = N % 10\n\nprint(result)\nif result in hon:\n print("hon")\nelif result in pon:\n print("pon")\nelse:\n print("bon")', 'N = int(input())\nif N < 10:\n N += 10\n\nleng... | ['Wrong Answer', 'Accepted'] | ['s515755222', 's420791143'] | [9192.0, 9208.0] | [21.0, 23.0] | [248, 293] |
p02675 | u695329583 | 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 = list(input())\nn = list(map(int,n))\nprint(n)\nprint(n[-1])\nif n[-1] == 3 :\n print('bon')\nelif n[-1] == 0 or 1 or 6 or 8 :\n print('pon')\nelse :\n print('hon')", "n = list(input())\nn = list(map(int,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 ... | ['Wrong Answer', 'Accepted'] | ['s415695216', 's852285620'] | [9176.0, 9120.0] | [26.0, 26.0] | [167, 172] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.