tianguang2525
Add new dataset files
7b59ddc
[
{
"user_id": "u769870836",
"problem_id": "p03699",
"submission1_id": "s912810358",
"submission2_id": "s088928685",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "n=int(input())\nl=sorted([int(input()) for i in range(n)])\nif sum(l)%10!=0:\n print(sum(l))\nelse:\n ans=sum(l)\n for i in range(n):\n if l[i]%10==0:\n ans-=l[i]\n print(ans)\n quit()\n print(0)",
"code2": "n=int(input())\nl=sorted([int(input()) for i in range(n)])\nif sum(l)%10!=0:\n print(sum(l))\nelse:\n ans=sum(l)\n for i in range(n):\n if l[i]%10!=0:\n ans-=l[i]\n print(ans)\n quit()\n print(0)",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1589809269",
"date2": "1589809335",
"bleu_score": "0.9877292991777079",
"code1_test_status": [1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0],
"code1_test_score": 95,
"total_score": 100,
"input": "3\n2\n8\n0\n",
"actual_output": "10\n",
"expected_output": "8\n\n",
"anno_code": ["追踪器未生成相应代码"],
"anno_status": [false],
"diff_content": " n=int(input())\n l=sorted([int(input()) for i in range(n)])\n if sum(l)%10!=0:\n print(sum(l))\n else:\n ans=sum(l)\n for i in range(n):\n- if l[i]%10==0:\n+ if l[i]%10!=0:\n ans-=l[i]\n print(ans)\n quit()\n print(0)\n",
"FL_content": " n=int(input())\n l=sorted([int(input()) for i in range(n)])\n if sum(l)%10!=0:\n print(sum(l))\n else:\n ans=sum(l)\n for i in range(n):\n- if l[i]%10==0:\n ans-=l[i]\n print(ans)\n quit()\n print(0)\n",
"added_lines": 1,
"removed_lines": 1,
"code1_lines": 12,
"code_content1": "n=int(input())\nl=sorted([int(input()) for i in range(n)])\nif sum(l)%10!=0:\n print(sum(l))\nelse:\n ans=sum(l)\n for i in range(n):\n if l[i]%10!=0:\n ans-=l[i]\n print(ans)\n quit()\n print(0)",
"code_content2": "\nn=int(input())\nl=sorted([int(input()) for i in range(n)])\nif sum(l)%10!=0:\n print(sum(l))\nelse:\n ans=sum(l)\n for i in range(n):\n if l[i]%10==0:\n ans-=l[i]\n if ans%10!=0:\n print(ans)\n else:\n print(0)",
"high_retention_rate": 0.9166666666666666,
"low_retention_rate": 0.75
},
{
"user_id": "u693716675",
"problem_id": "p02630",
"submission1_id": "s390349565",
"submission2_id": "s779090442",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "n = int(input())\na = [int(i) for i in input().split()]\nq = int(input())\n\nans = sum(a)\nnumbers = [0]*(10**5+1)\nfor _ in range(q):\n b,c = [int(i) for i in input().split()]\n nb = numbers[b]\n ans += (c-b)*nb\n print(ans)\n numbers[b] = 0\n numbers[c] += nb ",
"code2": "n = int(input())\na = [int(i) for i in input().split()]\nq = int(input())\n\nans = sum(a)\nnumbers = [0]*(10**5+1)\nfor v in a:\n numbers[v] += 1\n\nfor _ in range(q):\n b,c = [int(i) for i in input().split()]\n nb = numbers[b]\n ans += (c-b)*nb\n print(ans)\n numbers[b] = 0\n numbers[c] += nb ",
"original_language1": "Python (3.8.2)",
"original_language2": "Python (3.8.2)",
"date1": "1593027929",
"date2": "1593028167",
"bleu_score": "0.8909075094218665",
"code1_test_status": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0],
"code1_test_score": 10,
"total_score": 103,
"input": "4\n1 0 2 0\n3\n0 4\n2 1\n3 23\n",
"actual_output": "3\n3\n3\n",
"expected_output": "11\n10\n10\n\n",
"anno_code": ["n = int(input()) # (0): n=4\na = [int(i) for i in input().split()] # (1): a=[1, 0, 2, 0]\nq = int(input()) # (2): q=3\n\nans = sum(a) # (3): ans=3\nnumbers = [0]*(10**5+1) # (4): numbers=[0, 0, ..., 0, 0]\nfor _ in range(q): # (5): _=0 (12): _=1 (19): _=2\n b,c = [int(i) for i in input().split()] # (6): b=0, c=4 (13): b=2, c=1 (20): b=3, c=23\n nb = numbers[b] # (7): nb=0 (14): NO CHANGE (21): NO CHANGE\n ans += (c-b)*nb # (8): NO CHANGE (15): NO CHANGE (22): NO CHANGE\n print(ans) # (9): NO CHANGE (16): NO CHANGE (23): NO CHANGE\n numbers[b] = 0 # (10): NO CHANGE (17): NO CHANGE (24): NO CHANGE\n numbers[c] += nb # (11): NO CHANGE (18): NO CHANGE (25): NO CHANGE\n"],
"anno_status": [true],
"diff_content": " n = int(input())\n a = [int(i) for i in input().split()]\n q = int(input())\n \n ans = sum(a)\n numbers = [0]*(10**5+1)\n+for v in a:\n+ numbers[v] += 1\n+\n for _ in range(q):\n b,c = [int(i) for i in input().split()]\n nb = numbers[b]\n ans += (c-b)*nb\n print(ans)\n numbers[b] = 0\n numbers[c] += nb \n",
"FL_content": " n = int(input())\n a = [int(i) for i in input().split()]\n q = int(input())\n \n ans = sum(a)\n numbers = [0]*(10**5+1)\n for _ in range(q):\n b,c = [int(i) for i in input().split()]\n nb = numbers[b]\n ans += (c-b)*nb\n print(ans)\n numbers[b] = 0\n numbers[c] += nb \n",
"added_lines": 3,
"removed_lines": 0,
"code1_lines": 13,
"code_content1": "n = int(input())\na = [int(i) for i in input().split()]\nq = int(input())\n\nans = sum(a)\nnumbers = [0]*(10**5+1)\nfor v in a:\n numbers[v] += 1\n\nfor _ in range(q):\n b,c = [int(i) for i in input().split()]\n nb = numbers[b]\n ans += (c-b)*nb\n print(ans)\n numbers[b] = 0\n numbers[c] += nb ",
"code_content2": "\nn = int(input())\na = [int(i) for i in input().split()]\nq = int(input())\n\nans = sum(a)\nnumbers = [0]*(10**5+1)\nfor _ in range(q):\n b,c = [int(i) for i in input().split()]\n nb = numbers[b]\n ans += (c-b)*nb\n numbers[b] = 0\n numbers[c] += nb \n print(ans) ",
"high_retention_rate": 1.0,
"low_retention_rate": 0.8461538461538461
},
{
"user_id": "u354053070",
"problem_id": "p02417",
"submission1_id": "s100364805",
"submission2_id": "s216877878",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "import sys\n\nTarget = \"\"\nfor line in sys.stdin:\n Target += line.rstrip(\"\\n\")\nfor i in range(26):\n print(chr(i + 97), \":\", Target.count(chr(i + 97)))",
"code2": "import sys\n\nTarget = \"\"\nfor line in sys.stdin:\n Target += line\nfor i in range(26):\n print(chr(i + 97), \":\", Target.lower().count(chr(i + 97)))",
"original_language1": "Python3",
"original_language2": "Python3",
"date1": "1501386987",
"date2": "1501388028",
"bleu_score": "0.9052952290711782",
"code1_test_status": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"code1_test_score": 0,
"total_score": 101,
"input": "hnfY hw [ rep*\n",
"actual_output": "a : 0\nb : 0\nc : 0\nd : 0\ne : 1\nf : 1\ng : 0\nh : 2\ni : 0\nj : 0\nk : 0\nl : 0\nm : 0\nn : 1\no : 0\np : 1\nq : 0\nr : 1\ns : 0\nt : 0\nu : 0\nv : 0\nw : 1\nx : 0\ny : 0\nz : 0\n",
"expected_output": "a : 0\nb : 0\nc : 0\nd : 0\ne : 1\nf : 1\ng : 0\nh : 2\ni : 0\nj : 0\nk : 0\nl : 0\nm : 0\nn : 1\no : 0\np : 1\nq : 0\nr : 1\ns : 0\nt : 0\nu : 0\nv : 0\nw : 1\nx : 0\ny : 1\nz : 0\n\n",
"anno_code": ["import sys\n\nTarget = \"\" # (0): Target=\nfor line in sys.stdin: # (1): line=hnfY hw [ rep* (3): NO CHANGE\n Target += line.rstrip(\"\\n\") # (2): Target=hnfY hw [ rep*\nfor i in range(26): # (4): i=0 (6): i=1 ... (54): i=25\n print(chr(i + 97), \":\", Target.count(chr(i + 97))) # (5): NO CHANGE (7): NO CHANGE ... (55): NO CHANGE\n"],
"anno_status": [true],
"diff_content": " import sys\n \n Target = \"\"\n for line in sys.stdin:\n- Target += line.rstrip(\"\\n\")\n+ Target += line\n for i in range(26):\n- print(chr(i + 97), \":\", Target.count(chr(i + 97)))\n+ print(chr(i + 97), \":\", Target.lower().count(chr(i + 97)))\n",
"FL_content": " import sys\n \n Target = \"\"\n for line in sys.stdin:\n- Target += line.rstrip(\"\\n\")\n for i in range(26):\n- print(chr(i + 97), \":\", Target.count(chr(i + 97)))\n",
"added_lines": 2,
"removed_lines": 2,
"code1_lines": 7,
"code_content1": "\nimport sys\n\nTarget = \"\"\nfor line in sys.stdin:\n Target += line.rstrip(\"\\n\").lower()\nfor i in range(26):\n print(chr(i + 97), \":\", Target.count(chr(i + 97)))",
"code_content2": "\nTarget = \"\"\nfor line in sys.stdin:\n Target += line.rstrip(\"\\n\").lower()\nfor i in range(26):\n print(chr(i + 97), \":\", Target.count(chr(i + 97)))",
"high_retention_rate": 0.8571428571428571,
"low_retention_rate": 0.5714285714285714
},
{
"user_id": "u966977124",
"problem_id": "p02771",
"submission1_id": "s523686315",
"submission2_id": "s757977318",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "\n\ndef main():\n question_a()\n\ndef question_a():\n abc = list(map(int,input().split()))\n flg = False\n if abc[0] == abc[1] or abc[0] == abc[2]:\n if abc[1] != abc[2]:\n print(\"Yes\")\n flg = True\n if flg == False:\n print(\"No\")\n\nmain()\n",
"code2": "\n\ndef main():\n question_a()\n\ndef question_a():\n abc = list(map(int,input().split()))\n flg = False\n if abc[0] == abc[1] or abc[0] == abc[2]:\n if abc[1] != abc[2]:\n print(\"Yes\")\n flg = True\n elif abc[1] == abc[2]:\n if abc[0] != abc[1]:\n print(\"Yes\")\n flg = True\n\n if flg == False:\n print(\"No\")\n\nmain()\n",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1581883763",
"date2": "1581884978",
"bleu_score": "0.724767829494886",
"code1_test_status": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"code1_test_score": 55,
"total_score": 59,
"input": "14 1 1\n",
"actual_output": "No\n",
"expected_output": "Yes\n\n",
"anno_code": ["\n\ndef main(): # (0): main=<function main>\n question_a() # (3): NO CHANGE\n\ndef question_a(): # (1): question_a=<function question_a>\n abc = list(map(int,input().split())) # (4): abc=[14, 1, 1]\n flg = False # (5): flg=False\n if abc[0] == abc[1] or abc[0] == abc[2]: # (6): NO CHANGE\n if abc[1] != abc[2]:\n print(\"Yes\")\n flg = True\n if flg == False: # (7): NO CHANGE\n print(\"No\")\n\nmain() # (2): NO CHANGE\n"],
"anno_status": [true],
"diff_content": " \n \n def main():\n question_a()\n \n def question_a():\n abc = list(map(int,input().split()))\n flg = False\n if abc[0] == abc[1] or abc[0] == abc[2]:\n if abc[1] != abc[2]:\n print(\"Yes\")\n flg = True\n+ elif abc[1] == abc[2]:\n+ if abc[0] != abc[1]:\n+ print(\"Yes\")\n+ flg = True\n+\n if flg == False:\n print(\"No\")\n \n main()\n \n",
"FL_content": " \n \n def main():\n question_a()\n \n def question_a():\n abc = list(map(int,input().split()))\n flg = False\n if abc[0] == abc[1] or abc[0] == abc[2]:\n if abc[1] != abc[2]:\n print(\"Yes\")\n flg = True\n if flg == False:\n print(\"No\")\n \n main()\n \n",
"added_lines": 5,
"removed_lines": 0,
"code1_lines": 17,
"code_content1": "\n\ndef main():\n question_a()\n\ndef question_a():\n abc = list(map(int,input().split()))\n flg = False\n if abc[0] == abc[1] or abc[0] == abc[2]:\n if abc[1] != abc[2]:\n print(\"Yes\")\n flg = True\n elif abc[1] == abc[2]:\n if abc[0] != abc[1]:\n print(\"Yes\")\n flg = True\n\n if flg == False:\n print(\"No\")\n\nmain()\n",
"code_content2": "\n\n\ndef main():\n abc = list(map(int,input().split()))\n flg = False\n if abc[0] == abc[1] or abc[0] == abc[2]:\n if abc[1] != abc[2]:\n print(\"Yes\")\n flg = True\n if flg == False:\n print(\"No\")\n\nmain()",
"high_retention_rate": 1.0,
"low_retention_rate": 0.7857142857142857
},
{
"user_id": "u288786530",
"problem_id": "p03767",
"submission1_id": "s991930939",
"submission2_id": "s574386985",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "n = int(input())\na = sorted(list(map(int, input().split())))\n\nsyo = a[0:n]\ntyu = a[n:2*n]\ndai = a[2*n:3*n]\n\nprint(sum(tyu))\n",
"code2": "n = int(input())\na = sorted(list(map(int, input().split())))\n\nsyo = a[0:n]\ntyu = a[n:2*n]\ndai = a[2*n:3*n]\n\nl = a[n:3*n]\nsec = l[0::2]\n\nprint(sum(sec))",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1576421287",
"date2": "1576423510",
"bleu_score": "0.7858266521049315",
"code1_test_status": [1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1],
"code1_test_score": 8,
"total_score": 102,
"input": "10\n1100000000 0000100100 1100100011 0100001000 1000101001 1000001000 1010100000 1010001100 1000100000 1010100000 1000101110 1010000000 1000110000 1000011000 1011000000 1101100010 0100110000 0001100101 1000000000 1001000111 1000000011 1000110001 0010000110 1100000001 1001010100 1000011000 1100001001 1000001000 1000000000 1110000100\n",
"actual_output": "10012554323\n",
"expected_output": "10322534322\n\n",
"anno_code": ["n = int(input()) # (0): n=10\na = sorted(list(map(int, input().split()))) # (1): a=[100100, 1100101, ..., 1101100010, 1110000100]\n\nsyo = a[0:n] # (2): syo=[100100, 1100101, 10000110, 100001000, 100110000, 1000000000, 1000000000, 1000000011, 1000001000, 1000001000]\ntyu = a[n:2*n] # (3): tyu=[1000011000, 1000011000, 1000100000, 1000101001, 1000101110, 1000110000, 1000110001, 1001000111, 1001010100, 1010000000]\ndai = a[2*n:3*n] # (4): dai=[1010001100, 1010100000, 1010100000, 1011000000, 1100000000, 1100000001, 1100001001, 1100100011, 1101100010, 1110000100]\n\nprint(sum(tyu))\n"],
"anno_status": [true],
"diff_content": " n = int(input())\n a = sorted(list(map(int, input().split())))\n \n syo = a[0:n]\n tyu = a[n:2*n]\n dai = a[2*n:3*n]\n \n-print(sum(tyu))\n+l = a[n:3*n]\n+sec = l[0::2]\n \n+print(sum(sec))\n",
"FL_content": " n = int(input())\n a = sorted(list(map(int, input().split())))\n \n syo = a[0:n]\n tyu = a[n:2*n]\n dai = a[2*n:3*n]\n \n-print(sum(tyu))\n \n",
"added_lines": 3,
"removed_lines": 1,
"code1_lines": 9,
"code_content1": "n = int(input())\na = sorted(list(map(int, input().split())))\n\nsyo = a[0:n]\ntyu = a[n:2*n]\ndai = a[2*n:3*n]\n\nl = a[n:3*n]\nsec = l[0::2]\n\nprint(sum(sec))",
"code_content2": "\nn = int(input())\na = sorted(list(map(int, input().split())))\n\nsyo = a[0:n:2]\ntyu = a[1:n:2]\n\nprint(sum(syo))\n",
"high_retention_rate": 0.875,
"low_retention_rate": 0.5
},
{
"user_id": "u728901930",
"problem_id": "p00008",
"submission1_id": "s916157824",
"submission2_id": "s587318634",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "import sys\nimport math as mas\n\nn=int(input())\nout=0\nfor i in range(10):\n\tfor j in range(10):\n\t\tfor k in range(10):\n\t\t\tfor l in range(10):\n\t\t\t\tif(i+j+k+l==n):out+=1\nprint(out)\n\n\n\n",
"code2": "import sys\nimport math as mas\n\nx=[0]*60\nfor i in range(10):\n\tfor j in range(10):\n\t\tfor k in range(10):\n\t\t\tfor l in range(10):\n\t\t\t\tx[i+j+k+l]+=1\nfor i in sys.stdin:\n\tprint(x[int(i)])\n\n\n",
"original_language1": "Python3",
"original_language2": "Python3",
"date1": "1490779146",
"date2": "1490779304",
"bleu_score": "0.771461941833235",
"code1_test_status": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"code1_test_score": 0,
"total_score": 69,
"input": "35\n6\n",
"actual_output": "4\n",
"expected_output": "4\n84\n\n",
"anno_code": ["import sys\nimport math as mas\n\nn=int(input()) # (0): n=35\nout=0 # (1): out=0\nfor i in range(10): # (2): i=0 (2224): i=1 ... (22222): NO CHANGE\n\tfor j in range(10): # (3): j=0 (225): j=1 ... (22221): NO CHANGE\n\t\tfor k in range(10): # (4): k=0 (26): k=1 ... (22220): NO CHANGE\n\t\t\tfor l in range(10): # (5): l=0 (7): l=1 ... (22219): NO CHANGE\n\t\t\t\tif(i+j+k+l==n):out+=1 # (6): NO CHANGE (8): NO CHANGE ... (22218): NO CHANGE\nprint(out)\n\n\n\n"],
"anno_status": [true],
"diff_content": " import sys\n import math as mas\n \n-n=int(input())\n-out=0\n+x=[0]*60\n for i in range(10):\n \tfor j in range(10):\n \t\tfor k in range(10):\n \t\t\tfor l in range(10):\n-\t\t\t\tif(i+j+k+l==n):out+=1\n-print(out)\n-\n+\t\t\t\tx[i+j+k+l]+=1\n+for i in sys.stdin:\n+\tprint(x[int(i)])\n \n \n \n",
"FL_content": " import sys\n import math as mas\n \n-n=int(input())\n-out=0\n for i in range(10):\n \tfor j in range(10):\n \t\tfor k in range(10):\n \t\t\tfor l in range(10):\n-\t\t\t\tif(i+j+k+l==n):out+=1\n-print(out)\n-\n \n \n \n",
"added_lines": 4,
"removed_lines": 5,
"code1_lines": 15,
"code_content1": "import sys\nimport math as mas\n\nx=[0]*60\nfor i in range(10):\n\tfor j in range(10):\n\t\tfor k in range(10):\n\t\t\tfor l in range(10):\n\t\t\t\tx[i+j+k+l]+=1\nfor i in sys.stdin:\n\tprint(x[int(i)])\n\n\n",
"code_content2": "\nimport sys\nimport math as mas\n\nfor i in range(int(input())):\n\tn=int(input())\n\tout=0\n\tfor i in range(10):\n\t\tfor j in range(10):\n\t\t\tfor k in range(10):\n\t\t\t\tfor l in range(10):\n\t\t\t\t\tif(i+j+k+l==n):out+=1\n\tprint(out)\n\n\n\n",
"high_retention_rate": 0.6363636363636364,
"low_retention_rate": 0.2727272727272727
},
{
"user_id": "u928784113",
"problem_id": "p03292",
"submission1_id": "s737847076",
"submission2_id": "s531341575",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "\na,b,c = map(int,input().split())\nprint(\"{}\".format(min(abs(a-b),abs(b-c),abs(c-a)))) ",
"code2": "\na,b,c = map(int,input().split())\nprint(\"{}\".format(min(abs(a-b)+abs(c-b),abs(a-c)+abs(b-c),abs(b-a)+abs(c-a)))) ",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1544584531",
"date2": "1544584724",
"bleu_score": "0.7578192907762058",
"code1_test_status": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"code1_test_score": 1,
"total_score": 99,
"input": "2 1 -14\n",
"actual_output": "1\n",
"expected_output": "16\n\n",
"anno_code": ["\na,b,c = map(int,input().split()) # (0): a=2, b=1, c=-14\nprint(\"{}\".format(min(abs(a-b),abs(b-c),abs(c-a)))) "],
"anno_status": [true],
"diff_content": " \n a,b,c = map(int,input().split())\n-print(\"{}\".format(min(abs(a-b),abs(b-c),abs(c-a)))) \n+print(\"{}\".format(min(abs(a-b)+abs(c-b),abs(a-c)+abs(b-c),abs(b-a)+abs(c-a)))) \n",
"FL_content": " \n a,b,c = map(int,input().split())\n-print(\"{}\".format(min(abs(a-b),abs(b-c),abs(c-a)))) \n",
"added_lines": 1,
"removed_lines": 1,
"code1_lines": 3,
"code_content1": "\na,b,c = map(int,input().split())\nprint(\"{}\".format(min(abs(a-b)+abs(c-b),abs(a-c)+abs(b-c),abs(b-a)+abs(c-a)))) ",
"code_content2": "\na = list(map(int,input().split()))\nprint(\"{}\".format(min(abs(a[0]-a[1]),abs(a[1]-a[2]),abs(a[2]-a[0])))) ",
"high_retention_rate": 0.5,
"low_retention_rate": 0.0
},
{
"user_id": "u566968132",
"problem_id": "p02711",
"submission1_id": "s784375564",
"submission2_id": "s495901545",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "n=input()\nif int(n[-1])==7 or int(n[-2])==7 or int(n[-3])==7:\n print(\"Yes\")\nelse:\n print(\"NO\")",
"code2": "n=input()\nif int(n[-1])==7 or int(n[-2])==7 or int(n[-3])==7:\n print(\"Yes\")\nelse:\n print(\"No\")",
"original_language1": "Python (3.8.2)",
"original_language2": "Python (3.8.2)",
"date1": "1586770953",
"date2": "1586771767",
"bleu_score": "0.9770265056292884",
"code1_test_status": [0, 1, 0, 1, 0, 0, 1, 1, 0, 0],
"code1_test_score": 4,
"total_score": 10,
"input": "2610\n",
"actual_output": "NO\n",
"expected_output": "No\n\n",
"anno_code": ["n=input() # (0): n=2610\nif int(n[-1])==7 or int(n[-2])==7 or int(n[-3])==7: # (1): NO CHANGE\n print(\"Yes\")\nelse:\n print(\"NO\")"],
"anno_status": [true],
"diff_content": " n=input()\n if int(n[-1])==7 or int(n[-2])==7 or int(n[-3])==7:\n print(\"Yes\")\n else:\n- print(\"NO\")\n+ print(\"No\")\n",
"FL_content": " n=input()\n if int(n[-1])==7 or int(n[-2])==7 or int(n[-3])==7:\n print(\"Yes\")\n else:\n- print(\"NO\")\n",
"added_lines": 1,
"removed_lines": 1,
"code1_lines": 5,
"code_content1": "\nn=input()\nif int(n[-1])==7 or int(n[-2])==7 or int(n[-3])==7:\n print(\"Yes\")\nelse:\n print(\"No\")",
"code_content2": "\nn=input()\nif int(n[-1])==7:\n print(\"Yes\")\nelse:\n print(\"No\")",
"high_retention_rate": 0.8,
"low_retention_rate": 0.6
},
{
"user_id": "u516579758",
"problem_id": "p03671",
"submission1_id": "s916494362",
"submission2_id": "s801698408",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "l=list(map(int,input().split()))\nd=min(l)\ne=min(l)\nprint(d+e)\n",
"code2": "l=list(map(int,input().split()))\nd=min(l)\nl.remove(d)\ne=min(l)\nprint(d+e)",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1591066868",
"date2": "1591068212",
"bleu_score": "0.8353320825229442",
"code1_test_status": [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0],
"code1_test_score": 6,
"total_score": 100,
"input": "11000 10110 10111\n",
"actual_output": "20220\n",
"expected_output": "20221\n\n",
"anno_code": ["l=list(map(int,input().split())) # (0): l=[11000, 10110, 10111]\nd=min(l) # (1): d=10110\ne=min(l) # (2): e=10110\nprint(d+e)\n"],
"anno_status": [true],
"diff_content": " l=list(map(int,input().split()))\n d=min(l)\n+l.remove(d)\n e=min(l)\n print(d+e)\n-\n",
"FL_content": " l=list(map(int,input().split()))\n d=min(l)\n e=min(l)\n print(d+e)\n-\n",
"added_lines": 1,
"removed_lines": 1,
"code1_lines": 5,
"code_content1": "l=list(map(int,input().split()))\nd=min(l)\nl.remove(d)\ne=min(l)\nprint(d+e)",
"code_content2": "\nl=list(map(int,input().split()))\nd=min(l)\ne=min(l)\nl.remove(d)\nl.remove(e)\nprint(d+min(l))\n",
"high_retention_rate": 1.0,
"low_retention_rate": 0.75
},
{
"user_id": "u631525844",
"problem_id": "p02853",
"submission1_id": "s118660448",
"submission2_id": "s613260585",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "x, y = input().split()\nprice = 0\ntry:\n if 1 <= int(x) <= 205 and 1 <= int(y) <= 205:\n if int(x) == 1 or int(y) == 1:\n price += 400000\n if int(x) == 1:\n price += 300000\n elif int(x) == 2:\n price += 200000\n elif int(x) == 3:\n price += 100000\n if int(y) == 1:\n price += 300000\n elif int(y) == 2:\n price += 200000\n elif int(y) == 3:\n price += 100000\n\n print(price)\nexcept:\n print(price)",
"code2": "x, y = input().split()\nprice = 0\ntry:\n if 1 <= int(x) <= 205 and 1 <= int(y) <= 205:\n if int(x) == 1 and int(y) == 1:\n price += 400000\n if int(x) == 1:\n price += 300000\n elif int(x) == 2:\n price += 200000\n elif int(x) == 3:\n price += 100000\n if int(y) == 1:\n price += 300000\n elif int(y) == 2:\n price += 200000\n elif int(y) == 3:\n price += 100000\n\n print(price)\nexcept:\n print(price)",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1574564258",
"date2": "1574564549",
"bleu_score": "0.9912803807435642",
"code1_test_status": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"code1_test_score": 38,
"total_score": 41,
"input": "57 1\n",
"actual_output": "700000\n",
"expected_output": "300000\n\n",
"anno_code": ["x, y = input().split() # (0): x=57, y=1\nprice = 0 # (1): price=0\ntry: # (2): NO CHANGE\n if 1 <= int(x) <= 205 and 1 <= int(y) <= 205: # (3): NO CHANGE\n if int(x) == 1 or int(y) == 1: # (4): NO CHANGE\n price += 400000 # (5): price=400000\n if int(x) == 1: # (6): NO CHANGE\n price += 300000\n elif int(x) == 2: # (7): NO CHANGE\n price += 200000\n elif int(x) == 3: # (8): NO CHANGE\n price += 100000\n if int(y) == 1: # (9): NO CHANGE\n price += 300000 # (10): price=700000\n elif int(y) == 2:\n price += 200000\n elif int(y) == 3:\n price += 100000\n\n print(price)\nexcept:\n print(price)"],
"anno_status": [true],
"diff_content": " x, y = input().split()\n price = 0\n try:\n if 1 <= int(x) <= 205 and 1 <= int(y) <= 205:\n- if int(x) == 1 or int(y) == 1:\n+ if int(x) == 1 and int(y) == 1:\n price += 400000\n if int(x) == 1:\n price += 300000\n elif int(x) == 2:\n price += 200000\n elif int(x) == 3:\n price += 100000\n if int(y) == 1:\n price += 300000\n elif int(y) == 2:\n price += 200000\n elif int(y) == 3:\n price += 100000\n \n print(price)\n except:\n print(price)\n",
"FL_content": " x, y = input().split()\n price = 0\n try:\n if 1 <= int(x) <= 205 and 1 <= int(y) <= 205:\n- if int(x) == 1 or int(y) == 1:\n price += 400000\n if int(x) == 1:\n price += 300000\n elif int(x) == 2:\n price += 200000\n elif int(x) == 3:\n price += 100000\n if int(y) == 1:\n price += 300000\n elif int(y) == 2:\n price += 200000\n elif int(y) == 3:\n price += 100000\n \n print(price)\n except:\n print(price)\n",
"added_lines": 1,
"removed_lines": 1,
"code1_lines": 22,
"code_content1": "x, y = input().split()\nprice = 0\ntry:\n if 1 <= int(x) <= 205 and 1 <= int(y) <= 205:\n if int(x) == 1 and int(y) == 1:\n price += 400000\n if int(x) == 1:\n price += 300000\n elif int(x) == 2:\n price += 200000\n elif int(x) == 3:\n price += 100000\n if int(y) == 1:\n price += 300000\n elif int(y) == 2:\n price += 200000\n elif int(y) == 3:\n price += 100000\n\n print(price)\nexcept:\n print(price)",
"code_content2": "\nx, y = input().split()\nprice = 0\nif 1 <= int(x) <= 205 and 1 <= int(y) <= 205:\n if int(x) == 1 or int(y) == 1:\n price += 400000\n if int(x) == 1:\n price += 300000\n elif int(x) == 2:\n price += 200000\n elif int(x) == 3:\n price += 100000\n if int(y) == 1:\n price += 300000\n elif int(y) == 2:\n price += 200000\n elif int(y) == 3:\n price += 100000\n\nprint(price)",
"high_retention_rate": 0.9545454545454546,
"low_retention_rate": 0.13636363636363635
},
{
"user_id": "u327546577",
"problem_id": "p02421",
"submission1_id": "s366947082",
"submission2_id": "s136007848",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "taro = 0\nhana = 0\nn = int(input())\nfor _ in range(n):\n taro_s, hana_s = map(str, input().split())\n if taro_s < hana_s:\n taro += 3\n elif hana_s < taro_s:\n hana += 3\n else:\n taro += 1\n hana += 1\nprint(taro, hana)\n\n",
"code2": "taro = 0\nhana = 0\nn = int(input())\nfor _ in range(n):\n taro_s, hana_s = map(str, input().split())\n if taro_s > hana_s:\n taro += 3\n elif hana_s > taro_s:\n hana += 3\n else:\n taro += 1\n hana += 1\nprint(taro, hana)\n\n",
"original_language1": "Python3",
"original_language2": "Python3",
"date1": "1528145452",
"date2": "1528145509",
"bleu_score": "0.9799582042769212",
"code1_test_status": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"code1_test_score": 0,
"total_score": 101,
"input": "3\naeu goe\ndirh giuh\nnojk tiger\n",
"actual_output": "9 0\n",
"expected_output": "0 9\n\n",
"anno_code": ["taro = 0 # (0): taro=0\nhana = 0 # (1): hana=0\nn = int(input()) # (2): n=3\nfor _ in range(n): # (3): _=0 (7): _=1 ... (15): NO CHANGE\n taro_s, hana_s = map(str, input().split()) # (4): taro_s=aeu, hana_s=goe (8): taro_s=dirh, hana_s=giuh (12): taro_s=nojk, hana_s=tiger\n if taro_s < hana_s: # (5): NO CHANGE (9): NO CHANGE (13): NO CHANGE\n taro += 3 # (6): taro=3 (10): taro=6 (14): taro=9\n elif hana_s < taro_s:\n hana += 3\n else:\n taro += 1\n hana += 1\nprint(taro, hana)\n\n"],
"anno_status": [true],
"diff_content": " taro = 0\n hana = 0\n n = int(input())\n for _ in range(n):\n taro_s, hana_s = map(str, input().split())\n- if taro_s < hana_s:\n+ if taro_s > hana_s:\n taro += 3\n- elif hana_s < taro_s:\n+ elif hana_s > taro_s:\n hana += 3\n else:\n taro += 1\n hana += 1\n print(taro, hana)\n \n \n",
"FL_content": " taro = 0\n hana = 0\n n = int(input())\n for _ in range(n):\n taro_s, hana_s = map(str, input().split())\n- if taro_s < hana_s:\n taro += 3\n- elif hana_s < taro_s:\n hana += 3\n else:\n taro += 1\n hana += 1\n print(taro, hana)\n \n \n",
"added_lines": 2,
"removed_lines": 2,
"code1_lines": 15,
"code_content1": "\ntaro = 0\nhana = 0\nn = int(input())\nfor _ in range(n):\n taro_s, hana_s = map(str, input().split())\n if taro_s < hana_s:\n hana += 3\n elif hana_s < taro_s:\n taro += 3\n else:\n taro += 1\n hana += 1\nprint(taro, hana)\n\n",
"code_content2": "\ntaro = [0] * 1001\nhana = [0] * 1001\nn = int(input())\nfor _ in range(n):\n taro_s, hana_s = map(str, input().split())\n if taro_s < hana_s:\n taro[3 * _ + 1] += 3\n taro[3 * _ + 2] += 1\n hana[3 * _ + 1] += 1\n hana[3 * _ + 2] += 3\n elif hana_s < taro_s:\n taro[3 * _ + 1] += 1\n taro[3 * _ + 2] += 3\n hana[3 * _ + 1] += 3\n hana[3 * _ + 2] += 1\n else:\n taro[3 * _ + 1] += 1\n taro[3 * _ + 2] += 1\n hana[3 * _ + 1] += 1\n hana[3 * _ + 2] += 1\nprint(sum(taro), sum(hana))\n\n",
"high_retention_rate": 0.8461538461538461,
"low_retention_rate": 0.46153846153846156
},
{
"user_id": "u291628833",
"problem_id": "p02970",
"submission1_id": "s259273269",
"submission2_id": "s413810264",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "n,d= map(int,input().split(\" \"))\nif n%(1+2*d):\n print(n/(1+2*d))\nelse:\n print(int(n/(1+2*d))+1)",
"code2": "n,d= map(int,input().split(\" \"))\nif n%(1+2*d)==0:\n print(int(n/(1+2*d)))\nelse:\n print(int(n/(1+2*d))+1)",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1567975520",
"date2": "1567975682",
"bleu_score": "0.909031776704871",
"code1_test_status": [0, 0, 0, 0, 0],
"code1_test_score": 0,
"total_score": 5,
"input": "20 14\n",
"actual_output": "0.6896551724137931\n",
"expected_output": "1\n\n",
"anno_code": ["n,d= map(int,input().split(\" \")) # (0): n=20, d=14\nif n%(1+2*d): # (1): NO CHANGE\n print(n/(1+2*d))\nelse:\n print(int(n/(1+2*d))+1)"],
"anno_status": [true],
"diff_content": " n,d= map(int,input().split(\" \"))\n-if n%(1+2*d):\n- print(n/(1+2*d))\n+if n%(1+2*d)==0:\n+ print(int(n/(1+2*d)))\n else:\n print(int(n/(1+2*d))+1)\n",
"FL_content": " n,d= map(int,input().split(\" \"))\n-if n%(1+2*d):\n- print(n/(1+2*d))\n else:\n print(int(n/(1+2*d))+1)\n",
"added_lines": 2,
"removed_lines": 2,
"code1_lines": 5,
"code_content1": "n,d= map(int,input().split(\" \"))\nif n%(1+2*d)==0:\n print(int(n/(1+2*d)))\nelse:\n print(int(n/(1+2*d))+1)",
"code_content2": "\nn,d= map(int,input().split(\" \"))\nif n%(1+2*d)!=0:\n print(int(n/(1+2*d))+1)\nelse:\n print(n/(1+2*d))",
"high_retention_rate": 0.6,
"low_retention_rate": 0.4
},
{
"user_id": "u588794534",
"problem_id": "p02993",
"submission1_id": "s506974653",
"submission2_id": "s186936032",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "s=input()\nif s[0]==s[1] or s[1]==s[2] or s[2]==s[3]:\n print(\"Good\")\nelse:\n print(\"Bad\")",
"code2": "s=input()\nif s[0]==s[1] or s[1]==s[2] or s[2]==s[3]:\n print(\"Bad\")\nelse:\n print(\"Good\")\n",
"original_language1": "PyPy3 (7.3.0)",
"original_language2": "PyPy3 (7.3.0)",
"date1": "1593398995",
"date2": "1593399031",
"bleu_score": "0.9886987508375231",
"code1_test_status": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"code1_test_score": 0,
"total_score": 89,
"input": "10674\n",
"actual_output": "Bad\n",
"expected_output": "Good\n\n",
"anno_code": ["s=input() # (0): s=10674\nif s[0]==s[1] or s[1]==s[2] or s[2]==s[3]: # (1): NO CHANGE\n print(\"Good\")\nelse:\n print(\"Bad\")"],
"anno_status": [true],
"diff_content": " s=input()\n if s[0]==s[1] or s[1]==s[2] or s[2]==s[3]:\n- print(\"Good\")\n-else:\n print(\"Bad\")\n+else:\n+ print(\"Good\")\n+\n",
"FL_content": " s=input()\n if s[0]==s[1] or s[1]==s[2] or s[2]==s[3]:\n- print(\"Good\")\n-else:\n print(\"Bad\")\n",
"added_lines": 3,
"removed_lines": 2,
"code1_lines": 5,
"code_content1": "\ns=input()\nif s[0]==s[1] or s[1]==s[2] or s[2]==s[3]:\n print(\"Bad\")\nelse:\n print(\"Good\")",
"code_content2": "\ns=input()\nif s[0]==s[1] or s[1]==s[2] or s[2]==s[3] or s[3]==s[0]:\n print(\"Bad\")\nelse:\n print(\"Good\")",
"high_retention_rate": 0.6,
"low_retention_rate": 0.4
},
{
"user_id": "u250583425",
"problem_id": "p03000",
"submission1_id": "s265515040",
"submission2_id": "s942373229",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "import sys\ndef input(): return sys.stdin.readline().rstrip()\n\ndef main():\n n, x = map(int, input().split())\n l = tuple(map(int, input().split()))\n\n d = 0\n for i in range(1, n):\n d += l[i-1]\n if d >= x:\n print(i)\n quit()\n else:\n print(n)\n\nif __name__ == '__main__':\n main()\n",
"code2": "import sys\ndef input(): return sys.stdin.readline().rstrip()\n\ndef main():\n n, x = map(int, input().split())\n l = tuple(map(int, input().split()))\n\n d = 0\n for i in range(1, n+1):\n d += l[i-1]\n if d > x:\n print(i)\n quit()\n else:\n print(n+1)\n\nif __name__ == '__main__':\n main()\n",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1578428353",
"date2": "1578428752",
"bleu_score": "0.9745789306863786",
"code1_test_status": [0, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 1],
"code1_test_score": 35,
"total_score": 102,
"input": "4 9\n4 2 0 3\n",
"actual_output": "4\n",
"expected_output": "5\n\n",
"anno_code": ["import sys\ndef input(): return sys.stdin.readline().rstrip()\n\ndef main(): # (0): main=<function main>\n n, x = map(int, input().split())\n l = tuple(map(int, input().split()))\n\n d = 0\n for i in range(1, n):\n d += l[i-1]\n if d >= x:\n print(i)\n quit()\n else:\n print(n)\n\nif __name__ == '__main__':\n main()\n"],
"anno_status": [true],
"diff_content": " import sys\n def input(): return sys.stdin.readline().rstrip()\n \n def main():\n n, x = map(int, input().split())\n l = tuple(map(int, input().split()))\n \n d = 0\n- for i in range(1, n):\n+ for i in range(1, n+1):\n d += l[i-1]\n- if d >= x:\n+ if d > x:\n print(i)\n quit()\n else:\n- print(n)\n+ print(n+1)\n \n if __name__ == '__main__':\n main()\n \n",
"FL_content": " import sys\n def input(): return sys.stdin.readline().rstrip()\n \n def main():\n n, x = map(int, input().split())\n l = tuple(map(int, input().split()))\n \n d = 0\n- for i in range(1, n):\n d += l[i-1]\n- if d >= x:\n print(i)\n quit()\n else:\n- print(n)\n \n if __name__ == '__main__':\n main()\n \n",
"added_lines": 3,
"removed_lines": 3,
"code1_lines": 19,
"code_content1": "import sys\ndef input(): return sys.stdin.readline().rstrip()\n\ndef main():\n n, x = map(int, input().split())\n l = tuple(map(int, input().split()))\n\n d = 0\n for i in range(1, n+1):\n d += l[i-1]\n if d > x:\n print(i)\n quit()\n else:\n print(n+1)\n\nif __name__ == '__main__':\n main()\n",
"code_content2": "\nimport sys\ndef input(): return sys.stdin.readline().rstrip()\n\ndef main():\n n, x = map(int, input().split())\n l = tuple(map(int, input().split()))\n\n d = 0\n for i in range(1, n+1):\n d += l[i-1]\n if d > x:\n break\n print(i)\n\nif __name__ == '__main__':\n main()\n",
"high_retention_rate": 0.8333333333333334,
"low_retention_rate": 0.6666666666666666
},
{
"user_id": "u506127000",
"problem_id": "p03909",
"submission1_id": "s066611922",
"submission2_id": "s323055567",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "from string import ascii_uppercase\nH, W = [int(i) for i in input().split()]\nS = [input().split() for _ in range(H)]\nfor h in range(H):\n for w in range(W):\n if S[h][w] == \"snuke\":\n print(\"{}{}\".format(ascii_uppercase[w], h))\n",
"code2": "from string import ascii_uppercase\nH, W = [int(i) for i in input().split()]\nS = [input().split() for _ in range(H)]\nfor h in range(H):\n for w in range(W):\n if S[h][w] == \"snuke\":\n print(\"{}{}\".format(ascii_uppercase[w], h+1))\n",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1480181599",
"date2": "1480181642",
"bleu_score": "0.9857115209664216",
"code1_test_status": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"code1_test_score": 0,
"total_score": 101,
"input": "15 10\nsnake smake snake knase sneka snake snake snake snake snake\nsnake snake ekans snake snake snake rnake ekans snake snake\nsnake sneka ekans snake snake elans sneka snake snake snake\nsnake snake sn`ke fnask snake snake ekans snake snake snake\nekans snake snake naske ekans snake snake tnake snake snake\nsneka snake snake snake snake snake snake snuke snake snake\nsnakd snake snake snake snake snake snbke ekans sneka snake\nsnake enaks snake sanje snake snake snake snake snake snake\nsnake snake smake snake snake skane snake knase snake snake\nknase snake anske ekans snake snbke snake ekans snake snake\nsanke snake snake snake snake snake snake ekans snake snake\nsnake snake snake snake snake snake snake soake snale skane\nsnake snake snake snake snake snake snake snake ekans snake\nsnake snake sndka snake snaje snake snake sneka ekans snake\nsnake snake ekans snake sn`ke snake snake snake sneka snake\n",
"actual_output": "H5\n",
"expected_output": "H6\n\n",
"anno_code": ["from string import ascii_uppercase\nH, W = [int(i) for i in input().split()] # (0): H=15, W=10\nS = [input().split() for _ in range(H)] # (1): S\nfor h in range(H): # (2): h=0 (24): h=1 ... (311): h=14\n for w in range(W): # (3): w=0 (5): w=1 ... (332): NO CHANGE\n if S[h][w] == \"snuke\": # (4): NO CHANGE (6): NO CHANGE ... (331): NO CHANGE\n print(\"{}{}\".format(ascii_uppercase[w], h)) # (129): NO CHANGE\n"],
"anno_status": [true],
"diff_content": " from string import ascii_uppercase\n H, W = [int(i) for i in input().split()]\n S = [input().split() for _ in range(H)]\n for h in range(H):\n for w in range(W):\n if S[h][w] == \"snuke\":\n- print(\"{}{}\".format(ascii_uppercase[w], h))\n+ print(\"{}{}\".format(ascii_uppercase[w], h+1))\n \n",
"FL_content": " from string import ascii_uppercase\n H, W = [int(i) for i in input().split()]\n S = [input().split() for _ in range(H)]\n for h in range(H):\n for w in range(W):\n if S[h][w] == \"snuke\":\n- print(\"{}{}\".format(ascii_uppercase[w], h))\n \n",
"added_lines": 1,
"removed_lines": 1,
"code1_lines": 8,
"code_content1": "\nfrom string import ascii_uppercase\nH, W = [int(i) for i in input().split()]\nS = [input().split() for _ in range(H)]\nfor h in range(H):\n for w in range(W):\n if S[h][w] == \"snuke\":\n print(\"{}{}\".format(ascii_uppercase[w], h+1))\n",
"code_content2": "\nfrom string import ascii_uppercase\nH, W = [int(i) for i in input().split()]\nS = [input() for _ in range(H)]\nfor h in range(H):\n for w in range(W):\n if S[h][w*5:w*5+5] == \"snuke\":\n print(\"{}{}\".format(ascii_uppercase[w], h+1))\n",
"high_retention_rate": 0.8571428571428571,
"low_retention_rate": 0.5714285714285714
},
{
"user_id": "u169794024",
"problem_id": "p02394",
"submission1_id": "s274200640",
"submission2_id": "s161432572",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "W,H,x,y,r=map(int,input().split())\n\nif W>=(x+r):\n if H>=(y+r):\n print('Yes')\n else:\n print('No')\nelse:\n print('No')",
"code2": "W,H,x,y,r=map(int,input().split())\n\nif W>=(x+r) and r<=x:\n if H>=(y+r) and r<=y:\n print('Yes')\n else:\n print('No')\nelse:\n print('No')",
"original_language1": "Python3",
"original_language2": "Python3",
"date1": "1498527049",
"date2": "1498527155",
"bleu_score": "0.842351448639194",
"code1_test_status": [1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"code1_test_score": 97,
"total_score": 102,
"input": "1 7 1 -2 0\n",
"actual_output": "Yes\n",
"expected_output": "No\n\n",
"anno_code": ["W,H,x,y,r=map(int,input().split()) # (0): W=1, H=7, x=1, y=-2, r=0\n\nif W>=(x+r): # (1): NO CHANGE\n if H>=(y+r): # (2): NO CHANGE\n print('Yes')\n else:\n print('No')\nelse:\n print('No')"],
"anno_status": [true],
"diff_content": " W,H,x,y,r=map(int,input().split())\n \n-if W>=(x+r):\n- if H>=(y+r):\n+if W>=(x+r) and r<=x:\n+ if H>=(y+r) and r<=y:\n print('Yes')\n else:\n print('No')\n else:\n print('No')\n",
"FL_content": " W,H,x,y,r=map(int,input().split())\n \n-if W>=(x+r):\n- if H>=(y+r):\n print('Yes')\n else:\n print('No')\n else:\n print('No')\n",
"added_lines": 2,
"removed_lines": 2,
"code1_lines": 9,
"code_content1": "W,H,x,y,r=map(int,input().split())\n\nif W>=(x+r) and r<=x:\n if H>=(y+r) and r<=y:\n print('Yes')\n else:\n print('No')\nelse:\n print('No')",
"code_content2": "\nW,H,x,y,r=map(int,input().split())\n\nif W>=(x+r) and H>=(y+r):\n if W>=(x+r) and H>=(y+r):\n print('Yes')\n else:\n print('No')\nelse:\n print('No')",
"high_retention_rate": 0.7777777777777778,
"low_retention_rate": 0.4444444444444444
},
{
"user_id": "u951601135",
"problem_id": "p03605",
"submission1_id": "s800781539",
"submission2_id": "s815766565",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "N=list(map(int,input()))\nprint(9 in N)",
"code2": "N=list(map(int,input()))\nprint('Yes' if(9 in N) else \"No\")",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1549396588",
"date2": "1549396664",
"bleu_score": "0.6319437671922397",
"code1_test_status": [0, 0],
"code1_test_score": 0,
"total_score": 2,
"input": "1223\n",
"actual_output": "False\n",
"expected_output": "No\n\n",
"anno_code": ["N=list(map(int,input())) # (0): N=[1, 2, 2, 3]\nprint(9 in N)"],
"anno_status": [true],
"diff_content": " N=list(map(int,input()))\n-print(9 in N)\n+print('Yes' if(9 in N) else \"No\")\n",
"FL_content": " N=list(map(int,input()))\n-print(9 in N)\n",
"added_lines": 1,
"removed_lines": 1,
"code1_lines": 2,
"code_content1": "\nN=list(map(int,input()))\nprint(\"Yes\" if 9 in N else \"No\")",
"code_content2": "\nN=list(input())\nprint(\"Yes\" if 9 in N else \"No\")",
"high_retention_rate": 0.5,
"low_retention_rate": 0.0
},
{
"user_id": "u021019433",
"problem_id": "p02888",
"submission1_id": "s930600431",
"submission2_id": "s651529623",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "from bisect import bisect_right\n\nn = int(input())\na = sorted(map(int, input().split()))\nr = 0\nfor i in range(2, n):\n j = i - 1\n while j and a[j - 1] + a[j] > a[i]:\n r += j - bisect_right(a, i - j, 0, j)\n j -= 1\nprint(r)\n",
"code2": "from bisect import bisect_right\n\nn = int(input())\na = sorted(map(int, input().split()))\nr = 0\nfor i in range(2, n):\n j = i - 1\n while j and a[j - 1] + a[j] > a[i]:\n r += j - bisect_right(a, a[i] - a[j], 0, j)\n j -= 1\nprint(r)\n",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1571535774",
"date2": "1571536146",
"bleu_score": "0.9569215167086093",
"code1_test_status": [1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1],
"code1_test_score": 21,
"total_score": 101,
"input": "7\n116 1632 1217 7 129 232 12\n",
"actual_output": "3\n",
"expected_output": "1\n\n",
"anno_code": ["from bisect import bisect_right\n\nn = int(input()) # (0): n=7\na = sorted(map(int, input().split())) # (1): a=[7, 12, 116, 129, 232, 1217, 1632]\nr = 0 # (2): r=0\nfor i in range(2, n): # (3): i=2 (6): i=3 ... (21): NO CHANGE\n j = i - 1 # (4): j=1 (7): j=2 ... (19): j=5\n while j and a[j - 1] + a[j] > a[i]: # (5): NO CHANGE (8): NO CHANGE ... (20): NO CHANGE\n r += j - bisect_right(a, i - j, 0, j) # (12): r=3\n j -= 1 # (13): j=2\nprint(r)\n"],
"anno_status": [true],
"diff_content": " from bisect import bisect_right\n \n n = int(input())\n a = sorted(map(int, input().split()))\n r = 0\n for i in range(2, n):\n j = i - 1\n while j and a[j - 1] + a[j] > a[i]:\n- r += j - bisect_right(a, i - j, 0, j)\n+ r += j - bisect_right(a, a[i] - a[j], 0, j)\n j -= 1\n print(r)\n \n",
"FL_content": " from bisect import bisect_right\n \n n = int(input())\n a = sorted(map(int, input().split()))\n r = 0\n for i in range(2, n):\n j = i - 1\n while j and a[j - 1] + a[j] > a[i]:\n- r += j - bisect_right(a, i - j, 0, j)\n j -= 1\n print(r)\n \n",
"added_lines": 1,
"removed_lines": 1,
"code1_lines": 12,
"code_content1": "\nfrom bisect import bisect_right\n\nn = int(input())\na = sorted(map(int, input().split()))\nr = 0\nfor i in range(2, n):\n j = i - 1\n while j and a[j - 1] + a[j] > a[i]:\n r += j - bisect_right(a, a[i] - a[j], 0, j)\n j -= 1\nprint(r)",
"code_content2": "\nfrom bisect import bisect_right\n\nn = int(input())\na = sorted(map(int, input().split()))\nr = 0\nfor i in range(n - 2):\n j = i + 1\n while j < n - 1:\n k = j + 1\n while k < n:\n if a[i] + a[j] > a[k]:\n break\n r += k - bisect_right(a, a[i] + a[j], 0, k)\n k += 1\n j += 1\nprint(r)\n",
"high_retention_rate": 0.9090909090909091,
"low_retention_rate": 0.5454545454545454
},
{
"user_id": "u731362892",
"problem_id": "p02612",
"submission1_id": "s800605725",
"submission2_id": "s347276810",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "n=int(input())\nwhile n<=0:\n n-=1000\nprint(abs(n))",
"code2": "n=int(input())\nwhile n>0:\n n-=1000\nprint(abs(n))",
"original_language1": "Python (3.8.2)",
"original_language2": "Python (3.8.2)",
"date1": "1597810767",
"date2": "1597810881",
"bleu_score": "0.9273397041322389",
"code1_test_status": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"code1_test_score": 0,
"total_score": 27,
"input": "699\n",
"actual_output": "699\n",
"expected_output": "301\n\n",
"anno_code": ["n=int(input()) # (0): n=699\nwhile n<=0: # (1): NO CHANGE\n n-=1000\nprint(abs(n))"],
"anno_status": [true],
"diff_content": " n=int(input())\n-while n<=0:\n+while n>0:\n n-=1000\n print(abs(n))\n",
"FL_content": " n=int(input())\n-while n<=0:\n n-=1000\n print(abs(n))\n",
"added_lines": 1,
"removed_lines": 1,
"code1_lines": 4,
"code_content1": "\nn=int(input())\nwhile n>0:\n n-=1000\nprint(abs(n))",
"code_content2": "\nn=int(input())\nwhile n>0:\n n-=1000\nprint(n)",
"high_retention_rate": 0.75,
"low_retention_rate": 0.5
},
{
"user_id": "u939555793",
"problem_id": "p03011",
"submission1_id": "s822139645",
"submission2_id": "s335391195",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "import sys\ndata = sys.stdin.readlines()\nprint(data[0].split())\ninputs = [int(x) for x in data[0].split()]\ninputs.sort()\nprint(inputs[0] + inputs[1])",
"code2": "import sys\ndata = sys.stdin.readlines()\ninputs = [int(x) for x in data[0].split()]\ninputs.sort()\nprint(inputs[0] + inputs[1])",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1560133120",
"date2": "1560133258",
"bleu_score": "0.8302257520237374",
"code1_test_status": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"code1_test_score": 0,
"total_score": 83,
"input": "010 -10 -10\n",
"actual_output": "['010', '-10', '-10']\n-20\n",
"expected_output": "-20\n\n",
"anno_code": ["import sys\ndata = sys.stdin.readlines() # (0): data=['010 -10 -10\\n']\nprint(data[0].split()) # (1): NO CHANGE\ninputs = [int(x) for x in data[0].split()] # (2): inputs=[10, -10, -10]\ninputs.sort() # (3): inputs=[-10, -10, 10]\nprint(inputs[0] + inputs[1])"],
"anno_status": [true],
"diff_content": " import sys\n data = sys.stdin.readlines()\n-print(data[0].split())\n inputs = [int(x) for x in data[0].split()]\n inputs.sort()\n print(inputs[0] + inputs[1])\n",
"FL_content": " import sys\n data = sys.stdin.readlines()\n-print(data[0].split())\n inputs = [int(x) for x in data[0].split()]\n inputs.sort()\n print(inputs[0] + inputs[1])\n",
"added_lines": 0,
"removed_lines": 1,
"code1_lines": 6,
"code_content1": "\nimport sys\ndata = sys.stdin.readlines()\ninputs = [int(x) for x in data[0].split()]\ninputs.sort()\nprint(inputs[0] + inputs[1])",
"code_content2": "\nimport sys\ndata = sys.stdin.readlines()\ninputs = [int(x) for x in data[0].split()]\ninputs.sort()\nprint(inputs[0] + inputs[2])",
"high_retention_rate": 0.8333333333333334,
"low_retention_rate": 0.6666666666666666
},
{
"user_id": "u284434653",
"problem_id": "p02911",
"submission1_id": "s180952629",
"submission2_id": "s700259159",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "n, k, q = map(int, input().split())\na = [0] * q\n\nfor i in range(q):\n a[i] = int(input())\na_copy = [0] * n\n\nfor i in a:\n a_copy[i-1] += 1\nprint(a)\nprint(a_copy)\nfor i in a_copy:\n if q - i < k:\n print(\"Yes\")\n else:\n print(\"No\")\n",
"code2": "n, k, q = map(int, input().split())\na = [0] * q\n\nfor i in range(q):\n a[i] = int(input())\na_copy = [0] * n\n\nfor i in a:\n a_copy[i-1] += 1\n\nfor i in a_copy:\n if q - i < k:\n print(\"Yes\")\n else:\n print(\"No\")\n",
"original_language1": "PyPy3 (2.4.0)",
"original_language2": "PyPy3 (2.4.0)",
"date1": "1590724704",
"date2": "1590724759",
"bleu_score": "0.9027813281662759",
"code1_test_status": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"code1_test_score": 0,
"total_score": 103,
"input": "6 3 4\n3\n1\n3\n4\n",
"actual_output": "[3, 1, 3, 4]\n[1, 0, 2, 1, 0, 0]\nNo\nNo\nYes\nNo\nNo\nNo\n",
"expected_output": "No\nNo\nYes\nNo\nNo\nNo\n\n",
"anno_code": ["n, k, q = map(int, input().split()) # (0): n=6, k=3, q=4\na = [0] * q # (1): a=[0, 0, 0, 0]\n\nfor i in range(q): # (2): i=0 (4): i=1 ... (10): NO CHANGE\n a[i] = int(input()) # (3): a=[3, 0, 0, 0] (5): a=[3, 1, 0, 0] ... (9): a=[3, 1, 3, 4]\na_copy = [0] * n # (11): a_copy=[0, 0, 0, 0, 0, 0]\n\nfor i in a: # (12): NO CHANGE (14): i=1 ... (20): NO CHANGE\n a_copy[i-1] += 1 # (13): a_copy=[0, 0, 1, 0, 0, 0] (15): a_copy=[1, 0, 1, 0, 0, 0] ... (19): a_copy=[1, 0, 2, 1, 0, 0]\nprint(a) # (21): NO CHANGE\nprint(a_copy) # (22): NO CHANGE\nfor i in a_copy: # (23): i=1 (26): i=0 ... (38): NO CHANGE\n if q - i < k: # (24): NO CHANGE (27): NO CHANGE ... (39): NO CHANGE\n print(\"Yes\") # (31): NO CHANGE\n else:\n print(\"No\") # (25): NO CHANGE (28): NO CHANGE ... (40): NO CHANGE\n"],
"anno_status": [true],
"diff_content": " n, k, q = map(int, input().split())\n a = [0] * q\n \n for i in range(q):\n a[i] = int(input())\n a_copy = [0] * n\n \n for i in a:\n a_copy[i-1] += 1\n-print(a)\n-print(a_copy)\n+\n for i in a_copy:\n if q - i < k:\n print(\"Yes\")\n else:\n print(\"No\")\n \n",
"FL_content": " n, k, q = map(int, input().split())\n a = [0] * q\n \n for i in range(q):\n a[i] = int(input())\n a_copy = [0] * n\n \n for i in a:\n a_copy[i-1] += 1\n-print(a)\n-print(a_copy)\n for i in a_copy:\n if q - i < k:\n print(\"Yes\")\n else:\n print(\"No\")\n \n",
"added_lines": 1,
"removed_lines": 2,
"code1_lines": 17,
"code_content1": "\nn, k, q = map(int, input().split())\na = [0] * q\n\nfor i in range(q):\n a[i] = int(input())\na_copy = [0] * n\n\nfor i in a:\n a_copy[i-1] += 1\nfor i in a_copy:\n if q - i < k:\n print(\"Yes\")\n else:\n print(\"No\")\n",
"code_content2": "\nn, k, q = map(int, input().split())\na = [0] * n\nfor i in range(q):\n a[int(input())-1] += 1\na_copy = [0] * n\nfor i in a:\n a_copy[i] += 1\nfor i in range(n):\n if q - a_copy[i] < k:\n print(\"Yes\")\n else:\n print(\"No\")",
"high_retention_rate": 0.875,
"low_retention_rate": 0.4375
},
{
"user_id": "u331997680",
"problem_id": "p03378",
"submission1_id": "s429272336",
"submission2_id": "s206611634",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "N, M, X = map(int, input().split())\nA = list(map(int,input().split()))\nprint(A)\nfor i in range(M-1):\n if A[0] > X or A[M-1] < X:\n print(0)\n break\n elif A[i] < X < A[i+1]:\n print(min(i+1, M-i-1))\n break",
"code2": "N, M, X = map(int, input().split())\nA = list(map(int,input().split()))\nfor i in range(M-1):\n if A[0] > X or A[M-1] < X:\n print(0)\n break\n elif A[i] < X < A[i+1]:\n print(min(i+1, M-i-1))\n break",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1587875423",
"date2": "1587875482",
"bleu_score": "0.9560702448070136",
"code1_test_status": [0],
"code1_test_score": 0,
"total_score": 1,
"input": "5 3 3\n1 2 4\n",
"actual_output": "[1, 2, 4]\n1\n",
"expected_output": "1\n",
"anno_code": ["N, M, X = map(int, input().split()) # (0): N=5, M=3, X=3\nA = list(map(int,input().split())) # (1): A=[1, 2, 4]\nprint(A) # (2): NO CHANGE\nfor i in range(M-1): # (3): i=0 (6): i=1\n if A[0] > X or A[M-1] < X: # (4): NO CHANGE (7): NO CHANGE\n print(0)\n break\n elif A[i] < X < A[i+1]: # (5): NO CHANGE (8): NO CHANGE\n print(min(i+1, M-i-1)) # (9): NO CHANGE\n break"],
"anno_status": [true],
"diff_content": " N, M, X = map(int, input().split())\n A = list(map(int,input().split()))\n-print(A)\n for i in range(M-1):\n if A[0] > X or A[M-1] < X:\n print(0)\n break\n elif A[i] < X < A[i+1]:\n print(min(i+1, M-i-1))\n break\n",
"FL_content": " N, M, X = map(int, input().split())\n A = list(map(int,input().split()))\n-print(A)\n for i in range(M-1):\n if A[0] > X or A[M-1] < X:\n print(0)\n break\n elif A[i] < X < A[i+1]:\n print(min(i+1, M-i-1))\n break\n",
"added_lines": 0,
"removed_lines": 1,
"code1_lines": 10,
"code_content1": "\nN, M, X = map(int, input().split())\nA = list(map(int,input().split()))\nfor i in range(M-1):\n if A[0] > X or A[M-1] < X:\n print(0)\n break\n elif A[i] < X < A[i+1]:\n print(min(i+1, M-i-1))\n break",
"code_content2": "\nN, M, X = map(int, input().split())\nA = list(map(int,input().split()))\nfor i in range(M):\n if A[i] < X:\n X = A[i]\n elif A[i] > X:\n X = A[i]\nprint(M-min(X, N-X))",
"high_retention_rate": 0.9,
"low_retention_rate": 0.2
},
{
"user_id": "u161155417",
"problem_id": "p02700",
"submission1_id": "s129873528",
"submission2_id": "s754169583",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "a,b,c,d = map(int,input().split())\nx=c/b\ny=a/d\nif x<=y:\n print(\"Yes\")\nelif x>y:\n print(\"No\")",
"code2": "import math\na,b,c,d = map(int,input().split())\nx=c/b\ny=a/d\nx=math.ceil(x)\ny=math.ceil(y)\nif x<=y:\n print(\"Yes\")\nelse:\n print(\"No\")",
"original_language1": "Python (3.8.2)",
"original_language2": "Python (3.8.2)",
"date1": "1588522005",
"date2": "1588528407",
"bleu_score": "0.6524076083510015",
"code1_test_status": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1],
"code1_test_score": 100,
"total_score": 102,
"input": "2 14 3 12\n",
"actual_output": "No\n",
"expected_output": "Yes\n\n",
"anno_code": ["a,b,c,d = map(int,input().split()) # (0): a=2, b=14, c=3, d=12\nx=c/b # (1): x=0.214286\ny=a/d # (2): y=0.166667\nif x<=y: # (3): NO CHANGE\n print(\"Yes\")\nelif x>y: # (4): NO CHANGE\n print(\"No\")"],
"anno_status": [true],
"diff_content": "+import math\n a,b,c,d = map(int,input().split())\n x=c/b\n y=a/d\n+x=math.ceil(x)\n+y=math.ceil(y)\n if x<=y:\n print(\"Yes\")\n-elif x>y:\n+else:\n print(\"No\")\n",
"FL_content": " a,b,c,d = map(int,input().split())\n x=c/b\n y=a/d\n if x<=y:\n print(\"Yes\")\n-elif x>y:\n print(\"No\")\n",
"added_lines": 4,
"removed_lines": 1,
"code1_lines": 7,
"code_content1": "import math\na,b,c,d = map(int,input().split())\nx=c/b\ny=a/d\nx=math.ceil(x)\ny=math.ceil(y)\nif x<=y:\n print(\"Yes\")\nelse:\n print(\"No\")",
"code_content2": "\na,b,c,d = map(int,input().split())\nx=c\ny=a\nwhile True:\n x=x-d\n y=y-c\n if x<=0:\n print(\"Yes\")\n break\n elif y<=0:\n print(\"No\")\n break",
"high_retention_rate": 0.8571428571428571,
"low_retention_rate": 0.14285714285714285
},
{
"user_id": "u522293645",
"problem_id": "p02970",
"submission1_id": "s071590550",
"submission2_id": "s190682219",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "n,d = map(int,input().split())\n\nprint(-(-(n-d)/(d+1)))",
"code2": "n,d = map(int,input().split())\n\nprint(-(-n",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1591087229",
"date2": "1591087664",
"bleu_score": "0.7373366089802602",
"code1_test_status": [0, 0, 0, 0, 0],
"code1_test_score": 0,
"total_score": 5,
"input": "36 28\n",
"actual_output": "0.27586206896551724\n",
"expected_output": "1\n\n",
"anno_code": ["n,d = map(int,input().split()) # (0): n=36, d=28\n\nprint(-(-(n-d)/(d+1)))"],
"anno_status": [true],
"diff_content": " n,d = map(int,input().split())\n \n-print(-(-(n-d)/(d+1)))\n+print(-(-n\n",
"FL_content": " n,d = map(int,input().split())\n \n-print(-(-(n-d)/(d+1)))\n",
"added_lines": 1,
"removed_lines": 1,
"code1_lines": 3,
"code_content1": "n,d = map(int,input().split())\n\nprint(-(-n",
"code_content2": "\nn,d = map(int,input().split())\nprint(-(-(n-1)/(d*2+1)))",
"high_retention_rate": 0.6666666666666666,
"low_retention_rate": 0.3333333333333333
},
{
"user_id": "u814986259",
"problem_id": "p03024",
"submission1_id": "s058053849",
"submission2_id": "s984335156",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "S=input()\nk=S.count(\"o\")\nif k>=8:\n print(\"YES\")\nelse:\n print(\"NO\")",
"code2": "S=input()\nl=len(S)\nk=S.count(\"o\")\nK=15-l\nif k+K>=8:\n print(\"YES\")\nelse:\n print(\"NO\")\n",
"original_language1": "Python (3.8.2)",
"original_language2": "Python (3.8.2)",
"date1": "1595032209",
"date2": "1595032539",
"bleu_score": "0.7475364493861675",
"code1_test_status": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1],
"code1_test_score": 1,
"total_score": 102,
"input": "oxoxoyoxoxoxox\n",
"actual_output": "NO\n",
"expected_output": "YES\n\n",
"anno_code": ["S=input() # (0): S=oxoxoyoxoxoxox\nk=S.count(\"o\") # (1): k=7\nif k>=8: # (2): NO CHANGE\n print(\"YES\")\nelse:\n print(\"NO\")"],
"anno_status": [true],
"diff_content": " S=input()\n+l=len(S)\n k=S.count(\"o\")\n-if k>=8:\n+K=15-l\n+if k+K>=8:\n print(\"YES\")\n else:\n print(\"NO\")\n+\n",
"FL_content": " S=input()\n k=S.count(\"o\")\n-if k>=8:\n print(\"YES\")\n else:\n print(\"NO\")\n",
"added_lines": 4,
"removed_lines": 1,
"code1_lines": 6,
"code_content1": "\nS=input()\nk=S.count(\"o\")\nif k+15-len(S)>=8:\n print(\"YES\")\nelse:\n print(\"NO\")",
"code_content2": "\nS=input()\nk=len(S)\nif k+8<=15:\n print(\"YES\")\nelse:\n print(\"NO\")",
"high_retention_rate": 0.8333333333333334,
"low_retention_rate": 0.6666666666666666
},
{
"user_id": "u580362735",
"problem_id": "p03251",
"submission1_id": "s669485511",
"submission2_id": "s605250705",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "N,M,X,Y = map(int,input().split())\nx = list(map(int,input().split()))\ny = list(map(int,input().split()))\ntmp = list(range(X,Y+1))\ntmp2 = list(range(max(x),min(y)+1))\nif list(set(tmp) & set(tmp2)) == []:\n print('War')\nelse:\n print('No War')",
"code2": "N,M,X,Y = map(int,input().split())\nx = list(map(int,input().split()))\ny = list(map(int,input().split()))\ntmp = list(range(X+1,Y+1))\ntmp2 = list(range(max(x)+1,min(y)+1))\nif list(set(tmp) & set(tmp2)) == []:\n print('War')\nelse:\n print('No War')\n",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1551755672",
"date2": "1551755802",
"bleu_score": "0.9671929870003975",
"code1_test_status": [1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1],
"code1_test_score": 89,
"total_score": 103,
"input": "5 5 6 8\n-1 0 1 5 -76\n101 6 26\n",
"actual_output": "No War\n",
"expected_output": "War\n\n",
"anno_code": ["N,M,X,Y = map(int,input().split()) # (0): N=5, M=5, X=6, Y=8\nx = list(map(int,input().split())) # (1): x=[-1, 0, 1, 5, -76]\ny = list(map(int,input().split())) # (2): y=[101, 6, 26]\ntmp = list(range(X,Y+1)) # (3): tmp=[6, 7, 8]\ntmp2 = list(range(max(x),min(y)+1)) # (4): tmp2=[5, 6]\nif list(set(tmp) & set(tmp2)) == []: # (5): NO CHANGE\n print('War')\nelse:\n print('No War')"],
"anno_status": [true],
"diff_content": " N,M,X,Y = map(int,input().split())\n x = list(map(int,input().split()))\n y = list(map(int,input().split()))\n-tmp = list(range(X,Y+1))\n-tmp2 = list(range(max(x),min(y)+1))\n+tmp = list(range(X+1,Y+1))\n+tmp2 = list(range(max(x)+1,min(y)+1))\n if list(set(tmp) & set(tmp2)) == []:\n print('War')\n else:\n print('No War')\n+\n",
"FL_content": " N,M,X,Y = map(int,input().split())\n x = list(map(int,input().split()))\n y = list(map(int,input().split()))\n-tmp = list(range(X,Y+1))\n-tmp2 = list(range(max(x),min(y)+1))\n if list(set(tmp) & set(tmp2)) == []:\n print('War')\n else:\n print('No War')\n",
"added_lines": 3,
"removed_lines": 2,
"code1_lines": 9,
"code_content1": "\nN,M,X,Y = map(int,input().split())\nx = list(map(int,input().split()))\ny = list(map(int,input().split()))\ntmp = list(range(X+1,Y+1))\ntmp2 = list(range(max(x)+1,min(y)+1))\nif list(set(tmp) & set(tmp2)) == []:\n print('War')\nelse:\n print('No War')",
"code_content2": "\nN,M,X,Y = map(int,input().split())\nx = list(map(int,input().split()))\ny = list(map(int,input().split()))\ntmp = list(range(X+1,Y+1))\ntmp2 = list(range(max(x)+1,min(y)+1))\nif list(set(tmp) & set(tmp2)) == []:\n print('No War')\nelse:\n print('War')",
"high_retention_rate": 0.7777777777777778,
"low_retention_rate": 0.5555555555555556
},
{
"user_id": "u192541825",
"problem_id": "p03424",
"submission1_id": "s633780417",
"submission2_id": "s515151299",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "s=input()\nY=False\nfor w in s:\n if w==\"Y\":\n Y=True\nif Y==True:\n print(\"four\")\nelse:\n print(\"three\")\n",
"code2": "n=int(input())\ns=input()\nY=False\nfor w in s:\n if w==\"Y\":\n Y=True\nif Y==True:\n print(\"Four\")\nelse:\n print(\"Three\")\n",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1554671798",
"date2": "1554671959",
"bleu_score": "0.8458473150306574",
"code1_test_status": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"code1_test_score": 0,
"total_score": 103,
"input": "8\nN Y W F Y W Y Y\n",
"actual_output": "three\n",
"expected_output": "Four\n\n",
"anno_code": ["s=input() # (0): s=8\nY=False # (1): Y=False\nfor w in s: # (2): w=8 (4): NO CHANGE\n if w==\"Y\": # (3): NO CHANGE\n Y=True\nif Y==True: # (5): NO CHANGE\n print(\"four\")\nelse:\n print(\"three\")\n"],
"anno_status": [true],
"diff_content": "+n=int(input())\n s=input()\n Y=False\n for w in s:\n if w==\"Y\":\n Y=True\n if Y==True:\n- print(\"four\")\n+ print(\"Four\")\n else:\n- print(\"three\")\n+ print(\"Three\")\n \n",
"FL_content": " s=input()\n Y=False\n for w in s:\n if w==\"Y\":\n Y=True\n if Y==True:\n- print(\"four\")\n else:\n- print(\"three\")\n \n",
"added_lines": 3,
"removed_lines": 2,
"code1_lines": 10,
"code_content1": "n=int(input())\ns=input()\nY=False\nfor w in s:\n if w==\"Y\":\n Y=True\nif Y==True:\n print(\"Four\")\nelse:\n print(\"Three\")\n",
"code_content2": "\nN=int(input())\nS=input()\nY=0\nfor s in S.split():\n if s==\"Y\":\n Y+=1\nif Y==3:\n print(\"Three\")\nelse:\n print(\"Four\")\n",
"high_retention_rate": 0.7777777777777778,
"low_retention_rate": 0.1111111111111111
},
{
"user_id": "u666957484",
"problem_id": "p02706",
"submission1_id": "s765744644",
"submission2_id": "s925894772",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "import sys\ninput=sys.stdin.readline\n\nm,n=map(int,input().split())\nA=list(map(int,input().split()))\nprint(m-sum(A))\n",
"code2": "import sys\ninput=sys.stdin.readline\n\nm,n=map(int,input().split())\nA=list(map(int,input().split()))\nans=m-sum(A)\nif ans<0:\n ans=-1\nprint(ans)\n",
"original_language1": "Python (3.8.2)",
"original_language2": "Python (3.8.2)",
"date1": "1587345535",
"date2": "1587345719",
"bleu_score": "0.7714907667124765",
"code1_test_status": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1],
"code1_test_score": 61,
"total_score": 102,
"input": "0 1\n3 2\n",
"actual_output": "-5\n",
"expected_output": "-1\n\n",
"anno_code": ["import sys\ninput=sys.stdin.readline # (0): input=<built-in method readline of _io.TextIOWrapper object at 0x000002AAC1A76190>\n\nm,n=map(int,input().split()) # (1): m=0, n=1\nA=list(map(int,input().split())) # (2): A=[3, 2]\nprint(m-sum(A))\n"],
"anno_status": [true],
"diff_content": " import sys\n input=sys.stdin.readline\n \n m,n=map(int,input().split())\n A=list(map(int,input().split()))\n-print(m-sum(A))\n+ans=m-sum(A)\n+if ans<0:\n+ ans=-1\n+print(ans)\n \n",
"FL_content": " import sys\n input=sys.stdin.readline\n \n m,n=map(int,input().split())\n A=list(map(int,input().split()))\n-print(m-sum(A))\n \n",
"added_lines": 4,
"removed_lines": 1,
"code1_lines": 7,
"code_content1": "\nimport sys\ninput=sys.stdin.readline\n\nm,n=map(int,input().split())\nA=list(map(int,input().split()))\nif m-sum(A)>=0:\n print(m-sum(A))\nelse:\n print(-1)\n",
"code_content2": "\nimport sys\ninput=sys.stdin.readline\n\nn,m=map(int,input().split())\nA=list(map(int,input().split()))\nprint(n-sum(A))",
"high_retention_rate": 0.8333333333333334,
"low_retention_rate": 0.6666666666666666
},
{
"user_id": "u647767910",
"problem_id": "p03292",
"submission1_id": "s015002567",
"submission2_id": "s821947506",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "task = list(map(int, input().split()))\ncost = 0\nfor i in range(2):\n cost += task[i+1] - task[i]\nprint(cost)",
"code2": "task = list(map(int, input().split()))\ntask = sorted(task)\ncost = 0\nfor i in range(2):\n cost += task[i+1] - task[i]\nprint(cost)",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1555185597",
"date2": "1555185673",
"bleu_score": "0.839872037592848",
"code1_test_status": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
"code1_test_score": 18,
"total_score": 99,
"input": "100 111 001\n",
"actual_output": "-99\n",
"expected_output": "110\n\n",
"anno_code": ["task = list(map(int, input().split())) # (0): task=[100, 111, 1]\ncost = 0 # (1): cost=0\nfor i in range(2): # (2): i=0 (4): i=1 (6): NO CHANGE\n cost += task[i+1] - task[i] # (3): cost=11 (5): cost=-99\nprint(cost)"],
"anno_status": [true],
"diff_content": " task = list(map(int, input().split()))\n+task = sorted(task)\n cost = 0\n for i in range(2):\n cost += task[i+1] - task[i]\n print(cost)\n",
"FL_content": " task = list(map(int, input().split()))\n cost = 0\n for i in range(2):\n cost += task[i+1] - task[i]\n print(cost)\n",
"added_lines": 1,
"removed_lines": 0,
"code1_lines": 5,
"code_content1": "task = list(map(int, input().split()))\ntask = sorted(task)\ncost = 0\nfor i in range(2):\n cost += task[i+1] - task[i]\nprint(cost)",
"code_content2": "\ntask = list(map(int, input().split()))\ncost = 0\nfor i in range(2):\n cost += task[i+1] - task[i]\nprint(max(0, cost))",
"high_retention_rate": 1.0,
"low_retention_rate": 0.8
},
{
"user_id": "u551909378",
"problem_id": "p03077",
"submission1_id": "s973161511",
"submission2_id": "s411046505",
"status1": "Wrong Answer",
"status2": "Accepted",
"code1": "N = int(input())\nt = []\nfor i in range(5):\n t.append(int(input()))\n\nmt = min(t)\nprint(int(N / min(t)) + 5)",
"code2": "N = int(input())\nt = []\nfor i in range(5):\n t.append(int(input()))\n\nmt = min(t)\nif N%mt!=0:\n print(int(N / mt) + 5)\nelse:\n print(int(N/mt) + 4)",
"original_language1": "Python (3.4.3)",
"original_language2": "Python (3.4.3)",
"date1": "1554579884",
"date2": "1554580198",
"bleu_score": "0.6718600767623397",
"code1_test_status": [1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1],
"code1_test_score": 86,
"total_score": 103,
"input": "10\n31\n457\n1\n123\n48\n",
"actual_output": "15\n",
"expected_output": "14\n\n",
"anno_code": ["N = int(input()) # (0): N=10\nt = [] # (1): t=[]\nfor i in range(5): # (2): i=0 (4): i=1 ... (12): NO CHANGE\n t.append(int(input())) # (3): t=[31] (5): t=[31, 457] ... (11): t=[31, 457, 1, 123, 48]\n\nmt = min(t) # (13): mt=1\nprint(int(N / min(t)) + 5)"],
"anno_status": [true],
"diff_content": " N = int(input())\n t = []\n for i in range(5):\n t.append(int(input()))\n \n mt = min(t)\n-print(int(N / min(t)) + 5)\n+if N%mt!=0:\n+ print(int(N / mt) + 5)\n+else:\n+ print(int(N/mt) + 4)\n",
"FL_content": " N = int(input())\n t = []\n for i in range(5):\n t.append(int(input()))\n \n mt = min(t)\n-print(int(N / min(t)) + 5)\n",
"added_lines": 4,
"removed_lines": 1,
"code1_lines": 7,
"code_content1": "N = int(input())\nt = []\nfor i in range(5):\n t.append(int(input()))\n\nmt = min(t)\nif N%mt!=0:\n print(int(N / mt) + 5)\nelse:\n print(int(N/mt) + 4)",
"code_content2": "\nN = int(input())\nt = []\nfor i in range(5):\n t.append(int(input()))\nprint(int(N / min(t)) + 4)",
"high_retention_rate": 0.8571428571428571,
"low_retention_rate": 0.5714285714285714
}
]