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
|
---|---|---|---|---|---|---|---|---|---|---|
p03323 | u675919123 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['#coding:utf-8\n\nA,B = list(map(int, input().split()))\n\nif A > 8 or B > 8:\n print(":(")\nelse:\n print("Yey!")', '#coding:utf-8\n\nA,B = list(map(int, input().split()))\n\nif A <= 8 and B <= 8:\n print("Yey!")\nelse:\n print(":(")\n', "#coding:utf-8\n\nA,B = list(map(int, input().split()))\n\nspace = 16 - min(A,B)\n\nif space >= 2 * (max(A,B)-min(A,B)):\n print('Yey!')\nelse:\n print(':(')", "#coding:utf-8\n\nA,B = list(map(int, input().split()))\n\nif A > 8 or B > 8:\n print(':(')\nelse:\n print('Yey!')", "#coding:utf-8\n\nA,B = list(map(int, input().split()))\n\nif A <= 8 and B <= 8:\n print('Yey!')\nelse:\n print(':(')", '#coding:utf-8\n\nA,B = list(map(int, input().split()))\n\nif A > 8 or B > 8:\n print(":(")\nelse:\n print("Yay!")'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s020162109', 's073315369', 's335723116', 's790569759', 's919307144', 's261777631'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 19.0, 17.0, 17.0] | [112, 116, 153, 112, 115, 112] |
p03323 | u677440371 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["a = int(input())\nb = int(input())\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')", "a, b = map(int, input().split())\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')"] | ['Runtime Error', 'Accepted'] | ['s029764381', 's339205260'] | [2940.0, 2940.0] | [17.0, 17.0] | [95, 94] |
p03323 | u681323954 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a,b = map(int, input().split())\nif a<= 8 and b <= 8:\n print("Yay!")\nelse:\nprint(":(")', 'a,b = map(int, input().split())\nif a<= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")\n'] | ['Runtime Error', 'Accepted'] | ['s636052571', 's883113112'] | [2940.0, 2940.0] | [17.0, 18.0] | [86, 89] |
p03323 | u683673895 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['d, n = map(int, input().split())\nif d != 0 and d != 1 and d != 2:\n print("Invalid numbers are entered.")\nelif n <= 0 or n >= 101:\n print("Invalid numbers are entered.")\nelse:\n list = []\n for i in range(100):\n list.append(100**d * (i + 1))\n print(list[n - 1])\n', 'a, b = map(int, input().split())\nif a <= 0 or a >= 17:\n print("Invalud numbers are entered.")\nelif a + b >= 17:\n print("Invalud numbers are entered.")\nelif a >= 9 or b >= 9:\n print(":(")\nelse:\n print("Yay!")'] | ['Wrong Answer', 'Accepted'] | ['s034570060', 's250408617'] | [3060.0, 2940.0] | [17.0, 18.0] | [281, 219] |
p03323 | u688055251 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["import sys\n\n\ndef solve(n):\n if a <= 8 and b <= 8 :\n return 'yay'\n else:\n return ':('\n\n\ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n return int(line)\n\ndef main():\n n = readQuestion()\n answer = solve(n)\n print(answer)\n \nif __name__ == '__main__':\n main()", "import sys\n\ndef solve(n):\n if a <= 8 and b <= 8 :\n return 'yay'\n else:\n return ':('\ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n return int(line)\n\ndef main():\n n = readQuestion()\n answer = solve(n)\n print(answer)\n \nif __name__ == '__main__':\n main()", "import sys\n\ndef solve(a,b):\n if a <= 8 and b <= 8 :\n return 'yay'\n else:\n return ':('\ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n return int(line)\n\ndef main():\n n = readQuestion()\n answer = solve(n)\n print(answer)\n \nif __name__ == '__main__':\n main()", "import sys\n\ndef solve(a, b):\n if a <= 8 and b <= 8 :\n return 'yay'\n else:\n return ':('\n \ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n [str_a, str_b] = line.split(' ')\n return (int(str_a), int(str_b))\n\ndef main():\n a, b = readQuestion()\n answer = solve(a, b)\n print(answer)\n \nif __name__ == '__main__':\n main()", "import sys\n\ndef solve(a, b):\n if a <= 8 and b <= 8 :\n return 'Yay!'\n else:\n return ':('\n \ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n [str_a, str_b] = line.split(' ')\n return (int(str_a), int(str_b))\n\ndef main():\n a, b = readQuestion()\n answer = solve(a, b)\n print(answer)\n \nif __name__ == '__main__':\n main()"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s103382244', 's351025474', 's370857986', 's376533226', 's787938170'] | [3060.0, 3052.0, 3056.0, 3060.0, 3060.0] | [17.0, 18.0, 17.0, 17.0, 17.0] | [469, 305, 307, 371, 372] |
p03323 | u689835643 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['A - Happy Birthday!', 'x, y = map(int, input().split())\nif x <= 8 and y <= 8:\n print("Yay!")\nelse:\n print(":(")\n'] | ['Runtime Error', 'Accepted'] | ['s551396339', 's614013053'] | [2940.0, 2940.0] | [17.0, 18.0] | [19, 95] |
p03323 | u691274427 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['A, B = map(int, input().split(\' \'))\n\nif (A <= 8) and (B <= 8):\n print("Yey!")\nelse:\n print(":(")', '\nA, B = map(int, input().split(\' \'))\n\nif (A <= 8) and (B <= 8):\n print("Yay!")\nelse:\n print(":(")'] | ['Wrong Answer', 'Accepted'] | ['s138819867', 's393082923'] | [2940.0, 2940.0] | [19.0, 17.0] | [102, 103] |
p03323 | u693303066 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["a,b=input().split()\na=int(a)\nb=int(b)\n\nif a <= 8 and b <= 8:\n print('YES')\n\nelse:\n print(':(')\n", "a,b=input().split()\na=int(a)\nb=int(b)\n\nif a <= 8 and b <= 8:\n print('Yay!')\n\nelse:\n print(':(')\n"] | ['Wrong Answer', 'Accepted'] | ['s801377025', 's332092291'] | [2940.0, 2940.0] | [17.0, 17.0] | [101, 102] |
p03323 | u698479721 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["A = int(input())\nB = int(input())\nif A<=8 and B<=8:\n print('Yay!')\nelse:\n print(':(')", "A = int(input())\nB = int(input())\nif A<=8 and B<=8:\n print('Yay!')\nelse:\n print(':(')", "A,B = map(int, input().split())\nif A<=8 and B<=8:\n print('Yay!')\nelse:\n print(':(')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s085290944', 's619803537', 's737900070'] | [2940.0, 2940.0, 2940.0] | [20.0, 17.0, 17.0] | [87, 87, 85] |
p03323 | u698501671 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["num = list(map(int,input()\n.split()))\nif num[0]>num[1]:\n bignum = num[0]\nelse :\n bignum = num[1]\n\nif bignum <= 8:\n print('Yey!')\nelse :\n print(':(')", "num = list(map(int,input()\n.split()))\nif num[0]>num[1]:\n bignum = num[0]\nelse :\n bignum = num[1]\n\nif bignum <= 8:\n print('Yey!')\nelse :\n print(':(')", "num = list(map(int,input()\n.split()))\nif num[0]>num[1]:\n bignum = num[0]\nelse :\n bignum = num[1]\n\nif bignum <= 8:\n print('Yay!')\nelse :\n print(':(')"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s389428079', 's537648496', 's030915695'] | [3060.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [161, 161, 161] |
p03323 | u701318346 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['D, N = map(int, input().split())\n\nans = N * (100 ** D)\n\nif N == 100:\n\tans += 100 ** D\n\nprint(ans)', "A, B = map(int, input().split())\nif max(A, B) <= 8:\n print('Yay!')\nelse:\n print(':(')"] | ['Wrong Answer', 'Accepted'] | ['s991957887', 's383923855'] | [2940.0, 2940.0] | [17.0, 17.0] | [97, 91] |
p03323 | u709935916 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['A=int(input())\nB=int(input())\n\nif A>8 or B>8:\n print(":(")\nelse:\n print("Yay!")', 'A=int(input())\nB=int(input())\n\nif A>8 or B>8 or A<0 or B<0:\n print(":(")\nelse:\n print("Yay!")', 'a=int(input())\nb=int(input())\n\nif a>8 or b>8 or a<0 or b<0:\n print(":(")\nelse:\n print("Yay!")', 'a,b=map(int,input().split())\n\nif a>8 or b>8 or a<0 or b<0:\n print(":(")\nelse:\n print("Yay!")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s402313852', 's845474164', 's882030216', 's470622161'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [81, 95, 95, 94] |
p03323 | u710952331 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['A, B = map(int, input().split())\n\nif A>=8 and B>=8:\n print("Yay!")\nelse:\n print(":(")', 'A, B = map(int, input().split())\n\nif A<=8 and B<=8:\n print("Yay!")\nelse:\n print(":(")'] | ['Wrong Answer', 'Accepted'] | ['s198025460', 's339228992'] | [2940.0, 2940.0] | [22.0, 17.0] | [87, 87] |
p03323 | u711539583 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["a,b=map(int,input())\nif a < 9 and b < 9:\n print('Yay!')\nelse:\n print(':(')", "a,b=map(int,input().split())\nif a < 9 and b < 9:\n print('Yay!')\nelse:\n print(':(')\n"] | ['Runtime Error', 'Accepted'] | ['s269511325', 's383250501'] | [2940.0, 2940.0] | [18.0, 17.0] | [76, 85] |
p03323 | u712868001 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['D,N=list(map(int, input().split()))\nb=10**D\na=b*N\nprint(a)', "A,B= map(int, input().split())\nif A<=8 and B<=8;\n print('Yay!')\nelse:\n print(':(')", 'A,B= map(int, input().split())\nif A<=8 and B<=8:\n print(Yay!)\nelse:\n print(:()', 'D,N=list(map(int, input().split()))\nprint(10**D*N)', "A,B= map(int, input().split())\nif A<=8 and B<=8:\n print('Yay!')\nelse:\n print(':(')"] | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s493063565', 's726603251', 's790386771', 's998072180', 's492964053'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0] | [58, 88, 84, 50, 88] |
p03323 | u714587753 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['s = input().strip()\nss = s.split()\nd = int(ss[0])\nn = int(ss[1])\ni = 1\nwhile 1:\n\tx = i\n\tc = 0\n\twhile x % 100 == 0:\n\t\tx //= 100\n\t\tc += 1\n\tif c == d:\n\t\tn -= 1\n\t\tif n == 0:\n\t\t\tprint(i)\n\t\t\tbreak\n\ti += 1\n', 's = input().strip()\nss = s.split()\na = int(ss[0])\nb = int(ss[1])\nif a > 8 or b > 8:\n print(":(")\nelse:\n print("Yay!")'] | ['Wrong Answer', 'Accepted'] | ['s370940433', 's701803869'] | [2940.0, 2940.0] | [2104.0, 17.0] | [199, 119] |
p03323 | u716649090 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a,b=map(int,input().split())\nif a==0:\n print(b)\nelif a==1:\n if b==100:\n print((100**a)*(b+1))\n else:\n print((100**a)*b)\nelse:\n if b==100:\n print((100**a)*(b+1))\n else:\n print((100**a)*b)', 'A, B = map(int, input().split())\nprint("Yay!" if A<=8 and B<=8 else ":(")'] | ['Wrong Answer', 'Accepted'] | ['s183014194', 's172013577'] | [3060.0, 2940.0] | [17.0, 17.0] | [203, 73] |
p03323 | u718706790 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["a, b = map(int, input().split())\n\nif a <= 8 and b <= 8:\n print('Yay')\nelse:\n print(':(')", "a, b = map(int, input().split())\n\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')"] | ['Wrong Answer', 'Accepted'] | ['s239382492', 's724616644'] | [2940.0, 2940.0] | [17.0, 17.0] | [90, 91] |
p03323 | u721316601 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["a = int(input())\nb = int(input())\n\nif a > 8 or b > 8:\n print(':(')\nelse:\n print('Yay!')\n", "a = int(input())\nb = int(input())\n\nif a > 8 or b > 8:\n print(':(')\nelse:\n print('Yay!')", "a, b = list(map(int, input().split()))\n \nif a > 8 or b > 8:\n print(':(')\nelse:\n print('Yay!')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s095518929', 's625873535', 's533312413'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 20.0] | [94, 93, 99] |
p03323 | u723590269 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a,b = map(int,input().split())\n\nflg = 1 \n\nif (a <= 8) and (b <= 8):\n flg = 0\nelse:\n flg = 1\n \nif flg == 0:\n print("Yey!")\nelse:\n print(":(")', 'a,b = map(int,input().split())\n\nflg = 1 \n\nif (a <= 8) and (b <= 8):\n flg = 0\nelse:\n flg = 1\n \nif flg == 0:\n print("Yay!")\nelse:\n print(":(")'] | ['Wrong Answer', 'Accepted'] | ['s645578341', 's776749466'] | [2940.0, 2940.0] | [17.0, 17.0] | [179, 179] |
p03323 | u724563664 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['#coding:utf-8\nimport itertools\nimport numpy as np\n\nN,M = map(int,input().split())\ncakeList = [list(map(int,input().split())) for i in range(N)]\ncakeList = np.array(cakeList)\nnumList = [i for i in range(N)]\n\n\nmaxv = 0\nif M < N/2:\n combi = list(itertools.combinations(numList,M))\n for indexs in combi:\n cakes = [cakeList[i] for i in indexs]\n cakes = np.array(cakes)\n total = [abs(np.sum(cakes[:,i])) for i in range(3)]\n total = sum(total)\n maxv = max(total,maxv)\n print(maxv)\n\n\nelse:\n M = N - M\n combi = list(itertools.combinations(numList,M))\n BDP = [np.sum(cakeList[:,i]) for i in range(3)]\n for indexs in combi:\n cakes = [cakeList[i] for i in indexs]\n cakes = np.array(cakes)\n total = [abs(BDP[i] - np.sum(cakes[:,i])) for i in range(3)]\n total = sum(total)\n maxv = max(maxv,total)\n print(maxv)\n', '#coding:utf-8\nA,B = map(int, input().split())\n\nif A <= 8 and B <= 8:\n print("Yay!")\n\nelse:\n print(":(")\n'] | ['Runtime Error', 'Accepted'] | ['s650884404', 's100887300'] | [20544.0, 2940.0] | [672.0, 18.0] | [890, 110] |
p03323 | u726769307 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a,b=int(input())\nprint("Yay!" if a<=8 and b<=8 else ":(")', 'a,b=map(int,input().split())\nprint("Yay!" if a<=8 and b<=8 else ":(")'] | ['Runtime Error', 'Accepted'] | ['s921925481', 's208737232'] | [2940.0, 2940.0] | [18.0, 17.0] | [57, 69] |
p03323 | u729707098 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a = int(input())\nb = int(input())\nif a<9 and b<9: print("Yey!")\nelse: print(":(")', 'a,b = (int(input()))\nif a<9 and b<9: print("Yay!")\nelse: print(":(")', 'a,b = (int(i) for i in input().split())\nif a<9 and b<9: print("Yay!")\nelse: print(":(")\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s958289374', 's998899437', 's857354771'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [81, 68, 88] |
p03323 | u731253724 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['ip = input().split()\nusdata = []\nD = int(ip[0])\nN = int(ip[1])\nflag = 0\n\nb_number = 100 ** D\na_number = b_number * N\ntester = a_number % 100 ** (D + 1)\n\nif tester == 0:\n a_number += 100 ** D\n\nprint(a_number)', 'ip = input().split()\nusdata = []\nusdata.append(int(ip[0]))\nusdata.append(int(ip[1]))\nflag = 0\n\nfor i in usdata:\n if i >= 9:\n flag = 1\n else:\n pass\n\nif flag == 1:\n print(":(")\nelse:\n print("Yay!")\n'] | ['Wrong Answer', 'Accepted'] | ['s118535524', 's408573521'] | [3060.0, 2940.0] | [17.0, 17.0] | [210, 222] |
p03323 | u731866445 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a = int(input())\nb = int(input())\n\nif a+b <= 16:\n print("Yay!")\nelse:\n print(":(")\n', 'a,b = map(int,input().split())\n\nif a+b <= 16 and a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")'] | ['Runtime Error', 'Accepted'] | ['s829225806', 's462511347'] | [2940.0, 2940.0] | [17.0, 17.0] | [89, 107] |
p03323 | u732061897 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["A,B = map(int,input().split())\nif A < 9 and B < 9:\n print('Yay')\nelse:\n print(':(')", "A,B = map(int,input().split())\nif A < 9 and B < 9:\n print('Yay!')\nelse:\n print(':(')"] | ['Wrong Answer', 'Accepted'] | ['s384561604', 's874925413'] | [2940.0, 2940.0] | [17.0, 17.0] | [89, 90] |
p03323 | u732730677 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a, b = map(int, input().split())\nif a > 8 or b >8:\n print("Yay!")\nelse:\n print(":(")', 'a, b = map(int, input().split())\nif a > 8 or b >8:\n print(":(")\nelse:\n print("Yay!")\n'] | ['Wrong Answer', 'Accepted'] | ['s092722253', 's446072448'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 87] |
p03323 | u732870425 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a, b = int(input())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")', 'a, b = map(int,input().split())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")'] | ['Runtime Error', 'Accepted'] | ['s944976038', 's032503404'] | [2940.0, 2940.0] | [18.0, 18.0] | [77, 89] |
p03323 | u733608212 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a,b = map(int, input().split())\n\nif a >= 9 or b >= 9:\n print(":(")\nelse:\n print("Yes")', 'a,b = map(int, input().split())\n\nif a >= 9 or b >= 9:\n print(":(")\nelse:\n print("Yay!")'] | ['Wrong Answer', 'Accepted'] | ['s775048903', 's850668168'] | [2940.0, 2940.0] | [17.0, 18.0] | [92, 93] |
p03323 | u734876600 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a, b = map(int, input().split())\n\nif max(a,b) > 8:\n print("Yay!")\nelse:\n print(":(")', 'a, b = map(int, input().split())\n\nif max(a,b) <= 8:\n print("Yay!")\nelse:\n print(":(")'] | ['Wrong Answer', 'Accepted'] | ['s590293961', 's836966848'] | [3060.0, 2940.0] | [20.0, 17.0] | [90, 91] |
p03323 | u735008991 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['A, B = map(int, input().split())\nprint("Yay!" if A <= 8 and B <= 8)\n', 'A, B = map(int, input().split())\nprint("Yay!" if A <= 8 and B <= 8 else ":(")\n'] | ['Runtime Error', 'Accepted'] | ['s551416170', 's850859260'] | [2940.0, 3064.0] | [17.0, 23.0] | [68, 78] |
p03323 | u736729525 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['A, B = [int(x) for x in input().split(" ")]\nif max(A, B) > 8:\n print(":(")\nelse:\n print("Yey!")', 'def readints():\n return [int(x) for x in input().split()]\n\nA, B = readints()\n\nif max(A, B) > 8:\n print(":(")\nelse:\n print("Yay!")\n'] | ['Wrong Answer', 'Accepted'] | ['s920915071', 's262358590'] | [2940.0, 2940.0] | [18.0, 18.0] | [97, 139] |
p03323 | u737715061 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["A, B = map(int, input().split())\nif max(A, B) > 8:\n print('Yay!')\nelse:\n print(':(')", "A, B = map(int, input().split())\nif max(A, B) > 8:\n print('Yay!')\nelse:\n print(':(')", "A, B = map(int, input().split())\nif max(A, B) <= 8:\n print('Yay!')\nelse:\n print(':(')\n"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s200971784', 's248723470', 's456787885'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [86, 86, 88] |
p03323 | u738898077 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a,b = map(int,input().split())\nif a<9 and b<9:\n print("Yes")\nelse:\n print("No")', 'a,b = map(int,input().split())\nprint("Yay!") if a<9 and b<9 else print(":(")'] | ['Wrong Answer', 'Accepted'] | ['s513390939', 's162237897'] | [2940.0, 2940.0] | [17.0, 17.0] | [81, 76] |
p03323 | u740284863 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['A,B = map(int,input().split())\nif A <= 8 & B <= 8:\n print("Yay!")\nelse:\n print(":(")\n', 'A,B = map(int,input().split())\nif A <= 8 and B <= 8:\n print("Yay!")\nelse:\n print(":(")\n'] | ['Wrong Answer', 'Accepted'] | ['s599648678', 's276715680'] | [2940.0, 2940.0] | [17.0, 17.0] | [91, 93] |
p03323 | u741080884 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["import sys\n\n\ndef solve(a,b):\n if a >= 9 or b >= 9:\n return ':c'\n else:\n return 'yay!'\n\ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n [str_a, str_b] = line.split(' ')\n return (int(str_a), int(str_b))\n\ndef main():\n a, b = readQuestion()\n answer = solve(a, b)\n print(answer)\n \nif __name__ == '__main__':\n main()", "import sys\n\n\ndef solve(a,b):\n if a >= 9 or b >= 9:\n return ':('\n else:\n return 'Yay!'\n\ndef readQuestion():\n line = sys.stdin.readline().rstrip()\n [str_a, str_b] = line.split(' ')\n return (int(str_a), int(str_b))\n\ndef main():\n a, b = readQuestion()\n answer = solve(a, b)\n print(answer)\n \nif __name__ == '__main__':\n main()"] | ['Wrong Answer', 'Accepted'] | ['s216827531', 's365083392'] | [3060.0, 3060.0] | [18.0, 17.0] | [526, 526] |
p03323 | u743164083 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['D, N = map(int, input().split())\nif N < 100:\n print(N * 100 ** D)\nelse:\n print(101 * 100 ** D)', 'a, b = map(int, input().split())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")'] | ['Wrong Answer', 'Accepted'] | ['s254177591', 's128985915'] | [9092.0, 2940.0] | [23.0, 17.0] | [100, 90] |
p03323 | u743384563 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['A,B = map(int,input().split())\n\nif (A <= 8 )and (B <= 8):\n print("Yey!")\nelse:\n print(":(")', 'A,B = map(int,input().split())\n\nif A <= 8 and B <= 8:\n print("Yey!")\nelse:\n print(":(")', 'A,B = map(int,input().split())\n\nif A <= 8 and B <= 8:\n print("Yay!")\nelse:\n print(":(")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s860347613', 's997434937', 's064984658'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [93, 89, 89] |
p03323 | u744563031 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['D,N=map(int,open(0).read().split());print((N+N//100)*(100**D))', "A,B=map(int,open(0).read().split());print('Yay!' if A<=8 and B<=8 else ':(')"] | ['Wrong Answer', 'Accepted'] | ['s877849848', 's248222214'] | [3060.0, 2940.0] | [18.0, 17.0] | [62, 76] |
p03323 | u744920373 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["A, B = map(int,input().split())\n\nif A < 9 and b < 9:\n print('Yay!')\nelse:\n print(':(')", 'D, N = map(int,input().split())\n\nn = 1\n\nfor i in range(1, D+1):\n n *= 100\nif N == 100:\n N = 101\nprint(n * N)', "A, B = map(int,input().split())\n\nif A < 9 and B < 9:\n print('Yay!')\nelse:\n print(':(')"] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s630558484', 's696424689', 's843286504'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [100, 122, 100] |
p03323 | u745997547 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["A, B = list(map(int, input()))\nif A<9 and B<9:\n print('Yay!')\nelse:\n print(':(')\n", "A, B = list(map(int, input().split()))\nif A<9 and B<9:\n print('Yay!')\nelse:\n print(':(')\n"] | ['Runtime Error', 'Accepted'] | ['s507938056', 's921431132'] | [2940.0, 2940.0] | [17.0, 17.0] | [87, 95] |
p03323 | u746793065 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a, b = map(int, input().split())\nif a <= 8 or b <= 8:\n print("Yay!")\nelif:\n print(":(")\n', 'a, b = map(int, input().split())\nif a > 8 or b > 8:\n print(":(")\nelif:\n print("Yay!")\n', 'a, b = map(int, input().split())\nif a <= 8 and b <= 8:\n print("Yay!")\nelif:\n print(":(")\n', 'a, b = int(input().split())\nif a > 8 or b > 8:\n print(":(")\nelif:\n print("Yay!")', 'a, b = map(int, input().split())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")\n'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s698722203', 's710265208', 's736590705', 's886216090', 's234976809'] | [8952.0, 8872.0, 8948.0, 8940.0, 9144.0] | [24.0, 24.0, 25.0, 21.0, 26.0] | [90, 88, 91, 82, 91] |
p03323 | u752700460 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['import numpy as np\nd, n = list(map(int, input().split()))\n\nprint(pow(100, d)*n)', 'a, b = list(map(int, input().split()))\n\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")\n'] | ['Wrong Answer', 'Accepted'] | ['s428379396', 's942720680'] | [12508.0, 2940.0] | [148.0, 17.0] | [79, 102] |
p03323 | u754511616 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["a,b=list(map(int,input().split()))\nif a<=8 and b<=8:\n print('Yay!')\nesle :\n print(':(')", "a,b=list(map(int,input().split()))\nif a<=8 and b<=8:\n print('Yay!')\nelse :\n print(':(')"] | ['Runtime Error', 'Accepted'] | ['s068930221', 's269428877'] | [8884.0, 9132.0] | [21.0, 27.0] | [89, 89] |
p03323 | u756693875 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['d,n = map(int,input().split())\n\nif n == 100:\n a = 99\nelse:\n a = n\n\nm = 100 ** d\nprint(a * m)', 'd,n = map(int,input().split())\n\nif n == 100:\n a = 101\nelse:\n a = n\n\nm = 100 ** d\nprint(a * m)', "a,b = map(int,input().split())\n\nif a > 8 or b > 8:\n print(':(')\nelse:\n print('Yay!')"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s006012061', 's471688795', 's334969330'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0] | [98, 99, 90] |
p03323 | u756782069 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["A = int(input())\nB = int(input())\n\nif A <= 8 and B <= 8:\n print('Yay!')\nelse:\n print(':(')", "A, B = map(int, input().split())\n\nif A <= 8 and B <= 8:\n print('Yay!')\nelse:\n print(':(')"] | ['Runtime Error', 'Accepted'] | ['s474903221', 's890375478'] | [2940.0, 2940.0] | [18.0, 17.0] | [96, 95] |
p03323 | u759360502 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a, b = map(int, input().split())\n\nif a <= 8 & b <= 8:\n print("Yay!")\nelse:\n print(":(")', 'a, b = map(int, input().split())\nprint(a, b)\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")', 'a, b = map(int, input().split())\nif a <= 8 and b <= 8:\n print("Yay!")\nelse:\n print(":(")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s329023614', 's868611111', 's906516692'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [93, 106, 94] |
p03323 | u759412327 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a = list(map(int,input()))\nif a[0]<=8 and a[1]<=8:\n print("Yay!")\nelse:\n print(":(")', 'a = list(map(int,input()))\nprint("Yay!") if a[0]<=8 and a[1]<=8 else print(":(")', "input()\nprint(sum([bin(i)[::-1].index('1') for i in map(int,input().split())]))", 'if max(map(int,input().split()))<=8:\n print("Yay!")\nelse:\n print(":(")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s243777722', 's682496492', 's808301451', 's281620739'] | [2940.0, 2940.0, 2940.0, 9148.0] | [17.0, 17.0, 18.0, 28.0] | [86, 80, 79, 72] |
p03323 | u759651152 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["#-*-coding:utf-8-*-\n\ndef main():\n \n A, B = map(int, input().split())\n\n if A > 8 or B > 8:\n print(':(')\n else:\n print('Yay')\n \nif __name__ == '__main__':\n main()", "#-*-coding:utf-8-*-\n\ndef main():\n \n A, B = map(int, input().split())\n\n if A > 8 or B > 8:\n print(':(')\n else:\n print('Yay!')\n \nif __name__ == '__main__':\n main()"] | ['Wrong Answer', 'Accepted'] | ['s194591611', 's037103227'] | [2940.0, 2940.0] | [17.0, 17.0] | [199, 200] |
p03323 | u762540523 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a,b=map(int,input().split());print("Y:a(y !"[a>8or8<b::2])', 'a,b=map(int,input().split());print("Y:a(y !"[a>8 or 8<b::2])'] | ['Runtime Error', 'Accepted'] | ['s923201577', 's372957228'] | [2940.0, 2940.0] | [18.0, 18.0] | [58, 60] |
p03323 | u766393261 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['A,B=map(int,input().split)\nif A>8 or B>8:\n print(":(")\nelse:\n print("Yay!")', 'D,N=map(int,input()split())\n\nif N<100:\n print(100**D*N)\nelse:\n print(100**D*101)\n', 'D,N=map(int.input()split())\n\nif N<100:\n print(pow(100,D)*N)\nelse:\n print(pow(100,D)*101)', 'A,B=map(int,input().split)\nif (A>8) or (B>8):\n print(":(")\nelse:\n print("Yay!")', 'D,N=map(int,input()split())\n\nif N<100:\n print(pow(100,D)*N)\nelse:\n print(pow(100,D)*101)\n', 'A,B=map(int,input().split())\nif (A>8) or (B>8):\n print(":(")\nelse:\n print("Yay!")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s323636656', 's325478804', 's647647206', 's761919948', 's955649730', 's453148309'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [77, 83, 90, 81, 91, 83] |
p03323 | u766566560 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["A, B = map(int, input().split())\n\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')", "\nCopy\nCopy\nA, B = map(int, input().split())\n \nif A <= 8 and B <= 8:\n print('Yay!')\nelse:\n print(':(')", "A, B = map(int, input().split())\n \nif A <= 8 and B <= 8:\n print('Yay!')\nelse:\n print(':(')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s346586995', 's419170370', 's818160771'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [91, 103, 92] |
p03323 | u769411997 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a, b = map(int, input().split())\nif a >= 9 or b >= 9:\n print(":(")\nelse:\n print("Yay")', 'a, b = map(int, input().split())\nif a >= 9 or b >= 9:\n print(":(")\nelif a <= 8 and b <= 8:\n print("Yay")', 'a, b = map(int, input().split())\nif a >= 9 or b >= 9:\n print(":(")\nelse:\n print("Yay!")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s230874384', 's565790218', 's439731222'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [92, 110, 93] |
p03323 | u769698512 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a, b = map(int, input().split())\n\nmaximum = 8\nif a > maximum or b > maximum:\n print("Yay!")\nelse:\n print(":(")', 'a, b = map(int, input().split())\n\nmaximum = 8\nif a > maximum or b > maximum:\n print("Yay")\nelse:\n print(":(")', 'a, b = map(int, input().split())\nmaximum = 8\n\nif a+b <= 16 and a <= maximum and b <= maximum:\n print("Yay!")\nelse:\n print(":(")\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s266948208', 's540161573', 's670074779'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [116, 115, 134] |
p03323 | u771406607 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["a, b = map(int, input().split())\nif a <= 8 and b b <= 8:\n print('Yay!')\nelse:\n print(':(')", "a, b = map(int, input().split())\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')"] | ['Runtime Error', 'Accepted'] | ['s481342184', 's824518523'] | [2940.0, 2940.0] | [17.0, 17.0] | [92, 90] |
p03323 | u777394984 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a,b=map(int,input().split())\nif a<8 and b8:\n print("Yay!")\nelse:\n print(":)")\n', 'a,b=map(int,input().split())\nif a<8 && b<8:\n print("Yay!")\nelse:\n print(":)")', 'a,b = map(int,input().split())\nif a<9and b<9:\n print("Yay!")\nelse:\n print(":(")\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s376529939', 's663963584', 's909205049'] | [3316.0, 2940.0, 2940.0] | [22.0, 17.0, 17.0] | [80, 79, 82] |
p03323 | u777846995 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["x,y = map(int,input().split())\n\nif x <= 8 and y <= 8:\n print('yay')\nelse:\n print(':(')", "x,y = map(int,input().split())\n\nif x <= 8 and y <= 8:\n print('Yay!')\nelse:\n print(':(')"] | ['Wrong Answer', 'Accepted'] | ['s055773424', 's519158563'] | [3060.0, 2940.0] | [21.0, 17.0] | [92, 93] |
p03323 | u778614444 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['print(\n "Yay!"\n if all(lambda x: x <= 8, \n map(int, input().split())\n )\n else ":("\n)', 'print(\n "Yay!"\n if all(map(\n lambda x: x <= 8, \n map(int, input().split())\n ))\n else ":("\n)'] | ['Runtime Error', 'Accepted'] | ['s371474899', 's820884289'] | [2940.0, 2940.0] | [17.0, 17.0] | [107, 106] |
p03323 | u780698286 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a = list(map(int, input().split()))\nif max(a) <= 8:\n print("Yay")\nelse:\n print(":(")', 'a = list(map(int, input().split()))\nif max(a) <= 8:\n print("Yay!")\nelse:\n print(":(")\n'] | ['Wrong Answer', 'Accepted'] | ['s740184234', 's941306102'] | [9120.0, 9128.0] | [26.0, 28.0] | [86, 88] |
p03323 | u785220618 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["# -*- coding: utf-8 -*-\n\na = int(input())\nb = int(input())\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')\n", "# -*- coding: utf-8 -*-\n\na, b = map(int, input().split())\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')\n"] | ['Runtime Error', 'Accepted'] | ['s950991336', 's977666599'] | [2940.0, 2940.0] | [17.0, 17.0] | [121, 120] |
p03323 | u785578220 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a = list(map(int, input().split()))\na.sort()\nif a < 9:\n print("Yay!")\nelse:\n print(":(")', 'a = list(map(int, input().split()))\na.sort()\nif a[1] < 9:\n print("Yay!")\nelse:\n print(":(")'] | ['Runtime Error', 'Accepted'] | ['s734171158', 's957935775'] | [3060.0, 2940.0] | [18.0, 18.0] | [94, 97] |
p03323 | u790877102 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["A, B = map(int,input().split())\n\nif A<9 AND B<9:\n\tprint('Yay!')\nelse:\n\tprint(':(')", 'D, N = map(int,input().split())\n\nif N==100 :\n\tX = (100**D)*(N+1)\nelse:\n\tX = (100**D)*N\nprint(X)', 'D, N = map(int,input().split())\n\nif N==100:\n\tX = (100**D)*N+1\nelse:\n\tX = (100**D)*N\nprint(X)', "A, B = map(int,input().split())\n\nif A<9 and B<9:\n\tprint('Yay!')\nelse:\n\tprint(':(')"] | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s287902831', 's846199580', 's907631418', 's160782359'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [82, 95, 92, 82] |
p03323 | u797550216 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["a,b = map(int,input().split())\n\nif a < 9 & b < 9:\n\tprint('Yay!')\nelse:\n\tprint(':(')", "a,b = map(int,input().split())\n\nif a <= 8 & b <= 8:\n\tprint('Yay!')\nelse:\n\tprint(':(')", 'a,b=map(int,input().split())\nif a<=8 and b<=8:\n print("Yay!")\nelse:\n print(":(")\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s399446018', 's999555359', 's511595565'] | [2940.0, 2940.0, 3064.0] | [17.0, 18.0, 18.0] | [83, 85, 87] |
p03323 | u802772880 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['N=int(input())\na=list(map(int,input().split()))\ncount=0\nfor i in a:\n while b%2==0:\n b/=2\n count+=1\nprint(count)', 'N=int(input())\na=list(map(int,input().split()))\ncount=0\nfor i in a:\n while i%2==0:\n i/=2\n count+=1\nprint(count)', "A,B=map(int,input().split())\nif A>8 or B>8:\n print(':(')\nelse:\n print('Yay!')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s400598772', 's753636302', 's878754698'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [128, 128, 83] |
p03323 | u804085889 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a,b = map(int, input().split())\nprint("Yay" if a<9 and b<9 else ":(")', 'a,b = map(int, input().split())\nprint("Yay!" if a<9 and b<9 else ":(")'] | ['Wrong Answer', 'Accepted'] | ['s518674331', 's066482022'] | [2940.0, 2940.0] | [17.0, 17.0] | [69, 70] |
p03323 | u805460429 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a,b=int(input().split())\nif a<=8 and b<=8:\n print("Yay!")\nelse:\n print(":(")', 'a,b=map(int,input().split())\nif a<=8 and b<=8:\n print("Yay!")\nelse:\n print(":(")\n'] | ['Runtime Error', 'Accepted'] | ['s873970198', 's982639962'] | [2940.0, 3060.0] | [17.0, 20.0] | [82, 87] |
p03323 | u808585569 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['D, N =map(int, input().split())\nif N != 100:\n print(100**D*N)\nelse:\n print(100**D*101)\n ', 'A=list(map(int,input().split()))\n\nif max(A)<=8:\n print(Yay!)\nelse:\n print(:()', 'A=list(map(int,input().split()))\n\nif max(A)<=8:\n print("Yay!")\nelse:\n print(":(")'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s251207433', 's444418707', 's885739928'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [91, 79, 83] |
p03323 | u809457879 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["a,b=map(int, input().split())\nprint('Yay' if a<=8 and b<=8 else ':(')", "a,b=map(int,input().split())\nprint('Yay' if (a<=8 and b<=8) else ':(')", "a,b=map(int,input().split())\nprint('Yay' if (a<=8 & b<=8) else ':(')", "a,b=map(int,input().split())\nprint('Yay!' if a<=8 and b<=8 else ':(')"] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s544756466', 's919959128', 's989201023', 's416600508'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [69, 70, 68, 69] |
p03323 | u813098295 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a, b = map(int, input().split())\n\nif max(a, b) > 8:\n print (":(")\nelse:\n print ("Yey!")\n', 'a, b = map(int, input().split())\n\nif max(a, b) > 8:\n print (":(")\nelse:\n print ("Yay!")'] | ['Wrong Answer', 'Accepted'] | ['s585948178', 's295311135'] | [2940.0, 2940.0] | [18.0, 17.0] | [94, 93] |
p03323 | u813102292 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['d,n = (int(i) for i in input().split())\nprint(100 ** d * n)', "a,b = (int(i) for i in input().split())\nif a < 9 and b < 9:\n print('Yay!')\nelse:\n print(':(')"] | ['Wrong Answer', 'Accepted'] | ['s244989042', 's951820579'] | [2940.0, 2940.0] | [17.0, 17.0] | [59, 99] |
p03323 | u814265211 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a, b = [int(i) for i in input().split()]\n\nprint("Yay!" if a <= b <= 8 else ":(")\n', 'a, b = [int(i) for i in input().split()]\n\nprint("Yay!" if a <= 8 and b <= 8 else ":(")\n'] | ['Wrong Answer', 'Accepted'] | ['s735231564', 's590952426'] | [2940.0, 3444.0] | [17.0, 20.0] | [81, 87] |
p03323 | u814986259 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['A,B = map(int, input().split())\nif A < = 8 and B <= 8:\n print("Yay!")\nelse:\n print(":(")', 'A,B = map(int, input().split())\nif A <= 8 and B <= 8:\n print("Yay!")\nelse:\n print(":(")'] | ['Runtime Error', 'Accepted'] | ['s107574624', 's482172813'] | [2940.0, 2940.0] | [17.0, 17.0] | [94, 93] |
p03323 | u816631826 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a,b=map(int,input().split())\nif a-b==1 and a-b==0:\n\tprint("Yay!")\nelse:\n\t\tprint(":(")\t\n\n\n\n\n\n', 'linha = input()\npessoaA, pessoaB = [int(n) for n in linha.split()]\nif pessoaA > 8 or pessoaB > 8:\n print(":(")\nelse:\n print("Yay!")\n'] | ['Wrong Answer', 'Accepted'] | ['s317202328', 's219101973'] | [9152.0, 2940.0] | [25.0, 17.0] | [92, 138] |
p03323 | u816919571 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a,b=int(input())\nprint(":("if a>8 or b>8 else "Yay!")', 'a,b=map(int,input().split(" "))\nprint(":("if a>8 or b>8 else "Yay!")'] | ['Runtime Error', 'Accepted'] | ['s499934658', 's101975917'] | [2940.0, 2940.0] | [17.0, 17.0] | [53, 68] |
p03323 | u818213347 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a,b = map(int,input().split())\nif a<9 & b<9:\n print("Yay!")\nelse:\n print(":(")', 'a,b = map(int,input().split())\nif a<9 || b<9:\n print("Yay!")\nelse:\n print(":(")', 'a,b = map(int,input().split())\nif a<9 and b<9:\n print("Yay!")\nelse:\n print(":(")'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s341609699', 's407920153', 's113633731'] | [9072.0, 8904.0, 9056.0] | [24.0, 28.0, 30.0] | [80, 81, 82] |
p03323 | u822662438 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['n, m = map(int, input().split())\nli = [list(map(int, input().split()))for i in range(n)]\n\na = 0\nb = 0\nc = 0\nreview = abs(a) + abs(b) + abs(c)\nfor i in range(m):\n a += li[i][0]\n b += li[i][1]\n c += li[i][2]\n\nreview = abs(a) + abs(b) + abs(c)\nflag = True\n\nwhile True:\n flag = True\n for i in range(m):\n for j in range(n-m):\n x = li[i]\n li[i] = li[m+j]\n li[m+j] = x\n a = 0\n b = 0\n c = 0\n for k in range(m):\n a += li[k][0]\n b += li[k][1]\n c += li[k][2]\n if review < abs(a) + abs(b) + abs(c):\n review = abs(a) + abs(b) + abs(c)\n flag = False\n if flag:\n break\n else:\n continue\nprint(review)\n', 'n, m = map(int, input().split())\nli = [list(map(int, input().split()))for i in range(n)]\n\na = 0\nb = 0\nc = 0\nreview = abs(a) + abs(b) + abs(c)\nfor i in range(m):\n a += li[i][0]\n b += li[i][1]\n c += li[i][2]\n\nreview = abs(a) + abs(b) + abs(c)\nflag = True\n\nwhile True:\n flag = True\n for i in range(m):\n for j in range(n-m):\n x = li[i]\n li[i] = li[m+j]\n li[m+j] = x\n a = 0\n b = 0\n c = 0\n for k in range(m):\n a += li[k][0]\n b += li[k][1]\n c += li[k][2]\n if review < abs(a) + abs(b) + abs(c):\n review = abs(a) + abs(b) + abs(c)\n flag = False\n if flag:\n break\n else:\n continue\nprint(review)\n', 'n, m = map(int, input().split())\nli = [list(map(int, input().split()))for i in range(n)]\n\na = 0\nb = 0\nc = 0\nreview = abs(a) + abs(b) + abs(c)\nfor i in range(m):\n a += li[i][0]\n b += li[i][1]\n c += li[i][2]\n\nreview = abs(a) + abs(b) + abs(c)\nflag = True\n\nwhile True:\n flag = True\n for i in range(m):\n for j in range(n-m):\n x = li[i]\n li[i] = li[m+j]\n li[m+j] = x\n a = 0\n b = 0\n c = 0\n for k in range(m):\n a += li[k][0]\n b += li[k][1]\n c += li[k][2]\n if review < abs(a) + abs(b) + abs(c):\n review = abs(a) + abs(b) + abs(c)\n flag = False\n if flag:\n break\n else:\n continue\nprint(review)\n', 'a = int(input())\nb = int(input())\n\nif a >= 9 or b >= 9:\n print(":(")\nelse:\n print("Yay!")\n', 'n, m = map(int, input().split())\nli = [list(map(int, input().split()))for i in range(n)]\n\na = 0\nb = 0\nc = 0\nreview = abs(a) + abs(b) + abs(c)\nfor i in range(m):\n a += li[i][0]\n b += li[i][1]\n c += li[i][2]\n\nreview = abs(a) + abs(b) + abs(c)\nflag = True\n\nwhile True:\n flag = True\n for i in range(m):\n for j in range(n-m):\n x = li[i]\n li[i] = li[m+j]\n li[m+j] = x\n a = 0\n b = 0\n c = 0\n for k in range(m):\n a += li[k][0]\n b += li[k][1]\n c += li[k][2]\n if review < abs(a) + abs(b) + abs(c):\n review = abs(a) + abs(b) + abs(c)\n flag = False\n if flag:\n break\n else:\n continue\nprint(review)\n', 'n, m = map(int, input().split())\nli = [list(map(int, input().split()))for i in range(n)]\n\na = 0\nb = 0\nc = 0\nreview = abs(a) + abs(b) + abs(c)\nfor i in range(m):\n a += li[i][0]\n b += li[i][1]\n c += li[i][2]\n\nreview = abs(a) + abs(b) + abs(c)\nflag = True\n\nwhile True:\n flag = True\n for i in range(m):\n for j in range(n-m):\n x = li[i]\n li[i] = li[m+j]\n li[m+j] = x\n a = 0\n b = 0\n c = 0\n for k in range(m):\n a += li[k][0]\n b += li[k][1]\n c += li[k][2]\n if review < abs(a) + abs(b) + abs(c):\n review = abs(a) + abs(b) + abs(c)\n flag = False\n if flag:\n break\n else:\n continue\nprint(review)\n', 'a, b = map(int, input().split())\n\nif a >= 9 or b >= 9:\n print(":(")\nelse:\n print("Yay!")\n'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s061339854', 's352587908', 's378030481', 's393600205', 's907754919', 's977760414', 's810346715'] | [3064.0, 3064.0, 3064.0, 2940.0, 3064.0, 3064.0, 2940.0] | [18.0, 18.0, 19.0, 17.0, 18.0, 18.0, 17.0] | [789, 789, 789, 96, 789, 789, 95] |
p03323 | u823044869 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a, b = map(int,input())\n\nif a <9 and b < 9:\n print("Yay")\nelse:\n print(":(")\n', 'a, b = map(int,input().split())\n\nif a <9 and b < 9:\n print("Yay")\nelse:\n print(":(")\n', 'a, b = map(int,input().split())\n\nif a < 9 and b < 9:\n print("Yay!")\nelse:\n print(":(")\n'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s478241787', 's830612453', 's948731119'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [79, 87, 89] |
p03323 | u825528847 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['A, B = map(int, input().split())\n\nif A > 8 or B > 8:\n print("Yay!")\nelse:\n print(":(")\n', 'A, B = map(int, input().split())\n\nif A > 8 or B > 8:\n print("Yay!")\nelse:\n print(":(")\n', 'A = int(input())\nB = int(input())\n\nif A > 8 or B > 8:\n print("Yay!")\nelse:\n print(":(")\n', 'A, B = map(int, input().split())\n\nif A > 8 or B > 8:\n print(":(")\nelse:\n print("Yay!")\n'] | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s085919034', 's175331052', 's618480523', 's215256212'] | [3064.0, 2940.0, 2940.0, 3316.0] | [18.0, 18.0, 18.0, 19.0] | [93, 93, 94, 93] |
p03323 | u826487371 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['list=input().rstrip().split() \nD=int(list[0]) \nN=int(list[1])\nif N!=100:\n print((100**D)*N)\nelse:\n print(101*(100**D))', "list=input().rstrip().split() \nA=int(list[0]) \nB=int(list[1])\nif max(A,B)>=9:\n print(':(')\nelse:\n print('Yay!')"] | ['Wrong Answer', 'Accepted'] | ['s770731389', 's812526634'] | [2940.0, 3064.0] | [17.0, 17.0] | [124, 117] |
p03323 | u826927241 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["import sys\n\n\ndef check(A, B):\n if A > 8 or B > 8:\n return False\n return True\n\n\nret = check(\n int(sys.stdin.readline()),\n int(sys.stdin.readline()))\nif ret:\n print('Yay!')\nelse:\n print(':(')", "import sys\n\n\ndef check(A, B):\n if A > 8 or B > 8:\n return False\n return True\n\n\nret = check(\n int(sys.stdin.readline()),\n int(sys.stdin.readline()))\nif ret:\n print('Yay!')\nelse:\n print(':(')", "import sys\n\n\ndef check(A, B):\n if A > 8 or B > 8:\n return False\n return True\n\n\nret = check(*tuple(map(int, sys.stdin.readline().split())))\nif ret:\n print('Yay!')\nelse:\n print(':(')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s093433165', 's420878149', 's550062361'] | [2940.0, 3064.0, 2940.0] | [17.0, 19.0, 18.0] | [214, 214, 199] |
p03323 | u827141374 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["a=max(list(map(int,input().split()))\nprint(':('if a>8else'Yay!')", "a=max(list(map(int,input().split()));print(':('if a>8 else'Yay!')", "a=max(list(map(int,input().split())));print(':('if a>8 else'Yay!')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s371843561', 's885048241', 's060620437'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [64, 65, 66] |
p03323 | u832039789 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["A = int(input())\nB = int(input())\nif A>8 or B>8:\n\tprint(':(')\nelse:\n\tprint('Yay!')", "A,B=list(map(int,input().split()))\nif A>8 or B>8:\n\tprint(':(')\nelse:\n\tprint('Yay!')"] | ['Runtime Error', 'Accepted'] | ['s933810160', 's419382934'] | [3316.0, 2940.0] | [21.0, 17.0] | [82, 83] |
p03323 | u835538657 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['import sys\nprint(input())', "import sys\na, b = input().split(' ')\nprint(':(' if int(a) > 8 or int(b) > 8 else 'Yay!')"] | ['Wrong Answer', 'Accepted'] | ['s379667456', 's957058297'] | [2940.0, 2940.0] | [18.0, 17.0] | [25, 88] |
p03323 | u836737505 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['print("Yay!" if int(input())<9 and int(input())<9 else ":(")', 'a,b = map(int, input().split())\nprint("Yay!" if a<9 and b<9 else ":(" )'] | ['Runtime Error', 'Accepted'] | ['s882777972', 's200324274'] | [2940.0, 2940.0] | [17.0, 17.0] | [60, 71] |
p03323 | u838651937 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["i = list(map(int, input().split()))\nA = i[0]\nB = i[1]\n\nif(A - B > 1 || B - A > 1):\n print(':(')\n\nif((A - B) == 0 || (A - B) == 1 || (B - A) == 0 || (B - A) == 1):\n print('Yay!')", "i = list(map(int, input().split()))\nA = i[0]\nB = i[1]\n\nif(A - B > 1 or B - A > 1):\n print(':(')\n\nif((A - B) == 0 or (A - B) == 1 or (B - A) == 0 or (B - A) == 1):\n print('Yay!')\n\n"] | ['Runtime Error', 'Accepted'] | ['s721648633', 's973615859'] | [2940.0, 3064.0] | [17.0, 17.0] | [179, 181] |
p03323 | u842170774 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["a,b=map(int,input().split());c= 'yay!' if a<9 and b<9 else ':(';print(c)", "p=print;p(':(')if max(map(int,input().split()))>8else p('Yay!')"] | ['Wrong Answer', 'Accepted'] | ['s063834466', 's823578714'] | [2940.0, 2940.0] | [17.0, 17.0] | [72, 63] |
p03323 | u842950479 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['A=int(input())\nB=int(input())\nans=str()\nif max(A,B)<9:\n ans="Yay!"\nelse:\n ans=":("\nprint(ans)', 'A,B=map(int, input().rstrip().split())\nans=str()\nif max(A,B)<9:\n ans="Yay!"\nelse:\n ans=":("\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s079861608', 's416155785'] | [2940.0, 2940.0] | [18.0, 17.0] | [99, 108] |
p03323 | u843774833 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['# coding: utf-8\n\ndef solve(A, B):\n if A > 8: return ":("\n if B > 8: return ":("\n return "Yay!"\n\nif __name__ == "__main__":\n\n A, B = map(int, input().split())\n print(A, B)\n ', '# coding: utf-8\n\ndef solve(A, B):\n if A > 8: return ":("\n if B > 8: return ":("\n return "Yay!"\n\nif __name__ == "__main__":\n\n A, B = map(int, input().split())\n print(solve(A, B))\n '] | ['Wrong Answer', 'Accepted'] | ['s860418486', 's162472693'] | [2940.0, 2940.0] | [17.0, 17.0] | [190, 197] |
p03323 | u847033024 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["a, b = map(int, inuput().split())\nif a >= 8 and b => 8:\n print('Yay!')\nelse:\n print(':(')", "a, b = map(int, input().split())\nif a >= 8 and b >= 8:\n print('Yay!')\nelse:\n print(':(')", "a, b = map(int, input().split())\nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')"] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s061778232', 's396535676', 's144232298'] | [8932.0, 9064.0, 8912.0] | [28.0, 25.0, 29.0] | [91, 90, 90] |
p03323 | u847867174 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["A = map(int, input())\nB = map(int, input())\n\nif A > 8 or B > 8:\n print(':(')\nelse:\n print('Yay!')", "A = input()\nB = input()\nA = int(A)\nB = int(B)\n\nif A > 8 or B > 8:\n print(':(')\nelse:\n print('Yay!')", "A = map(int, input())\nB = map(int, input())\nA, B = list(A)[0], list(B)[0]\n\nif A > 8 or B > 8:\n print(':(')\nelse:\n print('Yay!')", "A = int(input())\nB = int(input())\n\nif A > 8 or B > 8:\n print(':(')\nelse:\n print('Yay!')", "A, B = map(int, input().split())\n\nif A > 8 or B > 8:\n print(':(')\nelse:\n print('Yay!')"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s294086414', 's475138021', 's799395928', 's830865097', 's476599862'] | [2940.0, 2940.0, 2940.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0, 18.0, 17.0] | [103, 105, 133, 93, 92] |
p03323 | u848054939 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a = (int)(input())\nb = (int)(input())\n\nif (a > 8 or b > 8):\n print(":(")\nelse:\n print("Yay!")', 'text = input().split()\na = (int)(text[0])\nb = (int)(text[1])\n\nif (a > 8 or b > 8):\n print(":(")\nelse:\n print("Yay!")'] | ['Runtime Error', 'Accepted'] | ['s667640842', 's999838103'] | [2940.0, 2940.0] | [18.0, 17.0] | [99, 122] |
p03323 | u853900545 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["A,B = map(int,input().split())\nif A <= 8 and B <= 8:\n print('Yay')\nelse:\n print(':(')", "A,B = map(int,input().split())\nif A >= 9 or B >= 9:\n print(':(')\nelse:\n print('Yay')", "A,B = map(int,input().split())\nif A >= 9 or B >= 9:\n print(':(')\nelse:\n print('Yay!')"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s448442151', 's552286146', 's736534287'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [91, 90, 91] |
p03323 | u854144714 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['A,B=[int(i) for i in input().split()]\nif A<=8 and B<=8:\n print("Yay")\nelse:\n print(":(")', 'a,b=[int(i) for i in input().split()]\nif a<=8 and b<=8:\n print("Yay!")\nelse:\n print(":(")'] | ['Wrong Answer', 'Accepted'] | ['s051555089', 's792708867'] | [2940.0, 2940.0] | [17.0, 17.0] | [94, 95] |
p03323 | u855380359 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a, b = int(input())\n\nif a <= 8 and b <= 8:\n print(Yay!)\nelse:\n print(:()', "a, b = map(int, input().split())\n \nif a <= 8 and b <= 8:\n print('Yay!')\nelse:\n print(':(')"] | ['Runtime Error', 'Accepted'] | ['s862623640', 's242529245'] | [2940.0, 2940.0] | [17.0, 17.0] | [74, 92] |
p03323 | u858136677 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["a = int(input())\nb = int(input())\nif a >= 9 or b >= 9:\n\tprint(':(')\nelse:\n\tprint('Yay!')", "a,b = map(int,input().split())\nif a >= 9 or b >= 9:\n\tprint(':(')\nelse:\n\tprint('Yay!')"] | ['Runtime Error', 'Accepted'] | ['s626586028', 's958612957'] | [2940.0, 2940.0] | [17.0, 17.0] | [88, 85] |
p03323 | u858436319 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["A, B = map(int,input().split())\nif A <=8 and B <=8:\n print('Yey!')\nelse:\n print(':(')", "A, B = map(int,input().split())\nif A <=8 and B <=8:\n print('Yay')\nelse:\n print(':(')", "A, B = map(int,input().split())\nif A <=8 and B <=8:\n print('Yey')\nelse:\n print(':(')", "A, B = map(int,input().split())\nif A <=8 and B <=8:\n print('Yay!')\nelse:\n print(':(')"] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s863964401', 's877497377', 's897240079', 's951329422'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [87, 86, 86, 87] |
p03323 | u861842103 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["a=int(input())\nb=int(input())\nif a<=8 and b<=8:\n print('Yay!')\nelse:\n print(':(')\n", "a,b=input().split()\nif int(a)<=8 and int(b)<=8:\n print('Yay!')\nelse:\n print(':(')\n"] | ['Runtime Error', 'Accepted'] | ['s733050804', 's495699250'] | [2940.0, 2940.0] | [18.0, 17.0] | [88, 88] |
p03323 | u863370423 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a = int(input())\nb = int(input())\nif(a + b > 16):\n print(":(")\nelif(a <= 8 and b <= 8):\n print("Yay!")\nelse:\n print(":(")', 'a, b = map(int, input().split())\nprint("Yay!") if abs(a-b) < min(a,b) else print(":(")'] | ['Runtime Error', 'Accepted'] | ['s983615619', 's390971152'] | [2940.0, 2940.0] | [17.0, 17.0] | [130, 86] |
p03323 | u863397945 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ['a = list(map(int,input().split()))\n\nprint(100**a[0]*a[1])\n', 'a = list(map(int,input().split()))\n\nif a[0] > 8 or a[1] > 8:\n print(":(")\nelse:\n print("Yay!")\n'] | ['Wrong Answer', 'Accepted'] | ['s165252831', 's580723126'] | [2940.0, 2940.0] | [17.0, 17.0] | [58, 97] |
p03323 | u863442865 | 2,000 | 1,024,000 | E869120's and square1001's 16-th birthday is coming soon. Takahashi from AtCoder Kingdom gave them a round cake cut into 16 equal fan- shaped pieces. E869120 and square1001 were just about to eat A and B of those pieces, respectively, when they found a note attached to the cake saying that "the same person should not take two adjacent pieces of cake". Can both of them obey the instruction in the note and take desired numbers of pieces of cake? | ["a, b = list(map(int, input()))\nprint('Yay!') if a<=8 and b<=8 else print(':(')", "a, b = list(map(int, input().split()))\nprint('Yay!') if a<=8 and b<=8 else print(':(')"] | ['Runtime Error', 'Accepted'] | ['s791096114', 's977694002'] | [2940.0, 2940.0] | [17.0, 17.0] | [78, 86] |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.