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 |
|---|---|---|---|---|---|---|---|---|---|---|
p03288 | u379689547 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['a = int(input())\nprint(["ABC","ARC","AGC"][a<1200, a<2800, a>=2800])', 'C = ["ABC", "ARC" , "AGC"]\nA = int(input())\nprint(C[(A>1200)+(A>2800)]', 'C = ["ABC", "ARC" , "AGC"]\nA = int(input())\nprint(C[(A>1199)+(A>2799)])'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s052284513', 's388693342', 's514998763'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [68, 70, 71] |
p03288 | u379692329 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['R = int(input())\nif R < 1200:\n print("ABC")\nelif R < 2800:\n print("ARC")\nelse\n print("AGC")', 'R = int(input())\nif R < 1200:\n print("ABC")\nelif R < 2800:\n print("ARC")\nelse:\n print("AGC")'] | ['Runtime Error', 'Accepted'] | ['s268645098', 's717970172'] | [2940.0, 2940.0] | [17.0, 17.0] | [94, 95] |
p03288 | u388297793 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['r=int(input())\nif r<1200:\n print("ABC")\nif r<2800:\n print("ARC")\nelse:\n print("AGC")', 'r=int(input())\nif r<1200:\n print("ABC")\nelif r<2800:\n print("ARC")\nelse:\n print("AGC")'] | ['Wrong Answer', 'Accepted'] | ['s212482279', 's792703593'] | [9024.0, 9152.0] | [30.0, 26.0] | [93, 95] |
p03288 | u391731808 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['print("AGC")', 'N = int(input())\nif N < 1200:\n print("ABC")\nelif N < 2800:\n print("ARC")\nelse:\n print("AGC")'] | ['Wrong Answer', 'Accepted'] | ['s708564128', 's557118180'] | [2940.0, 2940.0] | [17.0, 18.0] | [12, 101] |
p03288 | u391819434 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["K=int(input());print('ABC'(K<1200)or'ARC'(K<2800)or'AGC')", "K=int(input());print('ABC'*(K<1200)or'ARC'*(K<2800)or'AGC')"] | ['Runtime Error', 'Accepted'] | ['s919852965', 's856626411'] | [2940.0, 2940.0] | [17.0, 18.0] | [57, 59] |
p03288 | u392361133 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['r = int(intput())\nif r < 1200:\n print("ABC")\nelif r < 2800:\n print("ARC")\nelse:\n print("AGC")', 'r = int(input())\nif r < 1200:\n print("ABC")\nelif r < 2800:\n print("ARC")\nelse:\n print("AGC")\n'] | ['Runtime Error', 'Accepted'] | ['s410022777', 's189987073'] | [9088.0, 9084.0] | [21.0, 28.0] | [96, 96] |
p03288 | u392423112 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['N = int(input())\n\nif N < 1200:\n print("ABC")\nif N >= 1200 and N < 2800:\n print("ARC")\nelse:\n print("AGC")', 'N = int(input())\n\nif N < 1200:\n print("ABC")\nif N >= 1200 and N < 2800:\n print("ARC")\nif N >= 2800:\n print("AGC")'] | ['Wrong Answer', 'Accepted'] | ['s346555611', 's811737726'] | [2940.0, 2940.0] | [17.0, 17.0] | [114, 122] |
p03288 | u396391104 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['r = int(input())\nif a < 1200:\n print("ABC")\nelif a < 2800:\n print("ARC")\nelse:\n print("AGC")', 'a = int(input())\nif a < 1200:\n print("ABC")\nelif a < 2800:\n print("ARC")\nelse:\n print("AGC")\n'] | ['Runtime Error', 'Accepted'] | ['s757475187', 's726037838'] | [2940.0, 2940.0] | [17.0, 17.0] | [95, 96] |
p03288 | u411858517 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['import itertools\nD, G = map(int, input().split())\nP = [list(map(int, input().split())) for i in range(D)]\nmin_num = 10**8\n\njudge_list = list(itertools.product([0, 1, 2], repeat=D)) \n\nfor judge in judge_list:\n score = 0\n num = 0\n flag = 0\n for i in range(1, len(judge) + 1):\n if score >= ... | ['Runtime Error', 'Accepted'] | ['s045759522', 's345819033'] | [3188.0, 2940.0] | [18.0, 17.0] | [917, 109] |
p03288 | u411965808 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['import sys\n\ns = input()\n\nif s[0] != "A":\n print("WA")\n sys.exit(0)\n\nif s[1] < "a" or s[1] > "z":\n print("WA")\n sys.exit(0)\n\n\nsub = s[2:-1]\nhas = False\nfor c in sub:\n if not has and c == "C":\n has = True\n\n elif "a" <= c <= "z":\n continue\n\n else:\n has = F... | ['Wrong Answer', 'Accepted'] | ['s169194549', 's057429741'] | [3064.0, 2940.0] | [17.0, 17.0] | [430, 103] |
p03288 | u419963262 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['print("a", ord("a"))\nprint("z", ord("z"))\n\ns = input()\nn = len(s)\nans = 1\nif s[0] != "A":\n ans *= 0\ncheck = 0\nfor i in range(1, n):\n if s[i] == "C" and check == 0:\n check = 1\n elif s[i] == "C":\n check = 0\n else:\n if 97 <= ord(s[i]) <= 122:\n ans *= 1\n ... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s130119373', 's681232881', 's909651840'] | [8964.0, 9068.0, 2940.0] | [26.0, 27.0, 17.0] | [362, 316, 89] |
p03288 | u431475157 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["R =input()\nif R<1200:\n print('ABC')\nelif R<2800:\n print('ARC')\nelse:\n print('AGC')", "R =int(input())\nif R<1200:\n print('ABC')\nelif R<2800:\n print('ARC')\nelse:\n print('AGC')"] | ['Runtime Error', 'Accepted'] | ['s134020674', 's497904985'] | [2940.0, 2940.0] | [17.0, 17.0] | [85, 90] |
p03288 | u444856278 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['import re;print("AC"if re.match("A[a-z]+C[a-z]+",input())else"WA")', 'from sys import stderr\nfrom functools import reduce\nfrom operator import add\ndef f(): return [int(i) for i in input().split()]\ndef yes(n): print("Yes") if n else print("No")\ndef debug(*x, sep=" ", end="\\n"):\n for item in x:\n stder... | ['Wrong Answer', 'Accepted'] | ['s890502881', 's698741956'] | [3188.0, 4196.0] | [23.0, 181.0] | [66, 410] |
p03288 | u448655578 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['S = input()\ncount = 0\nanswer = "WA"\n\nif S[0] == \'A\' and S[2:-1].count(\'C\') == 1:\n C = S.index(\'C\')\n exception = [0]\n exception.append(C)\n\nif len(exception) == 2:\n for j in range(len(S)):\n if j not in exception and S[j].islower():\n count += 1\n\nif count == len(S)-2:\n ... | ['Runtime Error', 'Accepted'] | ['s709443300', 's603202104'] | [3060.0, 2940.0] | [17.0, 17.0] | [333, 95] |
p03288 | u448720391 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['r = map(int,input().split())\nif r <= 1999:\n print("ABC")\nelif r <= 2799:\n print("ARC")\nelse:\n print("AGC")', 'r = int(input())\nif r <= 1199:\n print("ABC")\nelif r <= 2799:\n print("ARC")\nelse:\n print("AGC")'] | ['Runtime Error', 'Accepted'] | ['s748821460', 's883297172'] | [2940.0, 2940.0] | [17.0, 17.0] | [115, 103] |
p03288 | u448747186 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["S = input()\n\nif S[2:-2].count('C') != 1:\n print('WA')\nelse:\n if S[0] != 'A':\n print('WA')\n else:\n S[0] == 'a'\n S[S[2:-2].index('C')+2] == 'c'\n\n if S.islower():\n print('AC')\n else:\n print('WA')\n", "S = input()\n\nif S[2:-2].count('C') != 1:\n pr... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s274991678', 's318303453', 's119974188'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [251, 295, 96] |
p03288 | u455317716 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['r = int(input())\nif n < 1200:\n print("ABC")\nelif n < 2800:\n print("AEC")\nelse:\n print("AGC")', 'r = int(input())\nif n < 1200:\n print("ABC")\nelif n < 2800:\n print("AEC")\nelse:\n print("AGC")', 'n = int(input())\nif n < 1200:\n print("ABC")\nelif n < 2800:\n print("ARC")\nelse:\n p... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s225000232', 's362667946', 's335423286'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [101, 101, 101] |
p03288 | u457957084 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['R = int(input())\n\nif R < 1200:\n pritn("ABC")\n \nelif R < 2800:\n print("ARC")\n \nelse:\n print("AGC")\n \n ', 'R = int(input())\n\nif R < 1200:\n print("ABC")\n \nelif R < 2800:\n print("ARC")\n \nelse:\n print("AGC")\n'] | ['Runtime Error', 'Accepted'] | ['s002739054', 's565079905'] | [2940.0, 2940.0] | [17.0, 18.0] | [108, 103] |
p03288 | u466238961 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['if R<1200:\n print("ABC")\nelif R<2800:\n print("ARC")\nelse:\n print("AGC")\n', 'R=int(input())\nif R<1200:\n print("ABC")\nelif R<2800:\n print("ARC")\nelse:\n print("AGC")\n'] | ['Runtime Error', 'Accepted'] | ['s351490370', 's993052184'] | [2940.0, 2940.0] | [17.0, 17.0] | [81, 96] |
p03288 | u466917094 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['a=int(input())\nif a<1200:\n\tprint("ABC")\nelse if a<2800:\n\tprint("ARC")\nelse:\n print("AGC")', 'a=input()\nif a<1200:\n\tprint("ABC")\nelif a<2800:\n\tprint("ARC")\nelse:\n print("AGC")', '#a,b=map(int,input().split())\na=input()\nif(a<2800):\n\tprint("ABC")\nelse:\n\tprint("ARC")\n', 'a=int(input())\nif a<150... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s014833825', 's159212924', 's551102923', 's660200752', 's772689441', 's211141127'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 18.0, 17.0, 17.0] | [90, 82, 86, 90, 84, 86] |
p03288 | u468431843 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["if R < 1200:\n print('ABC')\nelif R < 2800:\n print('ARC')\nelse:\n print('AGC')", "R = int(input())\n\nif R < 1200:\n print('ABC')\nelif R < 2800:\n print('ARC')\nelse:\n print('AGC')"] | ['Runtime Error', 'Accepted'] | ['s155828764', 's844419042'] | [9044.0, 9044.0] | [30.0, 23.0] | [84, 102] |
p03288 | u475675023 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['R=input()\nif R<1200:\n print("ABC")\nelif R>=1200 and R<2800:\n print("ARC")\nelif R>=2800:\n print("AGC")', 'R=int(input())\nif R<1200:\n print("ABC")\nelif R>=1200 and R<2800:\n print("ARC")\nelif R>=2800:\n print("AGC")'] | ['Runtime Error', 'Accepted'] | ['s553064841', 's882688959'] | [2940.0, 2940.0] | [17.0, 17.0] | [104, 109] |
p03288 | u481026841 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["R = int(input())\nif R < 1200:\n print('ABC')\nelif <2800:\n print('ARC')\nelse:\n print('AGC')", "R = int(input())\nif R < 1200:\n print('ABC')\nelif R < 2800:\n print('ARC')\nelse:\n print('AGC')"] | ['Runtime Error', 'Accepted'] | ['s897586861', 's746057747'] | [2940.0, 2940.0] | [17.0, 17.0] | [98, 101] |
p03288 | u484216426 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['r = int(input("R: "))\n\nif(r < 1200):\n print("ABC")\nelif(r < 2800):\n print("ARC")\nelse:\n print("AGC")\n ', 'R = int(input("R: "))\n\nif(R < 1200):\n print("ABC")\nelif(R < 2800):\n print("ARC")\nelse:\n print("AGC")\n ', 'r = int(input())\n\nif(r < 1200):\n print("ABC")\nelif(r < 2800... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s288154186', 's574586730', 's675413472'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 19.0] | [114, 114, 109] |
p03288 | u488380455 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['l = list(input())\nlength = len(l)\n\na = 0\nfor i in range(2,length-1):\n if l[i] == "C":\n a += 1\n \nb = 0\nfor i in range(length):\n if l[i].isupper() == True:\n b += 1\n\nif l[0] == "A":\n if a == 1:\n if b == 2:\n print(\'AC\')\n else:\n print(\'... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s815328965', 's990591536', 's127618113'] | [3064.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [353, 97, 104] |
p03288 | u497285470 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['inputs input()\nR = int(inputs)\n\nif R < 1200:\n print("ARC")\nelif R < 2800:\n print("ARC")\nelse:\n print("AGC")', 'inputs = input()\nR = int(inputs)\n\nif R < 1200:\n print("ARC")\nelif R < 2800:\n print("ARC")\nelse:\n print("AGC")', 'inputs = input()\nR = int(inputs)\n\nif R < 1200:\n prin... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s334331834', 's812396968', 's988039358'] | [2940.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0] | [117, 118, 118] |
p03288 | u506587641 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["def rate(n):\n if n < 1200:\n print('ABC')\n elif 1200 <= n <2800:\n print('ARC')\n else:\n print('AGC')\n\nrate(input())", "def rate(n):\n if n < 1200:\n print('ABC')\n elif 1200 <= n <2800:\n print('ARC')\n else:\n print('AGC')\n\nrate(int(input()))"] | ['Runtime Error', 'Accepted'] | ['s911240207', 's587504209'] | [2940.0, 2940.0] | [17.0, 17.0] | [143, 148] |
p03288 | u515952036 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["s = input()\ntext = s[2:-1]\nr = s.replace('A', '')\nr = r.replace('C', '')\n\nif s[0] != 'A' pr text.count('C') != 1 or r != r.lower():\n\tprint('WA')\n\texit()\n\nprint('AC')", 's = input()\na = False\nb = False\nc = False\ncnt = 0\nk = 0\n\nif s[0] == \'A\':\n\ta = True\n\nfor c in range(s[2],s[-1]):\n\tif c == \'... | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s014562805', 's065160115', 's754714284', 's922196317', 's955503117', 's724421878'] | [2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 18.0] | [165, 320, 165, 172, 166, 93] |
p03288 | u516554284 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["n=input()\nprint('ABC' if n < 1200 else 'ARC' if 1200 <= n < 2800 else 'AGC')", "n=int(nput())\nprint('ABC' if n < 1200 else 'ARC' if 1200 <= n < 2800 else 'AGC')\n", "n=int(input())\nprint('ABC' if n < 1200 else 'ARC' if 1200 <= n < 2800 else 'AGC')\n"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s274189677', 's788649381', 's411587153'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [76, 81, 82] |
p03288 | u518378780 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["s = input()\n\ndp3 = 1\ndp2 = 0\ndp1 = 0\ndp0 = 0\n\nfor i in reversed(range((len(s)))):\n m = 1\n m1 = 1\n m2 = 0\n m3 = 0\n m4 = 0\n if s[i] == '?':\n m = 3\n m1 = 3\n m2 = 1\n m3 = 1\n m4 = 1\n\n if s[i] == 'C':\n m2 = 1\n\n if s[i] == 'B':\n ... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s052066139', 's659953058', 's212228991'] | [3064.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0] | [560, 624, 102] |
p03288 | u519003353 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['R = input()\nif R < 1200:\n print("ABC")\nelif R<2800:\n print("ARC")\nelse:\n print("AGC")', 'R = int(input())\nif R < 1200:\n print("ABC")\nelif R < 2800:\n print("ARC")\nelse:\n print("AGC")'] | ['Runtime Error', 'Accepted'] | ['s122298966', 's380618923'] | [2940.0, 2940.0] | [17.0, 20.0] | [94, 101] |
p03288 | u525987461 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['R = int(input())\nif R < 1200:\n ptint("ABC")\nelif R < 2800:\n print("ARC")\nelse:\n print("AGC")\n', 'R = int(input())\nif R < 1200:\n ptint("ABC")\nelif R < 2800:\n print("ARC")\nelse:\n print("AGC")\n', 'R = int(input())\nif R < 1200:\n print("ABC")\nelif R < 2800:\n print("ARC")\nelse:\n ... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s152375561', 's217724021', 's242175878'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0] | [102, 102, 102] |
p03288 | u531436689 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['r = input()\nif r<1200:\n print("ABC")\nelif r<2800:\n print("ARC")\nelse:\n print("AGC")', 'R=input()\nif R<1200:\n print("ABC")\nelif R<2800:\n print("ARC")\nelse:\n print("AGC")', 'R=int(input())\nif R<1200:\n print("ABC")\nelif R<2800:\n print("ARC")\nelse:\n print("AGC")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s223153045', 's232525451', 's844017614'] | [2940.0, 2940.0, 3316.0] | [19.0, 17.0, 25.0] | [86, 84, 89] |
p03288 | u533482278 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['a = input()\n\nif a < 1200:\n print("ABC")\nelif(a < 2800)\n print("ARC")\nelse\n print("AGC")\n', 'a = input()\n\nif a < 1200:\n print("ABC")\nelif(a < 2800):\n print("ARC")\nelse:\n print("AGC")\n', 'a = int(input())\n\nif a < 1200:\n print("ABC")\nelif a < 2800:\n print("ARC")\nelse:\n p... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s735931237', 's958393119', 's947600083'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [97, 99, 103] |
p03288 | u533885955 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['R = int(input())\nif R < 1200:\n print(ABC)\nelif R < 2800:\n print(ARC)\nelse:\n print(AGC)', 'R = int(input())\nif R < 1200:\n print("ABC")\nelif R < 2800:\n print("ARC")\nelse:\n print("AGC")'] | ['Runtime Error', 'Accepted'] | ['s442457812', 's265088470'] | [2940.0, 2940.0] | [17.0, 17.0] | [89, 95] |
p03288 | u534953209 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["R = int(input())\nif R < 1200:\n print('ABC')\nelif:\n R < 2800:\n print('ARC')\nelse:\n print('AGC')\n", 'print("AGC")', "R = int(input())\nif R < 1200:\n print('ABC')\nelif R < 2800:\n print('ARC')\nelse:\n print('AGC')\n"] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s111101986', 's442719142', 's840969296'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [107, 12, 102] |
p03288 | u543954314 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['s = list(input())\nans = "AC"\nif s[0] != "A" or s.count("C") !=1 or s[2:-1].count("C") != 1 or \'\'.join([i for i in s if i != "A" and i != "C"]).islower != True:\n ans = "WA"\nprint(ans)', 'S = input()\nN = len(S)\na,b,c,d = 0,0,0,1\nmod = 10**9+7\nfor x in reversed(S):\n if x == "?":\n a,b,c,d = 3*a+b, 3*b+... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s785532653', 's963214463', 's190350676'] | [3060.0, 3064.0, 2940.0] | [18.0, 17.0, 18.0] | [185, 264, 95] |
p03288 | u550895180 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["import sys\n\ndef solve(R):\n if R < 1200 :\n return 'ABC'\n elif R < 2800 :\n return 'ARC'\n else :\n return 'AGC'\n\ndef readQuestion():\n ws = sys.stdin.readline().strip().split()\n R = int(ws[0])\n return (R,)\n\ndef main():\n solve(*readQuestion())\n\n#Uncomment before s... | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s201292488', 's266623200', 's272133678', 's934168160'] | [2940.0, 2940.0, 2940.0, 3060.0] | [17.0, 17.0, 18.0, 18.0] | [316, 125, 315, 505] |
p03288 | u553070631 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["s=input()\ndef AcCepted(str1):\n if str1[0]!='A':\n return False\n str2=str1[1:-1]\n if str2.count('C')!=1:\n return False\n else:\n str3=str2.strip('C')\n if str3.islower ==False:\n return False\n return True\n\nif AcCepted(s)==True:\n print('AC')\nelse:\n ... | ['Wrong Answer', 'Accepted'] | ['s584422664', 's915601371'] | [2940.0, 2940.0] | [17.0, 17.0] | [315, 92] |
p03288 | u555356625 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['R = input()\nprint(R)\t\n\nif R < 1200:\n print(ABC)\nelif 1200 <= R and R < 2800:\n print(ARC)\nelse:\n print(AGC)', "R = int(input())\n\nif R < 1200:\n print('ABC')\nelif 1200 <= R and R < 2800:\n print('ARC')\nelse:\n print('AGC')"] | ['Runtime Error', 'Accepted'] | ['s928982756', 's805676949'] | [9016.0, 9144.0] | [22.0, 28.0] | [109, 110] |
p03288 | u556477263 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["n = int(input())\n\nif n < 1200:\n print('ABC')\nif n >= 1200 and n < 2800:\n print('ARC')\nelse:\n print('AGC')", "n = int(input())\n\nif n < 1200:\n print('ABC')\nif n >= 1200 and n < 2800:\n print('ARC')\nif n >= 2800:\n print('AGC')"] | ['Wrong Answer', 'Accepted'] | ['s314376719', 's439797205'] | [9020.0, 9044.0] | [28.0, 28.0] | [114, 122] |
p03288 | u556589653 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['S = input()\nflag = 0\nflag_of_flag = 0\nnow = 0\nkomoji = 0\nk = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"]\nif S[0] == "A":\n flag += 1\nfor i in range(2,len(S)-1):\n if S[i] == "C":\n now += 1\n elif S[i] in k:\n komoji += 1\nif now == 1:\n f... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s749897461', 's839193002', 's220804000'] | [3064.0, 3064.0, 2940.0] | [17.0, 17.0, 17.0] | [482, 450, 91] |
p03288 | u562016607 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['0', 'R=int(input())\nif R<1200:\n print("ABC")\nelif R<2800:\n print("ARC")\nelse:\n print("AGC")\n'] | ['Wrong Answer', 'Accepted'] | ['s584593424', 's191667597'] | [2940.0, 2940.0] | [17.0, 17.0] | [1, 96] |
p03288 | u568426505 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['a=int(input())\nrint(["ABC","ARC","AGC"][(a>=1200)+(a>=2800)])', 'a=int(input())\nprint(["ABC","ARC","AGC"][(a>=1200)+(a>=2800)])'] | ['Runtime Error', 'Accepted'] | ['s281842561', 's174651008'] | [9076.0, 9028.0] | [26.0, 30.0] | [61, 62] |
p03288 | u572002343 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['a = int(input())\n\nif a < 1200:\n print("ABC")\nelif a < 2800:\n print("ARC")\nelse\n print("AGC")', 'a = int(input())\n\nif a < 1200:\n print("ABC")\nelif a < 2800:\n print("ARC")\nelse:\n print("AGC")\n'] | ['Runtime Error', 'Accepted'] | ['s329431813', 's661434354'] | [2940.0, 2940.0] | [17.0, 18.0] | [101, 103] |
p03288 | u575101291 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['R=int(input())\nif R <1200\n print("ABC")\nif R<2800\n print("ARC")\nelse\n print("AGC")', 'R=int(input())\nif R <1200:\n print("ABC")\nelif R<2800:\n print("ARC")\nelse:\n print("AGC")\n'] | ['Runtime Error', 'Accepted'] | ['s833194122', 's126862910'] | [2940.0, 2940.0] | [17.0, 17.0] | [82, 88] |
p03288 | u580236524 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["r = int(input())\n \nif r<1200:\n print('ABC')\nif r<2800:\n print('ARC')\nelse:\n print('AGC')", "r = int(input())\n\nif r<1200:\n print('ABC')\nif 1200<=r<2800:\n print('ARC')\nelse:\n print('AGC')", 'r = int(input())\nif r < 1200:\n print("ABC")\nelif r < 2800:\n print("ARC")\nelse:\n print("AGC")'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s690888353', 's868817333', 's454741136'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [91, 96, 101] |
p03288 | u580806822 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['r=int(imput())\n\nif r<1200:\n print("ABC")\nelif r<2800:\n print("ARC")\nelse:\n print("AGC")\n', 'r=int(input())\n\nif r<1200:\n print("ABC")\nelif r<2800:\n print("ARC")\nelse:\n print("AGC")\n'] | ['Runtime Error', 'Accepted'] | ['s673751308', 's688156485'] | [2940.0, 2940.0] | [17.0, 17.0] | [97, 97] |
p03288 | u589432040 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["R = int(input())\nif R < 1200:\n print('ABC')\nelse if R < 2800:\n print('ARC')\nelse:\n print('AGC')", "R = int(input())\nif R < 1200:\n print('ABC')\nelif R < 2800:\n print('ARC')\nelse:\n print('AGC')\n"] | ['Runtime Error', 'Accepted'] | ['s446458537', 's031160232'] | [2940.0, 2940.0] | [17.0, 17.0] | [98, 96] |
p03288 | u594956556 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["s=input()\nif s[0:1]!='A':\n print('WA')\n exit()\nt=s[2:len(s)-1]\ncountc=0\nfor i in range(len(t)):\n if t[i]=='C':\n countc+=1\nif countc!=1:\n print('WA')\n exit()\nfor i in range(1,len(s)):\n if s[i:i+1]!='C' and s[i:i+1].isupper():\n print('WA')\n exit()\nprint('AC')\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n... | ['Wrong Answer', 'Accepted'] | ['s115316329', 's526097393'] | [3064.0, 2940.0] | [17.0, 17.0] | [499, 89] |
p03288 | u596276291 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['from collections import defaultdict, Counter\nfrom itertools import product, groupby, count, permutations, combinations\nfrom math import pi, sqrt\nfrom collections import deque\nfrom bisect import bisect, bisect_left, bisect_right\nfrom string import ascii_lowercase\nfrom functools import lru_cache\nimport sys\nsys.... | ['Wrong Answer', 'Accepted'] | ['s623611650', 's543094545'] | [3948.0, 4328.0] | [30.0, 44.0] | [707, 822] |
p03288 | u607729897 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["word=input()\ncflg=True\nif word[0]!='A':\n cflg=False\n print(cflg)\nelif word[2:-1].count('C')!=1:\n cflg=False\ncnt=0\nfor l in word[1:]:\n if l.isupper():\n cnt+=1\nelse:\n if cnt!=1:\n cflg=False\n \nif cflg:\n print('AC')\nelse:\n print('WC')", "s=int(input())\n\nif s<1200:\n res='ABC'\nelif 1200... | ['Wrong Answer', 'Accepted'] | ['s753582552', 's095561664'] | [3064.0, 2940.0] | [17.0, 17.0] | [244, 98] |
p03288 | u609814378 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['R = int(input())\n\nif R < 1200:\n print("ABC")\nelif 1200 < R < 2800:\n print("ARC")\nelif 2800 < R\n print("AGC")', 'if A[0] == "A" and big == 2 and CNUM == 1 and A[-1] != "C": \n print("AC")\nelse:\n print("WA")', 'R =int(input())\n\nif R < 1200:\n print("ABC")\nelif 1200 < R < 2800:\n print... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s393339895', 's452879510', 's928725026', 's914963963'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [117, 100, 116, 103] |
p03288 | u612975321 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["r = int(input())\nif r < 1200:\n print('ABC')\nif r < 2800:\n print('ARC')\nelse:\n print('AGC')\n", "r = int(input())\nif r < 1200:\n print('ABC')\nelif r < 2800:\n print('ARC')\nelse:\n print('AGC')"] | ['Wrong Answer', 'Accepted'] | ['s032590744', 's929806571'] | [2940.0, 2940.0] | [17.0, 17.0] | [100, 101] |
p03288 | u618373524 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['s = input()\nprint("AC" if "C" in s[2:-2] and s[0]=="A" and s[1:].replace("C","",1).islower else "WA")', 'r = int(input())\nprint("ABC" if r < 1200 else "AGC" if r >=2800 else"ARC")'] | ['Wrong Answer', 'Accepted'] | ['s898315606', 's887624127'] | [2940.0, 2940.0] | [18.0, 18.0] | [101, 74] |
p03288 | u618512227 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["s = list(input())\nl = len(s)\nif s[0] == 'A':\n c_cnt = 0\n cn_l = []\n for i, m in enumerate(s):\n if 1<i<l-1 and m=='C':\n cn_l.append(i)\n c_cnt += 1\n if c_cnt == 1:\n cn = int(cn_l[0])\n tmp = s\n tmp.pop(0)\n tmp.remove('C')\n tmp_s = ... | ['Wrong Answer', 'Accepted'] | ['s314262314', 's773226765'] | [3064.0, 2940.0] | [18.0, 17.0] | [465, 101] |
p03288 | u625092455 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['l = input()\nif l<1200:\n print("ABC")\nelif l<2800\n print("ARC")\nelse :\n print("AGC")', 'l = int(input())\nif l<1200:\n print("ABC")\nelif l<2800:\n print("ARC")\nelse :\n print("AGC")'] | ['Runtime Error', 'Accepted'] | ['s284962760', 's107442416'] | [2940.0, 3064.0] | [17.0, 18.0] | [92, 98] |
p03288 | u631460433 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['if x<1200:\n print("ABC")\nelif 1200<=x and x<2800:\n print("ARC")\nelse:\n print("AGC")', 'x=int(input())\nif x<1200:\n print("ABC")\nelif 1200<=x and x<2800:\n print("ARC")\nelse:\n print("AGC")'] | ['Runtime Error', 'Accepted'] | ['s910408622', 's791316259'] | [2940.0, 2940.0] | [17.0, 17.0] | [92, 107] |
p03288 | u635958201 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['a=int(input())\nif a<1200:\n print(ABC)\nelif 1199<a<2800:\n print(ARC)\nelse:\n print(AGC)\n \n ', 'a=input()\nif a<1200:\n print(ABC)\nelif 1199<a<2800:\n print(ARC)', 'a=input()\nif a<1200:\n print(ABC)\nelse:\n print(ARC)\n \n ', 'a=int(input())\nif a<1200:\n print("ABC")\nelif 1199<a<2800:\n print("... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s453878983', 's486005365', 's546995989', 's028047788'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0] | [94, 64, 58, 113] |
p03288 | u636157062 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['s = input()\nres = "AC" if (s[0]==\'A\' and \'C\' in s[2:-1] and s[1:].replace(\'C\',\'\',1).islower()) else "WC"\nprint(res)', 's = input()\nres = "AC" if (s[0]==\'A\' and \'C\' in s[2:-2] and s[1:].replace(\'C\',\'\',1).islower()) else "WC"\nprint(res)', 'r = int(input())\nif(r<1200):\n print("ABC")\nelif(r>=120... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s567095770', 's879858286', 's870433234'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [115, 115, 112] |
p03288 | u636162168 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['r=int(input())\nif r>1200:\n print("ABC")\nelif 1200<=r<2800:\n print("ARC")\nelse:\n print("AGC")', 'r=int(input())\nif r<1200:\n print("ABC")\nelif 1200<=r<2800:\n print("ARC")\nelse:\n print("AGC")'] | ['Wrong Answer', 'Accepted'] | ['s595992389', 's727843801'] | [2940.0, 2940.0] | [19.0, 17.0] | [101, 101] |
p03288 | u637016017 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['t=list(input())\n\nif t[0]=="A" and not t[1]=="C" and not t[-1]=="C":\n rs=1\nelse:\n rs=0\n\nif t[1].isupper==True or t[-1].isupper==True:\n rs -=1\n\ndel t[:2]\ndel t[-1]\n\nif not t.count("C")==1:\n rs -=1\n\nif rs==1:\n t.remove("C")\n\nfor i in t:\n if i.isupper()==True:\n rs -=1\n\nif r... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s204808133', 's259555524', 's387225496', 's759723453'] | [3064.0, 3064.0, 3064.0, 2940.0] | [19.0, 17.0, 17.0, 17.0] | [339, 343, 327, 97] |
p03288 | u643081547 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['a=int(input())\nif(a<1200):\n print("ABC")\n elif a<2800:\n print("ARC")\n else:\n print("AGC")\n ', 'a=int(input())\nif(a<1200):\n print("ABC")\nelif a<2800:\n print("ARC")\nelse:\n print("AGC")\n '] | ['Runtime Error', 'Accepted'] | ['s194625543', 's511328981'] | [3188.0, 2940.0] | [17.0, 19.0] | [95, 93] |
p03288 | u644100188 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['R = int(input())\n\nif R<1200:\n print("ABC")\nif R<2800 and R>1200:\n print("ARC")\nif R>2800:\n print("AGC"', 'R = int(input())\n\nif R<1200:\n print("ABC")\nelif R<2800:\n print("ARC")\nelse :\n print("AGC")'] | ['Runtime Error', 'Accepted'] | ['s087215605', 's602444303'] | [2940.0, 2940.0] | [17.0, 17.0] | [111, 99] |
p03288 | u661576386 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["a = int(input()) \nA=['ABC','ARC','AGC']\nif a <1200:\n print(A[0])\nif a <2800:\n print(A[1])\nelse:\n print(A[2])", "a = int(input()) \nA=['ABC','ARC','AGC']\nif a <1200:\n print(A[0])\nelif a <2800:\n print(A[1])\nelse:\n print(A[2])"] | ['Wrong Answer', 'Accepted'] | ['s092063085', 's256867322'] | [2940.0, 3060.0] | [17.0, 17.0] | [111, 113] |
p03288 | u663710122 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["import string\n\nS = input()\n\nif S[0] != 'A':\n print('WA')\n exit()\n\nif S[2:len(S) - 1].count('C') != 1:\n print('WA')\n exit()\n\nif S[1] == 'C' or S[-1] == 'C':\n print('WA')\n exit()\n\nfor s in string.ascii_uppercase.replace('C', ''):\n if s in S[1:]:\n print('WA')\n exit()... | ['Wrong Answer', 'Accepted'] | ['s340263095', 's741682906'] | [4148.0, 2940.0] | [33.0, 17.0] | [313, 102] |
p03288 | u673281957 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['D, G = map(int, input().split())\npc = [list(map(int, input().split())) for _ in range(D)]\nsum_list = [(i+1)*100*pac[0] for i, pac in enumerate(pc)]\nmax_list = [(i+1)*100*pac[0]+pac[1] for i, pac in enumerate(pc)]\nstoc = 0\nshiyouzumi = []\nichian = 0\nnian = 0\nwhile 1:\n kouho1 = []\n kouho2 = []\n for ... | ['Runtime Error', 'Accepted'] | ['s679402998', 's972634227'] | [3064.0, 2940.0] | [18.0, 18.0] | [1227, 95] |
p03288 | u676305149 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['import sys\nr = int(sys.stdin.readline())\nif r < 1200: print("ABC")\nelif r < 2800: print("ARC")\nelse print("AGC")', 'import sys\nr = int(sys.stdin.readline())\nif r < 1200: print("ABC")\nelif r < 2800: print("ARC")\nelse: print("AGC")'] | ['Runtime Error', 'Accepted'] | ['s339903335', 's127494725'] | [2940.0, 3316.0] | [17.0, 19.0] | [112, 113] |
p03288 | u676496404 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['n = int(input())\n\nif n < 1200 :\n print(ABC)\nelif n < 2800 :\n print(ARC)\nelse :\n print(AGC)\n ', 'n = int(input())\n\nif 0 <= n and n < 1200 :\n print("ABC")\nelif n < 2800 :\n print("ARC")\nelse :\n print("AGC")\n '] | ['Runtime Error', 'Accepted'] | ['s494388301', 's212105811'] | [3060.0, 2940.0] | [18.0, 17.0] | [104, 121] |
p03288 | u684743124 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['r=input()\nif r<1200:\n print("ABC")\nelif r<2800:\n print("ARC")\nelse:\n print("AGC")', 'r=int(input())\nif r<1200:\n print("ABC")\nelif r<2800:\n print("ARC")\nelse:\n print("AGC")'] | ['Runtime Error', 'Accepted'] | ['s622097079', 's907261900'] | [9016.0, 9080.0] | [25.0, 26.0] | [84, 89] |
p03288 | u685662874 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['S=input()\n\njudge = "AC" if (S[0] == \'a\' and S[2:-1].count(\'C\') == 1 and S[1:].replace(\'C\', \'\').islower()) else "WA"\nprint(judge)', "S=input()\njudge='AC'\ncnt = 0\nif S[0] != 'A':\n judge='WA'\nfor i in range(1, len(S)):\n if S[i].isupper():\n if i == 1 or i == len(S) - 1 or S[i] != 'C':\n ... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s456973805', 's561664533', 's608475820'] | [2940.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [128, 247, 99] |
p03288 | u686036872 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['R = int(input())\nif R < 1200:\n print("ABC")\neif R < 2800:\n print("ARC")\nelse:\n print("AGC")', 'R = int(input())\nprint(["ARC","ABC","AGC"][R<1200 or -(R>=2800)])'] | ['Runtime Error', 'Accepted'] | ['s965594880', 's927772161'] | [2940.0, 2940.0] | [17.0, 17.0] | [100, 65] |
p03288 | u692515710 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['num = int(input())\nif (num < 1200):\n print("ABC")\nelif (num < 2800):\n print("ARC")\nelse\n print("AGC")', 'num = int(input())\nif (num < 1200):\n print("ABC")\nelif (num < 2800):\n print("ARC")\nelse:\n print("AGC")\n'] | ['Runtime Error', 'Accepted'] | ['s909046203', 's250133527'] | [2940.0, 2940.0] | [17.0, 17.0] | [104, 106] |
p03288 | u693378622 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['r = int(input())\nr = "AGC"\nif r < 1200:\n ans = "ABC"\nelse r < 2800:\n ans = "ARC"\nprint(ans)', 'r = int(input())\nans = "AGC"\nif r < 1200:\n ans = "ABC"\nelse r < 2800:\n ans = "ARC"\nprint(ans)', 'r = int(input())\nans = "AGC"\nif r < 1200:\n ans = "ABC"\nelif r < 2800:\n ans = "ARC"\nprint(a... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s743041434', 's992421727', 's883661694'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [97, 99, 99] |
p03288 | u693953100 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["a=input()\nif a<1200:\n print('ABC')\nelif 1200<a<2800:\n print('ARC')\nelse\n print('AGC')", "a=int(input())\nif a<1200:\n\tprint('ABC')\nelif 1200<a<2800:\n\tprint('ARC')\nelse\n\tprint('AGC')\n", 'a=input()\nif int(a)<1200:\n print("ABC")\nelif int(a)<2800:\n print("ARC")\nelse:\n print("AGC")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s125210523', 's435432660', 's532498839'] | [3064.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [88, 91, 100] |
p03288 | u696715721 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["s=input()\nif s[0]=='A':\n if s[2:-2].count('C')==1:\n if (s[1]+s[2:-2].replace('C', '')+s[-1]).islower() :\n \t\tprint('AC')\n else:\n \tprint('WA')\n else:\n \tprint('WA')\nelse:\n print('WA')", "s=input()\nif s[0]=='A':\n if s[2:-2].count('C')==1:\n if (s[1]+s[2:-2].replace('C', '')+s[-1]).islowe... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s015522364', 's186922279', 's242962498', 's407599891', 's589159286', 's651234240', 's727346166', 's821297884', 's907759536', 's504835471'] | [2940.0, 2940.0, 2940.0, 3060.0, 2940.0, 3060.0, 2940.0, 2940.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0, 17.0, 20.0, 17.0, 18.0, 17.0, 17.0, 17.0] | [194, 147, 96, 228, 238, 228, 220, 90, 230, 101] |
p03288 | u698501671 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["D,G = map(int,input().split(' '))\nl = [list(map(int,input().split())) for i in range(D)]\n\nans = 10**8\nfor i in range(2**D):\n score = 0\n tmp = 0\n n_list = []\n for j in range(D):\n if (i >> j & 1):\n k = l[j]\n score += (j+1)*100*k[0]+k[1]\n tmp += k[0]\n ... | ['Runtime Error', 'Accepted'] | ['s011138632', 's570388128'] | [3064.0, 2940.0] | [17.0, 17.0] | [713, 107] |
p03288 | u698919163 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['R = int(input())\n\nif R < 1200:\n print("ABC"):\nelif 1200 <= R and R < 2800:\n print("ARC")\nelse:\n print("AGC")', 'R = int(input())\n\nif R < 1200:\n print("ABC")\nelif 1200 <= R and R < 2800:\n print("ARC")\nelse:\n print("AGC")'] | ['Runtime Error', 'Accepted'] | ['s670568550', 's833847588'] | [2940.0, 2940.0] | [17.0, 19.0] | [117, 116] |
p03288 | u716529032 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['r = int(input());print("ABC"if r<1200else"ARC"if else r<2800else"AGC")', 'r = int(input())\nprint("ABC" if r<1200 else "ARC" if r<2800 else "AGC")'] | ['Runtime Error', 'Accepted'] | ['s922985525', 's630218953'] | [2940.0, 2940.0] | [17.0, 17.0] | [70, 71] |
p03288 | u716660050 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["R=int(input())\nif R < 1199: print('ABC')\nelif R < 2799: print('ARC')\nelse: print('ARC')", "R=int(input())\nif R < 1200: print('ABC')\nelif R < 2800: print('ARC')\nelse: print('AGC')"] | ['Wrong Answer', 'Accepted'] | ['s792760322', 's729089679'] | [2940.0, 2940.0] | [17.0, 17.0] | [87, 87] |
p03288 | u724742135 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["from sys import stdin\nn = int(stdin.readline.rstrip())\nif n<1200:\n print('ABC')\nelif n>=1200 and n<2800:\n print('ARC')\nelif n>=2800:\n print('AGC')", "from sys import stdin\nn = int(stdin.readline().rstrip())\nif n<1200:\n print('ABC')\nelif n>=1200 and n<2800:\n print('ARC')\nelif n>=2800:\n print('AGC')... | ['Runtime Error', 'Accepted'] | ['s681082675', 's186372284'] | [2940.0, 2940.0] | [18.0, 17.0] | [149, 151] |
p03288 | u725406838 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["R=input()\n0<=R and R<=4208\nif R>=1 and R<1200\nprint('ABC')\nelif R>=1200 and R<2800\nprint('ARC')\nelif R>=2800\nprint('AGC')", "R=input()\n0<=R and R<=4208\nif R>=1 and R<1200\n print('ABC')\nelif R>=1200 and R<2800\n print('ARC')\nelif R>=2800 and R<=4208\n print('AGC')", "R=int(input())\n0<=R and R<=4208\... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s608024423', 's609749854', 's830950780'] | [3188.0, 3060.0, 3060.0] | [17.0, 18.0, 17.0] | [121, 142, 150] |
p03288 | u727787724 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["s=input()\nS=list(s)\nt=S\ncount=0\nc=0\nans='AC'\nif S[0]!='A':\n ans='WA'\nfor i in range(2,len(t)-1):\n if t[i]=='C':\n count+=1\nif count!=1:\n ans='WA'\nif ans!='WA':\n for j in range(len(S)):\n if S[j]=='A' or 'C':\n S.remove(S[j])\n c+=1\n if c==2:\n ... | ['Wrong Answer', 'Accepted'] | ['s275501340', 's963944971'] | [3064.0, 2940.0] | [17.0, 17.0] | [431, 89] |
p03288 | u729707098 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['n = int(input())\nif n<1200: print("ABC")\nelif: n<2800: print("ARC")\nelse: print("AGC")', 'n = int(input())\nif n<1200: print("ABC")\nelif n<2800: print("ARC")\nelse: print("AGC")\n'] | ['Runtime Error', 'Accepted'] | ['s205988096', 's710846377'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 86] |
p03288 | u740284863 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['my_rate = input()\nif my_rate < 1200:\n print("ABC")\nelif my_rate >=1200 and my_rate < 2800:\n print("ARC")\nelse:\n print("AGC")\n', 'my_rate = input()\nif my_rate < 1200:\n print("ABC")\nelif my rate >=1200 and my_rate < 2800:\n print("ARC")\nelse:\n print("AGC")', 'my_rat... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s466088246', 's758542041', 's612810084'] | [3060.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [146, 145, 132] |
p03288 | u750651325 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['import re\nimport sys\nimport math\nimport itertools\nimport bisect\nfrom copy import copy\nfrom collections import deque,Counter\nfrom decimal import Decimal\nimport functools\ndef v(): return input()\ndef k(): return int(input())\ndef S(): return input().split()\ndef I(): return map(int,input().split())\ndef X(): r... | ['Runtime Error', 'Accepted'] | ['s985813053', 's845824152'] | [10356.0, 10316.0] | [32.0, 43.0] | [620, 620] |
p03288 | u752700460 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['S = input()\n\nif S[0] != \'A\':\n print("WA")\n exit()\nif S[2:-1].count(\'C\') != 1:\n print("WA")\n exit()\nif S.replace("A", "").replace("C", "").islower == False:\n print("WA")\n exit()\nprint("AC")\n', 'R = int(input())\n\nif(R < 1200):\n print("ABC")\nelif(R < 2800):\n print("ARC")\nels... | ['Wrong Answer', 'Accepted'] | ['s310206635', 's101530898'] | [2940.0, 2940.0] | [18.0, 17.0] | [207, 105] |
p03288 | u754022296 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['print("AGC")', 'a = int(input())\nif a < 1200:\n print("ABC")\nelif a < 2800:\n print("ARC")\nelse:\n print("AGC")'] | ['Wrong Answer', 'Accepted'] | ['s657513158', 's381396970'] | [2940.0, 2940.0] | [17.0, 17.0] | [12, 95] |
p03288 | u759519438 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['x=input()\nif (x< 1200):\n \tprint("ABC")\nelif (x<2800):\n \tprint("ARC")\nelse:\n \tprint("AGC")', 'x=input()\nif (x< 1200):\n print("ABC")\nelif (x<2800):\n print("ARC")\nelse:\n print("AGC")', 'x=int(input())\nif (x< 1200):\n print("ABC")\nelif (x<2800):\n print("ARC")\nelse:\n print("AGC")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s052420356', 's110728502', 's141431285'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [92, 89, 94] |
p03288 | u759651152 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["#-*-coding:utf-8-*-\n\ndef main():\n r = int(input())\n if r < 2000:\n print('ABC')\n elif r >= 1200 ans r < 2800:\n print('ARC')\n else:\n print('AGC')\n\nif __name__ == '__main__':\n main()", "#-*-coding:utf-8-*-\n\ndef main():\n r = int(input())\n if r < 1200:\n pri... | ['Runtime Error', 'Accepted'] | ['s780754467', 's305439280'] | [2940.0, 2940.0] | [17.0, 17.0] | [215, 215] |
p03288 | u764234894 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['a = input()\nif a < 1200:\n print("ABC")\nelif a < 2800:\n print("ARC")\nelse:\n print("AGC")', 'a = input()\nif a < 1200:\n print("ABC")\nelif a < 2800:\n print("ARC")\nelse:\n print("AGC")', 'a = int(input())\nif a < 1200:\n print("ABC")\nelse if a < 2800:\n print("ARC")\nelse:\n print("AGC")', 'a = inp... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s202101483', 's427739987', 's632083589', 's738829145', 's877380879', 's907096469', 's938859849', 's687159269'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0] | [87, 96, 98, 93, 99, 87, 96, 92] |
p03288 | u764956288 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["R = int(input())\nr = 'AGC'\nif R<2800:\n r[1]='R'\nif R<1200:\n r[1]='B'\nprint(r)", "R = int(input())\nif R<1200:\n r='ABC'\nif R<2800:\n r='ARC'\nelse:\n r='AGC'\nprint(r)", "R = int(input())\nr = 'AGC'\nif R<2800: r='ARC'\nif R<1200: r='ABC'\nprint(r)"] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s722756151', 's828902390', 's232738198'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0] | [83, 89, 73] |
p03288 | u765590009 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['import sys\ns = input()\n\nanswer = True\nif s[0] != "A":\n answer = False\n\nif s[2:len(s)-1].count("C") != 1:\n answer = False\n \nfor i in range(len(s)):\n if s[i] != "A" and s[i] != "C":\n if ord(s[i]) < 97 or 122 < ord(s[i]):\n answer = False\n\nif answer : \n print("AC")\nelse :\n print("WA... | ['Wrong Answer', 'Accepted'] | ['s813563027', 's796501947'] | [8832.0, 2940.0] | [26.0, 17.0] | [302, 105] |
p03288 | u765815947 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["r = int(input())\nif r < 1200:\n print('ABC')\nif r < 2800:\n print('ARC')\nelse:\n print('AGC')\n ", "r = int(input())\nif r < 1200:\n print('ABC')\nelif r < 2800:\n print('ARC')\nelse:\n print('AGC')\n "] | ['Wrong Answer', 'Accepted'] | ['s864433560', 's921764621'] | [2940.0, 2940.0] | [17.0, 17.0] | [96, 98] |
p03288 | u766393261 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['# using-utf8\n\nR=input()\nr=int(R)\nif r<1200:\n print("ABC"):\nif r>(1200-1) and r<2800:\n print("ARC")\nif r>(2800-1):\n print("AGC")', '# coding: utf-8\n\nR=input()\nr=int(R)\nif r<1200:\n print("ABC"):\nif r>(1200-1) and r<2800:\n print("ARC")\nif r>(2800-1):\n print("AGC")', '# coding: utf-8\n... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s192749066', 's617178667', 's262751093'] | [2940.0, 3064.0, 2940.0] | [17.0, 18.0, 17.0] | [146, 149, 134] |
p03288 | u768559443 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['r=int(input())\nif r<1200:\n print("ABC")\nif 1200<=r<2800:\n print("ARC")\nelse:\n print("AGC")', 'r=int(input())\nif r<1200:\n print("ABC")\nelif r<2800:\n print("ARC")\nelse:\n print("AGC")\n'] | ['Wrong Answer', 'Accepted'] | ['s374306482', 's349697261'] | [2940.0, 2940.0] | [17.0, 17.0] | [93, 90] |
p03288 | u771167374 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["n = int(input())\nif n<1200:\n print('ABC')\nif 1200<=n<2800:\n print('ARC')\nelse :\n print('AGC')", "n = int(input())\nif n<1200:\n print('ABC')\nelif 1200<=n<2800:\n print('ARC')\nelse :\n print('AGC')"] | ['Wrong Answer', 'Accepted'] | ['s631991136', 's648897391'] | [2940.0, 2940.0] | [17.0, 17.0] | [102, 104] |
p03288 | u771406607 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ["r = int(input())\nif r < 1200:\n print('ABC')\nif r < 2800:\n print('ARC')\nelse:\n print('AGC')\n ", "r = int(input())\nif r < 1200:\n print('ABC')\nelif r < 2800:\n print('ARC')\nelse:\n print('AGC')"] | ['Wrong Answer', 'Accepted'] | ['s309890600', 's355774979'] | [2940.0, 2940.0] | [17.0, 17.0] | [98, 95] |
p03288 | u777028980 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['A=int(input())\nif(A<1200):\n print("ABC")\nif(A>=2800):\n print("AGC")\nelse:\n print("ARC")', 'A=int(input())\nARC=1\nif(A<1200):\n print("ABC")\n ARC=0\n\nif(A>=2800):\n print("AGC")\n ARC=0\n \nif(ARC=1):\n print("ARC")\n', 'A=int(input())\nARC=1\nif(A<1200):\n print("ABC")\n ARC=0\n\nif(A>=2800):\n p... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s328474635', 's659983871', 's833535806'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0] | [90, 122, 124] |
p03288 | u777923818 | 2,000 | 1,048,576 | A programming competition site _AtCode_ regularly holds programming contests. The next contest on AtCode is called ABC, which is rated for contestants with ratings less than 1200. The contest after the ABC is called ARC, which is rated for contestants with ratings less than 2800. The contest after the ARC is called ... | ['import re;print("AC" if re.fullmatch("A[a-z]+C[a-z]+", input()) is not None else "WA")', 'R = int(input())\nif R < 1200:\n print("ABC")\nelif R < 2800:\n print("ARC")\nelse:\n print("AGC")'] | ['Wrong Answer', 'Accepted'] | ['s787138483', 's067670990'] | [3188.0, 2940.0] | [20.0, 19.0] | [86, 101] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.