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 |
|---|---|---|---|---|---|---|---|---|---|---|
p03280 | u359856428 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a,b = map(int,input().split(β β))\nprint((a - 1) * (b - 1))', 'a,b = map(int,input().split(β β))\nprint((a - 1) * (b - 1))', 'a,b = map(int,input().split(β β))\nprint((a - 1) * (b - 1))', 'a,b = map(int,input().split(β β))\nprint((a - 1) * (b - 1))', 'a,b = map(int,input().split(β β))\nprint((a - 1) * (b - 1))', 'a,b... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s569340393', 's569340393', 's726840992', 's726840992', 's765962743', 's765962743', 's569340393', 's569340393', 's726840992', 's726840992', 's765962743', 's765962743', 's452484654', 's452484654', 's452484654', 's452484654'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 62, 59, 59, 59, 59] |
p03280 | u360515075 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['print ((int(input())-1) * (int(input())-1))', 'print ((int(input())-1) * (int(input())-1))', 'print ((int(input())-1) * (int(input())-1))', 'print ((int(input())-1) * (int(input())-1))', 'a, b = map(int, input().split())\nprint ((a-1)*(b-1))', 'a, b = map(int, input().split())\nprint ((a-1)*(b-1))', 'a, b = map(int, ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s862454504', 's862454504', 's862454504', 's862454504', 's304342337', 's304342337', 's304342337', 's304342337'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 20.0, 20.0, 20.0, 20.0] | [43, 43, 43, 43, 52, 52, 52, 52] |
p03280 | u363992934 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['b, c = map(int, input().split())\nprint(B*C-B-C+1)', 'b, c = map(int, input().split())\nprint(B*C-B-C+1)', 'b, c = map(int, input().split())\nprint(B*C-B-C+1)', 'b, c = map(int, input().split())\nprint(B*C-B-C+1)', 'B, C = map(int, input().split())\nprint(B*C-B-C+1)', 'B, C = map(int, input().split())\nprint(B*C-B-C+... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s476003430', 's476003430', 's476003430', 's476003430', 's415419038', 's415419038', 's415419038', 's415419038'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [49, 49, 49, 49, 49, 49, 49, 49] |
p03280 | u371467115 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['n=int(input())\ntotal=0\nfor i in range(1,n+1,2):\n ans=0\n for j in range(1,i+1):\n if i%j==0:\n ans+=1\n if ans==8:\n total+=1\nprint(total)\n', 'n=int(input())\ntotal=0\nfor i in range(1,n+1,2):\n ans=0\n for j in range(1,i+1):\n if i%j==0:\n ans+=1\n if ans==8:\n total+=1\nprint(total)... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s382430448', 's382430448', 's382430448', 's382430448', 's050450462', 's050450462', 's050450462', 's050450462'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [148, 148, 148, 148, 47, 47, 47, 47] |
p03280 | u371595076 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['import math\nS = input()\nK = int(input())\n\nps = []\n\nfor s in S:\n i = int(s)\n if(i == 1):\n p = -1\n else:\n p = 5*(10**15) * math.log(i)\n ps.append(p)\n\nsum = 0\nindex = 0\n \nif K == 1:\n print(S[0])\nelse:\n for p in ps:\n\n if not p == -1:\n sum += p\n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s019123734', 's019123734', 's019123734', 's019123734', 's630287532', 's630287532', 's630287532', 's630287532'] | [3064.0, 3064.0, 3064.0, 3064.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [449, 449, 449, 449, 69, 69, 69, 69] |
p03280 | u373295322 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['import math\n\ns = input()\nk = math.log10(int(input()))\nindex_num = 0\npow_num = 5000000000000000\nif k == 0:\n print(s[0])\n exit()\nfor i in s:\n new_index_num = index_num + math.log10(int(i)) * pow_num\n if k > index_num and k <= new_index_num:\n print(i)\n break', 'import math\n\ns = input()\nk = mat... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s027913148', 's027913148', 's476130411', 's476130411', 's027913148', 's027913148', 's476130411', 's476130411', 's200355082', 's200355082', 's200355082', 's200355082'] | [3060.0, 3060.0, 3064.0, 3064.0, 3060.0, 3060.0, 3064.0, 3064.0, 2940.0, 2940.0, 2940.0, 2940.0] | [19.0, 19.0, 18.0, 18.0, 19.0, 19.0, 18.0, 18.0, 17.0, 17.0, 17.0, 17.0] | [266, 266, 1660, 1660, 266, 266, 1660, 1660, 58, 58, 58, 58] |
p03280 | u382423941 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['aa, b = map(int, input().split())\nif a == 2 or b == 2:\n print(1)\nelse:\n print(a*b - (a + b - 1))\n', 'aa, b = map(int, input().split())\nif a == 2 or b == 2:\n print(1)\nelse:\n print(a*b - (a + b - 1))\n', 'aa, b = map(int, input().split())\nif a == 2 or b == 2:\n print(1)\nelse:\n print(a*b - ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s183797550', 's183797550', 's183797550', 's183797550', 's698979618', 's698979618', 's698979618', 's698979618'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [22.0, 22.0, 22.0, 22.0, 17.0, 17.0, 17.0, 17.0] | [103, 103, 103, 103, 102, 102, 102, 102] |
p03280 | u384679440 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A = int(input())\nB = int(input())\nprint((A - 1) * (B - 1))', 'A = int(input())\nB = int(input())\nprint((A - 1) * (B - 1))', 'A = int(input())\nB = int(input())\nprint((A - 1) * (B - 1))', 'A = int(input())\nB = int(input())\nprint((A - 1) * (B - 1))', 'A, B = map(int, input().split())\nprint((A - 1) * (B - 1))', '... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s587942528', 's587942528', 's587942528', 's587942528', 's533654580', 's533654580', 's533654580', 's533654580'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [58, 58, 58, 58, 57, 57, 57, 57] |
p03280 | u385244248 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A,B = map(int,input().split())\nprint((A*B)-A-B+(A*B))\n', 'A,B = map(int,input().split())\nprint((A*B)-A-B+(A*B))\n', 'A,B = map(int,input().split())\nprint((A*B)-A-B+(A*B))\n', 'A,B = map(int,input().split())\nprint((A*B)-A-B+(A*B))\n', 'A,B = map(int,input().split())\nprint(int((A*B)-A-B+1))\n', 'A,B = map(int,inp... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s950306191', 's950306191', 's950306191', 's950306191', 's968921641', 's968921641', 's968921641', 's968921641'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [54, 54, 54, 54, 55, 55, 55, 55] |
p03280 | u390762426 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['print((int(input())-1)*(int(input())-1))', 'print((int(input())-1)*(int(input())-1))', 'print((int(input())-1)*(int(input())-1))', 'print((int(input())-1)*(int(input())-1))', 'a,b=map(int,input().split())\nprint((a-1)*(b-1))', 'a,b=map(int,input().split())\nprint((a-1)*(b-1))', 'a,b=map(int,input().split())\nprint((a... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s727111503', 's727111503', 's727111503', 's727111503', 's066605212', 's066605212', 's066605212', 's066605212'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0] | [40, 40, 40, 40, 47, 47, 47, 47] |
p03280 | u391475811 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A=int(input())\nB=int(input())\nprint(A*B-(A+B-1))', 'A=int(input())\nB=int(input())\nprint(A*B-(A+B-1))', 'A=int(input())\nB=int(input())\nprint(A*B-(A+B-1))', 'A=int(input())\nB=int(input())\nprint(A*B-(A+B-1))', 'A,B=map(int,input().split())\nprint(A*B-(A+B-1))', 'A,B=map(int,input().split())\nprint(A*B-(A+B-1))',... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s882173912', 's882173912', 's882173912', 's882173912', 's597991823', 's597991823', 's597991823', 's597991823'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [48, 48, 48, 48, 47, 47, 47, 47] |
p03280 | u392423112 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['x = int(input())\ny = int(input())\n\nN = (x - 1)*(y - 1)\nprint(N)', 'x = int(input())\ny = int(input())\n\nN = (x - 1)*(y - 1)\nprint(N)', 'x = int(input())\ny = int(input())\n\nN = (x - 1)*(y - 1)\nprint(N)', 'x = int(input())\ny = int(input())\n\nN = (x - 1)*(y - 1)\nprint(N)', 'x = int(input())\ny = int(input())... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s222499824', 's222499824', 's507364279', 's507364279', 's222499824', 's222499824', 's507364279', 's507364279', 's893896202', 's893896202', 's893896202', 's893896202'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [63, 63, 63, 63, 63, 63, 63, 63, 83, 83, 83, 83] |
p03280 | u394853232 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a, b = map(int,input().split())\nprint(str(a * b))', 'a, b = map(int,input().split())\nprint(str(a * b))', 'a, b = map(int,input().split())\nprint(str(a * b))', 'a, b = map(int,input().split())\nprint(str(a * b))', 'a, b = map(int,input().split())\nprint(str((a-1) * (b-1)))', 'a, b = map(int,input().split())\nprint(s... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s144250532', 's144250532', 's144250532', 's144250532', 's374401780', 's374401780', 's374401780', 's374401780'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 18.0, 18.0] | [49, 49, 49, 49, 57, 57, 57, 57] |
p03280 | u395086545 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a, b = map(int, input().split())\n\narea = (a - 1) * (b - 1)\nprin(area)', 'a, b = map(int, input().split())\n\narea = (a - 1) * (b - 1)\nprin(area)', 'a, b = map(int, input().split())\n\narea = (a - 1) * (b - 1)\nprin(area)', 'a, b = map(int, input().split())\n\narea = (a - 1) * (b - 1)\nprin(area)', 'a, b = map(int... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s611194358', 's611194358', 's611194358', 's611194358', 's221216876', 's221216876', 's221216876', 's221216876'] | [3060.0, 3060.0, 3060.0, 3060.0, 2940.0, 2940.0, 2940.0, 2940.0] | [20.0, 20.0, 20.0, 20.0, 17.0, 17.0, 17.0, 17.0] | [69, 69, 69, 69, 71, 71, 71, 71] |
p03280 | u396495667 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A=int(input())\nB=int(input())\n\nprint((A-1)*(B-1))', 'A=int(input())\nB=int(input())\n\nprint((A-1)*(B-1))', 'A=int(input())\nB=int(input())\n\nprint((A-1)*(B-1))', 'A=int(input())\nB=int(input())\n\nprint((A-1)*(B-1))', 'a,b =map(int, input().split())\nprint((a-1)*(b-1))', 'a,b =map(int, input().split())\nprint((a... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s937692808', 's937692808', 's937692808', 's937692808', 's856065169', 's856065169', 's856065169', 's856065169'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [49, 49, 49, 49, 49, 49, 49, 49] |
p03280 | u398942100 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['n=int(input())\na=[105,135,165,195,189]\nfor i in renge(5):\n if n>=a[i]:\n s=i+1\nprint(s)', 'n=int(input())\na=[105,135,165,195,189]\nfor i in renge(5):\n if n>=a[i]:\n s=i+1\nprint(s)', 'A,B = map(int, raw_input().split())\nprint((A-1)*(B-1))', 'A,B = map(int, raw_input().split())\nprint((A-1)*(B-1))', 'n=int(in... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s746755084', 's746755084', 's943986469', 's943986469', 's746755084', 's746755084', 's943986469', 's943986469', 's222351325', 's222351325', 's222351325', 's222351325'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [20.0, 20.0, 17.0, 17.0, 20.0, 20.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [87, 87, 54, 54, 87, 87, 54, 54, 50, 50, 50, 50] |
p03280 | u400738660 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['n,m,q = input().split()\nlist = []\nfor i in range(int(m)):\n l,r = input().split()\n list.append([int(l),int(r)])\nfor i in range(int(q)):\n p,q = input().split()\n count = 0\n for j in range(len(list)):\n if int(p) <= list[j][0] and int(q) >= list[j][1]:\n count += 1\n print(coun... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s585663387', 's585663387', 's585663387', 's585663387', 's487268891', 's487268891', 's487268891', 's487268891'] | [3064.0, 3064.0, 3064.0, 3064.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [309, 309, 309, 309, 58, 58, 58, 58] |
p03280 | u403984573 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['N = int(input())\nans = 0\nfor i in range(1, N + 1, 2):\n cnt = 0\n for j in range(1, i + 1):\n if not i % j: cnt += 1\n if cnt == 8: ans += 1\nprint(ans)\n', 'N = int(input())\nans = 0\nfor i in range(1, N + 1, 2):\n cnt = 0\n for j in range(1, i + 1):\n if not i % j: cnt += 1\n if cn... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s376936959', 's376936959', 's440823847', 's440823847', 's376936959', 's376936959', 's440823847', 's440823847', 's233041067', 's233041067', 's233041067', 's233041067'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 18.0, 18.0] | [164, 164, 163, 163, 164, 164, 163, 163, 46, 46, 46, 46] |
p03280 | u404034840 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['n = int(input())\nif n < 105:\n print(0)\nelse:\n ans = 0\n for i in range(n,103,-2):\n count = 1\n for j in range(1,99,2):\n nj = n%j\n if nj == 0:\n count += 1\n if count == 9:\n ans -= 1\n if count == 8:\n ans += 1\nprint(ans)', 'n = int(input())\nif n < 105:\n print(... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s201984920', 's201984920', 's201984920', 's201984920', 's226047323', 's226047323', 's226047323', 's226047323'] | [3060.0, 3060.0, 3060.0, 3060.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 18.0, 18.0] | [260, 260, 260, 260, 50, 50, 50, 50] |
p03280 | u407016024 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['print(A*B-A-B+1)\n', 'print(A*B-A-B+1)\n', 'print(A*B-A-B+1)\n', 'print(A*B-A-B+1)\n', 'A, B = map(int, input().split())\nprint(A*B-A-B+1)', 'A, B = map(int, input().split())\nprint(A*B-A-B+1)', 'A, B = map(int, input().split())\nprint(A*B-A-B+1)', 'A, B = map(int, input().split())\nprint(A*B-A-B+1)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s197562774', 's197562774', 's197562774', 's197562774', 's390052531', 's390052531', 's390052531', 's390052531'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [17, 17, 17, 17, 49, 49, 49, 49] |
p03280 | u409064224 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a = int(input())\nb = int(input())\n\nprint((a-1)*(b-1))', 'a = int(input())\nb = int(input())\n\nprint((a-1)*(b-1))', 'a = int(input())\nb = int(input())\n\nprint((a-1)*(b-1))', 'a = int(input())\nb = int(input())\n\nprint((a-1)*(b-1))', 'a,b = map(int,input().split())\n\nprint((a-1)*(b-1))', 'a,b = map(int,input().... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s462316193', 's462316193', 's462316193', 's462316193', 's475306021', 's475306021', 's475306021', 's475306021'] | [3316.0, 3316.0, 3316.0, 3316.0, 3316.0, 3316.0, 3316.0, 3316.0] | [19.0, 19.0, 19.0, 19.0, 22.0, 22.0, 22.0, 22.0] | [53, 53, 53, 53, 50, 50, 50, 50] |
p03280 | u417044660 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['print((A-1)*(B-1))', 'print((A-1)*(B-1))', 'print((A-1)*(B-1))', 'print((A-1)*(B-1))', 'A,B=map(int,input().split())\nprint((A-1)*(B-1))\n', 'A,B=map(int,input().split())\nprint((A-1)*(B-1))\n', 'A,B=map(int,input().split())\nprint((A-1)*(B-1))\n', 'A,B=map(int,input().split())\nprint((A-1)*(B-1))\n'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s693233806', 's693233806', 's693233806', 's693233806', 's792167425', 's792167425', 's792167425', 's792167425'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [18, 18, 18, 18, 48, 48, 48, 48] |
p03280 | u418527037 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['N = int(input())\n\nif N <= 104 and N >= 1:\n print(0)\nelif N >= 105:\n print(1)\nelif N >= 135:\n print(2)\nelif N >= 145:\n print(3)\nelif N >= 165:\n print(4)\nelif N >= 189:\n print(5)\nelif N >= 195:\n print(6)', 'N = int(input())\n\nif N <= 104 and N >= 1:\n print(0)\nelif N >= 105:\n print(1)\nelif N... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s092550238', 's092550238', 's092550238', 's092550238', 's075439313', 's075439313', 's075439313', 's075439313'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [208, 208, 208, 208, 58, 58, 58, 58] |
p03280 | u419686324 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A, B = input().split()\nprint((A-1)*(B-1))', 'A, B = input().split()\nprint((A-1)*(B-1))', 'A, B = input().split()\nprint((A-1)*(B-1))', 'A, B = input().split()\nprint((A-1)*(B-1))', 'A, B = map(int, input().split())\nprint((A-1)*(B-1))', 'A, B = map(int, input().split())\nprint((A-1)*(B-1))', 'A, B = map(int, input(... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s306055335', 's306055335', 's306055335', 's306055335', 's368845064', 's368845064', 's368845064', 's368845064'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [41, 41, 41, 41, 51, 51, 51, 51] |
p03280 | u426501657 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A = int(input())\nB = int(input())\n\nprint((A-1)*(B-1))', 'A = int(input())\nB = int(input())\n\nprint((A-1)*(B-1))', 'A = int(input())\nB = int(input())\n\nprint((A-1)*(B-1))', 'A = int(input())\nB = int(input())\n\nprint((A-1)*(B-1))', 'A,B = input().split()\nA = int(A)\nB = int(B)\n\nprint((A-1)*(B-1))', 'A,B = i... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s404891985', 's404891985', 's404891985', 's404891985', 's825508735', 's825508735', 's825508735', 's825508735'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [53, 53, 53, 53, 63, 63, 63, 63] |
p03280 | u430537811 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['s=input()\nk=int(input())\nif k==1:\n print(s[0])\nelse:\n if s[0]=="1":\n if k < =(10**18):\n print(s[1])\n else:\n print(s[2])\n else:\n if k < =(10**18):\n print(s[0])\n else:\n print(s[1])\n ', 's=input()\nk=int(input())\n... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s207100758', 's207100758', 's207100758', 's207100758', 's231821576', 's231821576', 's231821576', 's231821576'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 18.0, 18.0] | [272, 272, 272, 272, 65, 65, 65, 65] |
p03280 | u440129511 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a,b=map(int,input().split())\nprint(a+b-1)', 'a,b=map(int,input().split())\nprint(a+b-1)', 'a,b=map(int,input().split())\nprint(a+b-a*b)\n', 'a,b=map(int,input().split())\nprint(a+b-a*b)\n', 'a,b=map(int,input().split())\nprint(a+b-1)', 'a,b=map(int,input().split())\nprint(a+b-1)', 'a,b=map(int,input().split())\nprin... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s579938352', 's579938352', 's645925109', 's645925109', 's579938352', 's579938352', 's645925109', 's645925109', 's962371394', 's962371394', 's962371394', 's962371394'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [41, 41, 44, 44, 41, 41, 44, 44, 45, 45, 45, 45] |
p03280 | u441320782 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['N = int(input())\ni = 0\nj = 0\ncount = 0\nflag = 0\n\nfor i in range(1, N + 1, 2):\n count = 0\n for j in range(1,i + 1):\n if i % j == 0:\n count += 1\n else:\n if count == 8:\n flag += 1\nelse:\n print(flag)\n', 'N = int(input())\ni = 0\nj = 0\ncount = 0\nflag = 0\n\... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s390945447', 's390945447', 's390945447', 's390945447', 's075876917', 's075876917', 's075876917', 's075876917'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [244, 244, 244, 244, 51, 51, 51, 51] |
p03280 | u443569380 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A = int(input())\nB = int(input())\n\nprint(A * B - (A + B) + 1)', 'A = int(input())\nB = int(input())\n\nprint(A * B - (A + B) + 1)', 'A = int(input())\nB = int(input())\n\nprint(A * B - (A + B) + 1)', 'A = int(input())\nB = int(input())\n\nprint(A * B - (A + B) + 1)', 'A, B =map(int, input().split()) \n\nprint(A * ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s983431330', 's983431330', 's983431330', 's983431330', 's583601932', 's583601932', 's583601932', 's583601932'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [61, 61, 61, 61, 61, 61, 61, 61] |
p03280 | u445226180 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A=int(input())\nB=int(input())\n\nprint((A-1)*(B-1))', 'A=int(input())\nB=int(input())\n\nprint((A-1)*(B-1))', 'A=int(input())\nB=int(input())\n\nprint((A-1)*(B-1))', 'A=int(input())\nB=int(input())\n\nprint((A-1)*(B-1))', 'A,B=map(int,input().split())\n\nprint((A-1)*(B-1))', 'A,B=map(int,input().split())\n\nprint((A... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s734376511', 's734376511', 's734376511', 's734376511', 's560614938', 's560614938', 's560614938', 's560614938'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [49, 49, 49, 49, 48, 48, 48, 48] |
p03280 | u445619807 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['def main():\n A, B = input().split()\n print((A - 1) * (B - 1))\n\nif __name__ == "__main__":\n main()\n', 'def main():\n A, B = input().split()\n print((A - 1) * (B - 1))\n\nif __name__ == "__main__":\n main()\n', 'def main():\n A, B = input().split()\n print((A - 1) * (B - 1))\n\nif __name__... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s941998582', 's941998582', 's941998582', 's941998582', 's468339338', 's468339338', 's468339338', 's468339338'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [107, 107, 107, 107, 117, 117, 117, 117] |
p03280 | u446828107 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['length, width = map(input().split())\nprint((length-1)*(width-1))', 'length, width = map(input().split())\nprint((length-1)*(width-1))', 'length, width = map(input().split())\nprint((length-1)*(width-1))', 'length, width = map(input().split())\nprint((length-1)*(width-1))', 'length, width = map(int, input().split())\... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s261685018', 's261685018', 's261685018', 's261685018', 's090956151', 's090956151', 's090956151', 's090956151'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 18.0, 18.0] | [64, 64, 64, 64, 69, 69, 69, 69] |
p03280 | u448720391 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a,b = map(int,input().split())\n\nprint(a*b-(a-1)*(b-1))', 'a,b = map(int,input().split())\n\nprint(a*b-(a-1)*(b-1))', 'a,b = map(int,input().split())\n\nprint(a*b-(a-1)*(b-1))', 'a,b = map(int,input().split())\n\nprint(a*b-(a-1)*(b-1))', 'a,b = map(int,input().split())\n\nprint((a-1)*(b-1))\n', 'a,b = map(int,input(... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s217517001', 's217517001', 's217517001', 's217517001', 's929100932', 's929100932', 's929100932', 's929100932'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [54, 54, 54, 54, 51, 51, 51, 51] |
p03280 | u450904670 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a, b = list(map(int, input()))\nprint((a-1)*(b-1))', 'a, b = list(map(int, input()))\nprint((a-1)*(b-1))', 'a, b = list(map(int, input()))\nprint((a-1)*(b-1))', 'a, b = list(map(int, input()))\nprint((a-1)*(b-1))', 'a, b = list(map(int, input().split()))\nprint((a-1)*(b-1))', 'a, b = list(map(int, input().split()))\n... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s153286928', 's153286928', 's153286928', 's153286928', 's410799269', 's410799269', 's410799269', 's410799269'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [49, 49, 49, 49, 57, 57, 57, 57] |
p03280 | u453815934 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a = int(input())\nb = int(input())\nprint(a*b-a-b+1)', 'a = int(input())\nb = int(input())\nprint(a*b-a-b+1)', 'a = int(input())\nb = int(input())\nprint(a*b-a-b+1)', 'a = int(input())\nb = int(input())\nprint(a*b-a-b+1)', 'a,b=input().split()\nprint((int(a)-1)*(int(b)-1))', 'a,b=input().split()\nprint((int(a)-1)*(in... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s095645000', 's095645000', 's095645000', 's095645000', 's466149680', 's466149680', 's466149680', 's466149680'] | [3064.0, 3064.0, 3064.0, 3064.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [50, 50, 50, 50, 48, 48, 48, 48] |
p03280 | u454714837 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A = int(input())\nB = int(input())\nAns = (A-1)*(B-1)\nprint(Ans)', 'A = int(input())\nB = int(input())\nAns = (A-1)*(B-1)\nprint(Ans)', 'A = int(input())\nB = int(input())\nAns = (A-1)*(B-1)\nprint(Ans)', 'A = int(input())\nB = int(input())\nAns = (A-1)*(B-1)\nprint(Ans)', 'a,b = map(int,input().split())\nans = (a-1... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s683421366', 's683421366', 's683421366', 's683421366', 's603737284', 's603737284', 's603737284', 's603737284'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [62, 62, 62, 62, 60, 60, 60, 60] |
p03280 | u456878170 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a = int(input())\nb = int(input())\n\nprint((a - 1) * (b - 1))', 'a = int(input())\nb = int(input())\n\nprint((a - 1) * (b - 1))', 'a = int(input())\nb = int(input())\n\nprint((a - 1) * (b - 1))', 'a = int(input())\nb = int(input())\n\nprint((a - 1) * (b - 1))', 'a, b = list(map(int, input().split()))\n\nprint((a - 1... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s225032347', 's225032347', 's225032347', 's225032347', 's732386037', 's732386037', 's732386037', 's732386037'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0] | [59, 59, 59, 59, 64, 64, 64, 64] |
p03280 | u457901067 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A = int(input())\nB = int(input())\n\nprint((A-1)*(B-1))', 'A = int(input())\nB = int(input())\n\nprint((A-1)*(B-1))', 'A = int(input())\nB = int(input())\n\nprint((A-1)*(B-1))', 'A = int(input())\nB = int(input())\n\nprint((A-1)*(B-1))', 'A,B = map(int, input().split())\n\nprint((A-1)*(B-1))\n', 'A,B = map(int, inpu... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s199638806', 's199638806', 's199638806', 's199638806', 's946519978', 's946519978', 's946519978', 's946519978'] | [3316.0, 3316.0, 3316.0, 3316.0, 2940.0, 2940.0, 2940.0, 2940.0] | [19.0, 19.0, 19.0, 19.0, 17.0, 17.0, 17.0, 17.0] | [53, 53, 53, 53, 52, 52, 52, 52] |
p03280 | u468431843 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['ans = (A * B) - (A + B - 1)\n\nprint(ans)', 'ans = (A * B) - (A + B - 1)\n\nprint(ans)', 'ans = (A * B) - (A + B - 1)\n\nprint(ans)', 'ans = (A * B) - (A + B - 1)\n\nprint(ans)', 'A, B = map(int, input().split())\nans = (A * B) - (A + B - 1)\n\nprint(ans)', 'A, B = map(int, input().split())\nans = (A * B) - (A + B - ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s732394092', 's732394092', 's732394092', 's732394092', 's349821969', 's349821969', 's349821969', 's349821969'] | [8980.0, 8980.0, 8980.0, 8980.0, 9156.0, 9156.0, 9156.0, 9156.0] | [27.0, 27.0, 27.0, 27.0, 28.0, 28.0, 28.0, 28.0] | [39, 39, 39, 39, 72, 72, 72, 72] |
p03280 | u469281291 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ["import sys\nimport math\n\ns=input()\nk = int(input())\ncnt=0\nfor i in range(len(s)):\n if s[i] != '1':\n print(s[i])\n sys.exit()\nif (cnt == 0):\n print('1')\n", "import sys\nimport math\n\ns=input()\nk = int(input())\ncnt=0\nfor i in range(len(s)):\n if s[i] != '1':\n print(s[i])\n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s292095409', 's292095409', 's292095409', 's292095409', 's049336240', 's049336240', 's049336240', 's049336240'] | [3060.0, 3060.0, 3060.0, 3060.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [170, 170, 170, 170, 72, 72, 72, 72] |
p03280 | u480200603 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a, b = map(int, input().spkit())\nprint((a - 1) * (b - 1))', 'a, b = map(int, input().spkit())\nprint((a - 1) * (b - 1))', 'a, b = map(int, input().spkit())\nprint((a - 1) * (b - 1))', 'a, b = map(int, input().spkit())\nprint((a - 1) * (b - 1))', 'a, b = map(int, input().split())\nprint((a - 1) * (b - 1))', 'a, b = m... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s348923357', 's348923357', 's348923357', 's348923357', 's102577094', 's102577094', 's102577094', 's102577094'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [57, 57, 57, 57, 57, 57, 57, 57] |
p03280 | u480821607 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a,b=map(int,intput().split())\nprint(a*b-a-b+1)', 'a,b=map(int,intput().split())\nprint(a*b-a-b+1)', 'a,b=map(int,intput().split())\nprint(a*b-a-b+1)', 'a,b=map(int,intput().split())\nprint(a*b-a-b+1)', 'a,b=map(int,input().split())\nprint(a*b-a-b+1)', 'a,b=map(int,input().split())\nprint(a*b-a-b+1)', 'a,b=map(int,in... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s444586617', 's444586617', 's444586617', 's444586617', 's517002822', 's517002822', 's517002822', 's517002822'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [46, 46, 46, 46, 45, 45, 45, 45] |
p03280 | u482157295 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a,b = map(int, input().split)\nprint((a-1)*(b-1))', 'a,b = map(int, input().split)\nprint((a-1)*(b-1))', 'a,b = map(int, input().split)\nprint((a-1)*(b-1))', 'a,b = map(int, input().split)\nprint((a-1)*(b-1))', 'a,b = map(int, input().split())\nprint((a-1)*(b-1))\n', 'a,b = map(int, input().split())\nprint((a-1)*(b-1... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s022544099', 's022544099', 's022544099', 's022544099', 's651266329', 's651266329', 's651266329', 's651266329'] | [3060.0, 3060.0, 3060.0, 3060.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0, 18.0, 17.0, 17.0, 17.0, 17.0] | [48, 48, 48, 48, 51, 51, 51, 51] |
p03280 | u484216426 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a, b = input().split()\nprint(int(a) * int(b))', 'a, b = input().split()\nprint(int(a) * int(b))', 'a, b = input().split()\nprint(int(a) * int(b))', 'a, b = input().split()\nprint(int(a) * int(b))', 'a, b = input().split()\nprint( ( int( a ) - 1 ) * ( int( b ) - 1 ) )', 'a, b = input().split()\nprint( ( int( a ) - 1 ... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s397154171', 's397154171', 's397154171', 's397154171', 's484590479', 's484590479', 's484590479', 's484590479'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [45, 45, 45, 45, 67, 67, 67, 67] |
p03280 | u485566817 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a, b = map(int, input().split())\nprint(a*b)', 'a, b = map(int, input().split())\nprint(a*b)', 'a, b = map(int, input().split())\nprint(a*b)', 'a, b = map(int, input().split())\nprint(a*b)', 'a, b = map(int, input().split())\nprint((a-1)*(b-1))', 'a, b = map(int, input().split())\nprint((a-1)*(b-1))', 'a, b = map(int... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s552994474', 's552994474', 's552994474', 's552994474', 's051882364', 's051882364', 's051882364', 's051882364'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [43, 43, 43, 43, 51, 51, 51, 51] |
p03280 | u488178971 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['#106 A\n\nA=int(input())\nB=int(input())\nprint(A*B - (A+B-1))', '#106 A\n\nA=int(input())\nB=int(input())\nprint(A*B - (A+B-1))', '#106 A\n\nA=int(input())\nB=int(input())\nprint(A*B - (A+B-1))', '#106 A\n\nA=int(input())\nB=int(input())\nprint(A*B - (A+B-1))', '#106 A\n\nA,B= map(int,input().split())\n\nprint(A*B -... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s379475869', 's379475869', 's379475869', 's379475869', 's192382584', 's192382584', 's192382584', 's192382584'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [58, 58, 58, 58, 59, 59, 59, 59] |
p03280 | u488934106 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ["def Garden(a , b):\n\n return a * b - a + b + 1\n\ndef main():\n a , b = map(int , input().split())\n print(Garden(a , b))\n\nif __name__ == '__main__':\n main()", "def Garden(a , b):\n\n return a * b - a + b + 1\n\ndef main():\n a , b = map(int , input().split())\n print(Garden(a , b))\n\nif __n... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s769374973', 's769374973', 's769374973', 's769374973', 's035529081', 's035529081', 's035529081', 's035529081'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [164, 164, 164, 164, 166, 166, 166, 166] |
p03280 | u492447501 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A, B = map(int, input().split())\n\nprint(int(A*B-B-A))', 'A, B = map(int, input().split())\n\nprint(int(A*B-B-A))', 'A, B = map(int, input().split())\n\nprint(int(A*B-B-A))', 'A, B = map(int, input().split())\n\nprint(int(A*B-B-A))', 'A, B = map(int, input().split())\n\nprint(int(A*B-B-A)+1)', 'A, B = map(int, input... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s049467383', 's049467383', 's049467383', 's049467383', 's264955948', 's264955948', 's264955948', 's264955948'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0, 18.0, 17.0, 17.0, 17.0, 17.0] | [53, 53, 53, 53, 55, 55, 55, 55] |
p03280 | u497285470 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['inputs = input()\n\nyoko = int(inputs[0])\ntate = int(inputs[1])\n\nprint((yoko - 1) * (tate - 1))', 'inputs = input()\n\nyoko = int(inputs[0])\ntate = int(inputs[1])\n\nprint((yoko - 1) * (tate - 1))', 'inputs = input()\n\nyoko = int(inputs[0])\ntate = int(inputs[1])\n\nprint((yoko - 1) * (tate - 1))', 'inputs = inp... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s420570785', 's420570785', 's420570785', 's420570785', 's338106852', 's338106852', 's338106852', 's338106852'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [93, 93, 93, 93, 109, 109, 109, 109] |
p03280 | u498486375 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A=int(input())\nB=int(input())\nprint((A-1)*(B-1))', 'A=int(input())\nB=int(input())\nprint((A-1)*(B-1))', 'A=int(input())\nB=int(input())\nprint((A-1)*(B-1))', 'A=int(input())\nB=int(input())\nprint((A-1)*(B-1))', 'A,B=map(int,input().split())\n\nprint((A-1)*(B-1))', 'A,B=map(int,input().split())\n\nprint((A-1)*(B-1... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s514078543', 's514078543', 's514078543', 's514078543', 's948905381', 's948905381', 's948905381', 's948905381'] | [3316.0, 3316.0, 3316.0, 3316.0, 2940.0, 2940.0, 2940.0, 2940.0] | [19.0, 19.0, 19.0, 19.0, 17.0, 17.0, 17.0, 17.0] | [48, 48, 48, 48, 48, 48, 48, 48] |
p03280 | u499267715 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A = int(input())\nB = int(input())\n\nS = (A-1)*(B-1)\nprint(S)', 'A = int(input())\nB = int(input())\n\nS = (A-1)*(B-1)\nprint(S)', 'A = int(input())\nB = int(input())\n\nS = (A-1)*(B-1)\nprint(S)', 'A = int(input())\nB = int(input())\n\nS = (A-1)*(B-1)\nprint(S)', 'A,B = (int(i) for i in input().split())\n\nS = (A-... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s780647390', 's780647390', 's780647390', 's780647390', 's885791752', 's885791752', 's885791752', 's885791752'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [59, 59, 59, 59, 65, 65, 65, 65] |
p03280 | u505420467 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A=int(input())\nB=int(input())\nans=(A-1)*(B-1)\nprint(ans)\n', 'A=int(input())\nB=int(input())\nans=(A-1)*(B-1)\nprint(ans)\n', 'A=int(input())\nB=int(input())\nans=(A-1)*(B-1)\nprint(ans)\n', 'A=int(input())\nB=int(input())\nans=(A-1)*(B-1)\nprint(ans)\n', 'A,B=map(int,input().split())\n\nans=(A-1)*(B-1)\nprint(ans... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s442701263', 's442701263', 's442701263', 's442701263', 's518312322', 's518312322', 's518312322', 's518312322'] | [3316.0, 3316.0, 3316.0, 3316.0, 2940.0, 2940.0, 2940.0, 2940.0] | [19.0, 19.0, 19.0, 19.0, 23.0, 23.0, 23.0, 23.0] | [57, 57, 57, 57, 57, 57, 57, 57] |
p03280 | u506086925 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a = int(input())\nb = int(input())\nprint(a*b - a - b + 1)', 'a = int(input())\nb = int(input())\nprint(a*b - a - b + 1)', 'a = int(input())\nb = int(input())\nprint(a*b - a - b + 1)', 'a = int(input())\nb = int(input())\nprint(a*b - a - b + 1)', 'a, b = map(int,input().split())\nprint(a*b - a - b + 1)', 'a, b = map(... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s095810853', 's095810853', 's095810853', 's095810853', 's759994580', 's759994580', 's759994580', 's759994580'] | [3316.0, 3316.0, 3316.0, 3316.0, 3064.0, 3064.0, 3064.0, 3064.0] | [20.0, 20.0, 20.0, 20.0, 26.0, 26.0, 26.0, 26.0] | [56, 56, 56, 56, 54, 54, 54, 54] |
p03280 | u507116804 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a,b=map(int input().split())\n\nprint(a*b-(a+b-1))', 'a,b=map(int input().split())\n\nprint(a*b-(a+b-1))', 'a,b=map(int input().split())\n\nprint(a*b-a-b+1)', 'a,b=map(int input().split())\n\nprint(a*b-a-b+1)', 'a,b=map(int,input().split)\nprint(int(a*b-a-b+1))', 'a,b=map(int,input().split)\nprint(int(a*b-a-b+1))', '... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s061525850', 's061525850', 's078789081', 's078789081', 's679181801', 's679181801', 's061525850', 's061525850', 's078789081', 's078789081', 's679181801', 's679181801', 's796105141', 's796105141', 's796105141', 's796105141'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [48, 48, 46, 46, 48, 48, 48, 48, 46, 46, 48, 48, 48, 48, 48, 48] |
p03280 | u518042385 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['n=int(input())\nl=0\nfor i in range(1,n+1):\n if i%2==1: \n p=0\n for k in range(1,i+1):\n if i%k==0:\n p+=1\n if p==8:\n l+=1\nprint(l)\n', 'n=int(input())\nl=0\nfor i in range(1,n+1):\n if i%2==1: \n p=0\n for k in range(1,i+1):\n if i%k==0:\n p+=1\n if p==8:\n... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s226216795', 's226216795', 's226216795', 's226216795', 's829653613', 's829653613', 's829653613', 's829653613'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [157, 157, 157, 157, 45, 45, 45, 45] |
p03280 | u518378780 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['import sys\n\nN = float(input())\nt = 3\nprime_number = []\nwhile t <= N / 15.0:\n l = []\n for i in range(t+1):\n if i != 0:\n if t % i == 0:\n l.append(i)\n if l == [1, t]:\n prime_number.append(t)\n t += 1\nn = len(prime_number)\nans = 0\nif n < 3:\n print(0)\... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s919776233', 's919776233', 's919776233', 's919776233', 's739735571', 's739735571', 's739735571', 's739735571'] | [3064.0, 3064.0, 3064.0, 3064.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [647, 647, 647, 647, 75, 75, 75, 75] |
p03280 | u518556834 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['S = input()\nK = int(input())\nif K == 1 and S[0] == 1:\n print(1)\nelif K != 1 and S[0] == 1:\n print(S[1])\nelse:\n print(S[0])\n', 'S = input()\nK = int(input())\nif K == 1 and S[0] == 1:\n print(1)\nelif K != 1 and S[0] == 1:\n print(S[1])\nelse:\n print(S[0])\n', 'S = input()\nK = int(input())\nif K == 1 a... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s590129149', 's590129149', 's995727602', 's995727602', 's590129149', 's590129149', 's995727602', 's995727602', 's790180477', 's790180477', 's790180477', 's790180477'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [126, 126, 119, 119, 126, 126, 119, 119, 57, 57, 57, 57] |
p03280 | u519003353 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['n = list(map(int, input().split()))\nprint(n[0]*n[1})', 'n = list(map(int, input().split()))\nprint(n[0]*n[1})', 'n = list(map(int, input().split()))\nprint(n[0]*n[1})', 'n = list(map(int, input().split()))\nprint(n[0]*n[1})', 'n = list(map(int, input().split()))\nprint((n[0]-1)*(n[1]-1))', 'n = list(map(int, input()... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s714352507', 's714352507', 's714352507', 's714352507', 's933969403', 's933969403', 's933969403', 's933969403'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [52, 52, 52, 52, 60, 60, 60, 60] |
p03280 | u519604525 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A, B=map(int, input().split()\nS=(A-1)*(B-1)\nprint(S)\n ', 'A, B=map(int, input().split()\nS=(A-1)*(B-1)\nprint(S)\n ', 'A, B=map(int, input().split()\nS=(A-1)*(B-1)\nprint(S)\n ', 'A, B=map(int, input().split()\nS=(A-1)*(B-1)\nprint(S)\n ', 'A, B=map(int, input().split())\nS=(A-1)*(B... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s125220210', 's125220210', 's125220210', 's125220210', 's033323454', 's033323454', 's033323454', 's033323454'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 18.0, 18.0] | [62, 62, 62, 62, 53, 53, 53, 53] |
p03280 | u521323621 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a, b = map(int, input())\n\nprint(a * b - a - b + 1)', 'a, b = map(int, input())\n\nprint(a * b - a - b + 1)', 'a, b = map(int, input())\n\nprint(a * b - a - b + 1)', 'a, b = map(int, input())\n\nprint(a * b - a - b + 1)', 'a, b = map(int, input().split())\n\nprint(a * b - a - b + 1)\n', 'a, b = map(int, input().spli... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s386670254', 's386670254', 's386670254', 's386670254', 's848255157', 's848255157', 's848255157', 's848255157'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [50, 50, 50, 50, 59, 59, 59, 59] |
p03280 | u521866787 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['print((int(input())-1) * (int(input())-1))', 'print((int(input())-1) * (int(input())-1))', 'print((int(input())-1) * (int(input())-1))', 'print((int(input())-1) * (int(input())-1))', 'a,b=map(int,input().split())\nprint((a-1)*(b-1))', 'a,b=map(int,input().split())\nprint((a-1)*(b-1))', 'a,b=map(int,input().split())\n... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s981010022', 's981010022', 's981010022', 's981010022', 's670291406', 's670291406', 's670291406', 's670291406'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 18.0, 18.0] | [42, 42, 42, 42, 47, 47, 47, 47] |
p03280 | u527993431 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A,B=map(int,input(.split())\nprint((A-1)*(B-1))', 'A,B=map(int,input(.split())\nprint((A-1)*(B-1))', 'A,B=map(int,input(.split())\nprint((A-1)*(B-1))', 'A,B=map(int,input(.split())\nprint((A-1)*(B-1))', 'A,B=map(int,input().split())\nprint((A-1)*(B-1))', 'A,B=map(int,input().split())\nprint((A-1)*(B-1))', 'A,B=map(in... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s039524451', 's039524451', 's039524451', 's039524451', 's907883337', 's907883337', 's907883337', 's907883337'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [46, 46, 46, 46, 47, 47, 47, 47] |
p03280 | u535555850 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a, b = (int(i) for i in input().split()) \nprint(c*d)', 'a, b = (int(i) for i in input().split()) \nprint(c*d)', 'a = input()\nb = input()\nprint((a-1)*(b-1))', 'a = input()\nb = input()\nprint((a-1)*(b-1))', 'a = input()\nb = input()\nprint(int(a-1)*int(b-1))', 'a = input()\nb = input()\nprint(int(a-1)*int(b-1))', '... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s571163940', 's571163940', 's690195659', 's690195659', 's693757498', 's693757498', 's995532964', 's995532964', 's571163940', 's571163940', 's690195659', 's690195659', 's693757498', 's693757498', 's995532964', 's995532964', 's825463050', 's825463050', 's825463050', 's825463050'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [52, 52, 42, 42, 48, 48, 60, 60, 52, 52, 42, 42, 48, 48, 60, 60, 60, 60, 60, 60] |
p03280 | u535803878 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a = int(input())\nb = int(input())\nprint((a-1)*(b-1))', 'a = int(input())\nb = int(input())\nprint((a-1)*(b-1))', 'a = int(input())\nb = int(input())\nprint((a-1)*(b-1))', 'a = int(input())\nb = int(input())\nprint((a-1)*(b-1))', 'a,b = [int(item) for item in input().split(" ")]\nprint((a-1)*(b-1))', 'a,b = [int(ite... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s785569064', 's785569064', 's785569064', 's785569064', 's346522848', 's346522848', 's346522848', 's346522848'] | [3316.0, 3316.0, 3316.0, 3316.0, 2940.0, 2940.0, 2940.0, 2940.0] | [20.0, 20.0, 20.0, 20.0, 17.0, 17.0, 17.0, 17.0] | [52, 52, 52, 52, 67, 67, 67, 67] |
p03280 | u535827181 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['N = int(input())\nif N < 105:\n print(0)\nelif 105 <= N < 155:\n print(1)\nelif 155 <= N < 195:\n print(2)\nelse:\n print(3)', 'N = int(input())\nif N < 105:\n print(0)\nelif 105 <= N < 155:\n print(1)\nelif 155 <= N < 195:\n print(2)\nelse:\n print(3)', 'N = int(input())\nif N <= 105:\n print(1)\nelif N > 1... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s057409994', 's057409994', 's358576017', 's358576017', 's911453866', 's911453866', 's057409994', 's057409994', 's358576017', 's358576017', 's911453866', 's911453866', 's520076061', 's520076061', 's520076061', 's520076061'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 17.0, 17.0, 17.0, 17.0] | [120, 120, 65, 65, 88, 88, 120, 120, 65, 65, 88, 88, 71, 71, 71, 71] |
p03280 | u537963083 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a = int(input())\nb = int(input())\n\nprint((a - 1) * (b - 1))', 'a = int(input())\nb = int(input())\n\nprint((a - 1) * (b - 1))', 'a = int(input())\nb = int(input())\n\nprint((a - 1) * (b - 1))', 'a = int(input())\nb = int(input())\n\nprint((a - 1) * (b - 1))', 'a, b = map(int, input().split())\n \nprint((a - 1) * (... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s938449350', 's938449350', 's938449350', 's938449350', 's785487718', 's785487718', 's785487718', 's785487718'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [59, 59, 59, 59, 60, 60, 60, 60] |
p03280 | u538632589 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a = int(input())\nb = int(input())\n\nprint((a-1)*(b-1))', 'a = int(input())\nb = int(input())\n\nprint((a-1)*(b-1))', 'a = int(input())\nb = int(input())\n\nprint((a-1)*(b-1))', 'a = int(input())\nb = int(input())\n\nprint((a-1)*(b-1))', 'a, b = [int(i) for i in input().split()]\n\nprint((a-1)*(b-1))', 'a, b = [int(... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s836070748', 's836070748', 's836070748', 's836070748', 's092698477', 's092698477', 's092698477', 's092698477'] | [3316.0, 3316.0, 3316.0, 3316.0, 2940.0, 2940.0, 2940.0, 2940.0] | [24.0, 24.0, 24.0, 24.0, 17.0, 17.0, 17.0, 17.0] | [53, 53, 53, 53, 60, 60, 60, 60] |
p03280 | u539953365 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ["S = input()\nK = int(input())\nfor i in S:\n if i != '1':\n print(i)\n break\n K -= 1\n if K == 0:\n print(1)\n break", "S = input()\nK = int(input())\nfor i in S:\n if i != '1':\n print(i)\n break\n K -= 1\n if K == 0:\n print(1)\n break", "S ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s056710264', 's056710264', 's056710264', 's056710264', 's275732758', 's275732758', 's275732758', 's275732758'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [145, 145, 145, 145, 64, 64, 64, 64] |
p03280 | u541017633 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a,b=map(int,input().split())\nc=xprint((a-1)*(b-1))', 'a,b=map(int,input().split())\nc=xprint((a-1)*(b-1))', 'a,b=map(int,input())\nprint((a-1)*(b-1))', 'a,b=map(int,input())\nprint((a-1)*(b-1))', 'a,b=map(int,input().split())\nc=xprint((a-1)*(b-1))', 'a,b=map(int,input().split())\nc=xprint((a-1)*(b-1))', 'a,b=map(in... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s077568844', 's077568844', 's668546412', 's668546412', 's077568844', 's077568844', 's668546412', 's668546412', 's971792878', 's971792878', 's971792878', 's971792878'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0, 17.0, 18.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [50, 50, 39, 39, 50, 50, 39, 39, 47, 47, 47, 47] |
p03280 | u546853743 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['print(((int(input()))-1) *((int(input()))-1) )', 'print(((int(input()))-1) *((int(input()))-1) )', 'a=int(input())\nb=int(input())\nprint((a-1)*(b-1))', 'a=int(input())\nb=int(input())\nprint((a-1)*(b-1))', 'print(((int(input()))-1) *((int(input()))-1) )', 'print(((int(input()))-1) *((int(input()))-1) )', 'a=int(inpu... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s377095396', 's377095396', 's440078125', 's440078125', 's377095396', 's377095396', 's440078125', 's440078125', 's504637756', 's504637756', 's504637756', 's504637756'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 9028.0, 9028.0, 9028.0, 9028.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 23.0, 23.0, 23.0, 23.0] | [46, 46, 48, 48, 46, 46, 48, 48, 48, 48, 48, 48] |
p03280 | u551373727 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a, b = map(int,input().sprit())\nprint((a-1)*(b-1))', 'a, b = map(int,input().sprit())\nprint((a-1)*(b-1))', 'a = int(input())\nb = int(input())\nprint((a-1)*(b-1))', 'a = int(input())\nb = int(input())\nprint((a-1)*(b-1))', 'a, b = map(int,input().sprit())\nprint((a-1)*(b-1))', 'a, b = map(int,input().sprit())\nprin... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s335589328', 's335589328', 's374915947', 's374915947', 's335589328', 's335589328', 's374915947', 's374915947', 's174837425', 's174837425', 's174837425', 's174837425'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3316.0, 3316.0, 3316.0, 3316.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 20.0, 20.0, 20.0, 20.0] | [50, 50, 52, 52, 50, 50, 52, 52, 51, 51, 51, 51] |
p03280 | u554988565 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['nums = list(map(int, input().split()))\n(nums[0]-1)*(nums[1]-1)', 'nums = list(map(int, input().split()))\n(nums[0]-1)*(nums[1]-1)', 'nums = list(map(int, input().split()))\n(nums[0]-1)*(nums[1]-1)', 'nums = list(map(int, input().split()))\n(nums[0]-1)*(nums[1]-1)', 'nums = list(map(int, input().split()))\nprint((num... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s651970821', 's651970821', 's651970821', 's651970821', 's263894924', 's263894924', 's263894924', 's263894924'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [62, 62, 62, 62, 69, 69, 69, 69] |
p03280 | u555356625 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a, b = map(int, input().split())\n\nprint(a*b - a - b + a)', 'a, b = map(int, input().split())\n\nprint(a*b - a - b + a)', 'a, b = map(int, input().split())\n\nprint(a*b - a - b + a)', 'a, b = map(int, input().split())\n\nprint(a*b - a - b + a)', 'a, b = map(int, input().split())\n\nprint(a*b - a - b + 1)\n', 'a, b =... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s570141246', 's570141246', 's570141246', 's570141246', 's350536043', 's350536043', 's350536043', 's350536043'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [56, 56, 56, 56, 57, 57, 57, 57] |
p03280 | u557235596 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['def main():\n S = [int(s) for s in list(input())]\n K = int(input())\n for i in S:\n if i != 1:\n print(i)\n break\n\n\nif __name__ == "__main__":\n main()\n', 'def main():\n S = [int(s) for s in list(input())]\n K = int(input())\n for i in S:\n if i != 1:\n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s933092318', 's933092318', 's933092318', 's933092318', 's920203960', 's920203960', 's920203960', 's920203960'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0, 18.0] | [187, 187, 187, 187, 111, 111, 111, 111] |
p03280 | u558782626 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a, b = map(int, input())\nprint((a-1)*(b-1))', 'a, b = map(int, input())\nprint((a-1)*(b-1))', 'a, b = map(int, input())\nprint((a-1)*(b-1))', 'a, b = map(int, input())\nprint((a-1)*(b-1))', 'a, b = map(int, input().split())\nprint((a-1)*(b-1))', 'a, b = map(int, input().split())\nprint((a-1)*(b-1))', 'a, b = map(int... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s516217643', 's516217643', 's516217643', 's516217643', 's596247821', 's596247821', 's596247821', 's596247821'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [43, 43, 43, 43, 51, 51, 51, 51] |
p03280 | u559126797 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a=input()\nb=int(input())\ni=0\nt=0\nwhile t<0:\n if a[i]!=1:\n t=1\n else:\n i+=1\nif i<b:\n print(a[i])\nelse:\n print(1)\n', 'a=input()\nb=int(input())\ni=0\nt=0\nwhile t<0:\n if a[i]!=1:\n t=1\n else:\n i+=1\nif i<b:\n print(a[i])\nelse:\n print(1)\n', "a=input(... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s322182524', 's322182524', 's587104093', 's587104093', 's863845502', 's863845502', 's322182524', 's322182524', 's587104093', 's587104093', 's863845502', 's863845502', 's974206188', 's974206188', 's974206188', 's974206188'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [138, 138, 145, 145, 146, 146, 138, 138, 145, 145, 146, 146, 47, 47, 47, 47] |
p03280 | u559424030 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['N=int(input())\ncount=0\nanswer=0\n\nfor i in range(N+1):\n\tcount=0\n\tif i%2==1:\n\t\tfor j in range(i):\n\t\t\tif i%(j+1)==0:\n\t\t\t\tcount +=1\n\t\t\n\t\tif count==8:\n\t\t\tanswer += 1\n\t\n\tprint(answer)\n\nprint(answer)', 'N=int(input())\ncount=0\nanswer=0\n\nfor i in range(N+1):\n\tcount=0\n\tif i%2==1:\n\t... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s743614398', 's743614398', 's743614398', 's743614398', 's354608299', 's354608299', 's354608299', 's354608299'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [192, 192, 192, 192, 52, 52, 52, 52] |
p03280 | u567124995 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A, B = map(int, input().split())\nprint("{} {}".format((A - 1)(B - 1)))', 'A, B = map(int, input().split())\nprint("{} {}".format((A - 1)(B - 1)))', 'A = int(input())\nB = int(input())\nprint("{} {}".format((A - 1) * (B - 1)))', 'A = int(input())\nB = int(input())\nprint("{} {}".format((A - 1) * (B - 1)))', 'A, B = m... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s047850518', 's047850518', 's331264518', 's331264518', 's544096833', 's544096833', 's637908470', 's637908470', 's047850518', 's047850518', 's331264518', 's331264518', 's544096833', 's544096833', 's637908470', 's637908470', 's980821270', 's980821270', 's980821270', 's980821270'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [70, 70, 74, 74, 62, 62, 71, 71, 70, 70, 74, 74, 62, 62, 71, 71, 67, 67, 67, 67] |
p03280 | u570612423 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['# -*- coding: utf-8 -*-\n\na = int(input())\nb = int(input())\n\nprint((a-1)*(b-1))', '# -*- coding: utf-8 -*-\n\na = int(input())\nb = int(input())\n\nprint((a-1)*(b-1))', '# -*- coding: utf-8 -*-\n\na = int(input())\nb = int(input())\n\nprint((a-1)*(b-1))', '# -*- coding: utf-8 -*-\n\na = int(input())\nb = int(inpu... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s531994483', 's531994483', 's531994483', 's531994483', 's913278466', 's913278466', 's913278466', 's913278466'] | [3316.0, 3316.0, 3316.0, 3316.0, 2940.0, 2940.0, 2940.0, 2940.0] | [21.0, 21.0, 21.0, 21.0, 17.0, 17.0, 17.0, 17.0] | [78, 78, 78, 78, 77, 77, 77, 77] |
p03280 | u576844664 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ["num = input().split(' ')\nprint((int(num[0]) - 1)οΌ(int(num[1]) - 1))", "num = input().split(' ')\nprint((int(num[0]) - 1)οΌ(int(num[1]) - 1))", "num = input().split(' ')\nprint((int(num[0]) - 1)οΌ(int(num[1]) - 1)", "num = input().split(' ')\nprint((int(num[0]) - 1)οΌ(int(num[1]) - 1)", "num = input().split(' ')\nprint(... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s424253959', 's424253959', 's926941880', 's926941880', 's424253959', 's424253959', 's926941880', 's926941880', 's431446210', 's431446210', 's431446210', 's431446210'] | [2940.0, 2940.0, 3064.0, 3064.0, 2940.0, 2940.0, 3064.0, 3064.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 19.0, 19.0, 17.0, 17.0, 19.0, 19.0, 17.0, 17.0, 17.0, 17.0] | [69, 69, 68, 68, 69, 69, 68, 68, 75, 75, 75, 75] |
p03280 | u577123111 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A,B-map(int,input().split())\nA=A-1\nB=B-1\nprint(A*B)', 'A,B-map(int,input().split())\nA=A-1\nB=B-1\nprint(A*B)', 'A,B-map(int,inout().split())\nA=A-1\nB=B-1\nprint(A*B)', 'A,B-map(int,inout().split())\nA=A-1\nB=B-1\nprint(A*B)', 'A,B-map(int,input().split())\nA=A-1\nB=B-1\nprint(A*B)', 'A,B-map(int,input().split())... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s201597966', 's201597966', 's352074366', 's352074366', 's201597966', 's201597966', 's352074366', 's352074366', 's201646941', 's201646941', 's201646941', 's201646941'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [19.0, 19.0, 16.0, 16.0, 19.0, 19.0, 16.0, 16.0, 17.0, 17.0, 17.0, 17.0] | [51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51] |
p03280 | u579699847 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['def I(): return int(input())\nN = I()\nans = 0\nfor i in range(105,N+1,2):\n count_yakusuu = 0\n for j in range(1,int(i**0.5)+1):\n if i%j==0:\n count_yakusuu += 2\n if count_yakusuu==8:\n ans += 1\nprint(ans)\n', 'def I(): return int(input())\nN = I()\nans = 0\nfor i in range(105,N+... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s541105840', 's541105840', 's541105840', 's541105840', 's055483627', 's055483627', 's055483627', 's055483627'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [234, 234, 234, 234, 49, 49, 49, 49] |
p03280 | u581603131 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['print((int(input())-1)*(int(input()-1))', 'print((int(input())-1)*(int(input()-1))', 'print((int(input())-1)*(int(input()-1))', 'print((int(input())-1)*(int(input()-1))', 'A, B= map(int, input().split())\nprint((A-1)*(B-1))', 'A, B= map(int, input().split())\nprint((A-1)*(B-1))', 'A, B= map(int, input().split())\npri... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s603247581', 's603247581', 's603247581', 's603247581', 's159282690', 's159282690', 's159282690', 's159282690'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [39, 39, 39, 39, 50, 50, 50, 50] |
p03280 | u583276018 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a, b = map(int, input().split())\n\nc = a - 1\nd = b - 1\nprint(a*b)', 'a, b = map(int, input().split())\n\nc = a - 1\nd = b - 1\nprint(a*b)', 'a, b = map(int, input().split())\n\nc = a - 1\nd = b - 1\nprint(a*b)', 'a, b = map(int, input().split())\n\nc = a - 1\nd = b - 1\nprint(a*b)', 'a, b = map(int, input().split(... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s799070983', 's799070983', 's799070983', 's799070983', 's626522172', 's626522172', 's626522172', 's626522172'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 18.0, 18.0] | [64, 64, 64, 64, 65, 65, 65, 65] |
p03280 | u585101972 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a = input()', 'a = input()', 'a = input()', 'a = input()', 's = input().split()\na, b = int(s[0]), int(s[1])\nprint((a - 1) * (b - 1))', 's = input().split()\na, b = int(s[0]), int(s[1])\nprint((a - 1) * (b - 1))', 's = input().split()\na, b = int(s[0]), int(s[1])\nprint((a - 1) * (b - 1))', 's = input().split()\na, ... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s968450960', 's968450960', 's968450960', 's968450960', 's455406494', 's455406494', 's455406494', 's455406494'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [11, 11, 11, 11, 72, 72, 72, 72] |
p03280 | u594180766 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['P = [105, 135, 165, 189, 195, 201]\n\nN = int(input())\n\nfor i,p in enumerate(P):\n if N < p:\n print(i)\n break\n', 'P = [105, 135, 165, 189, 195, 201]\n\nN = int(input())\n\nfor i,p in enumerate(P):\n if N < p:\n print(i)\n break\n', 'P = [105, 135, 165, 189, 195, 201]\n\nN = int(input())\n\nfor i,p ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s011713862', 's011713862', 's011713862', 's011713862', 's041521106', 's041521106', 's041521106', 's041521106'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [114, 114, 114, 114, 51, 51, 51, 51] |
p03280 | u595375942 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['print((int(input())-1)*(int(input())-1))', 'print((int(input())-1)*(int(input())-1))', 'print((int(input())-1)*(int(input())-1))', 'print((int(input())-1)*(int(input())-1))', 'a,b=map(int,input().split())\nprint(a*b-a-b+1)', 'a,b=map(int,input().split())\nprint(a*b-a-b+1)', 'a,b=map(int,input().split())\nprint(a*b-a-... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s046515131', 's046515131', 's046515131', 's046515131', 's046218175', 's046218175', 's046218175', 's046218175'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [40, 40, 40, 40, 45, 45, 45, 45] |
p03280 | u595952233 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a, b = map(int, input().split())\npritn((a-1)*(b-1))', 'a, b = map(int, input().split())\npritn((a-1)*(b-1))', 'a, b = map(int, input().split())\npritn((a-1)*(b-1))', 'a, b = map(int, input().split())\npritn((a-1)*(b-1))', 'a, b = map(int, input().split())\nprint((a-1)*(b-1))', 'a, b = map(int, input().split())\nprin... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s912295614', 's912295614', 's912295614', 's912295614', 's021155439', 's021155439', 's021155439', 's021155439'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0, 18.0, 17.0, 17.0, 17.0, 17.0] | [51, 51, 51, 51, 51, 51, 51, 51] |
p03280 | u597455618 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['n, m - map(int, input().split())\nprint((n - 1) * (m - 1))', 'n, m - map(int, input().split())\nprint((n - 1) * (m - 1))', 'n, m - map(int, input().split())\nprint((n - 1) * (m - 1))', 'n, m - map(int, input().split())\nprint((n - 1) * (m - 1))', 'n, m = map(int, input().split())\nprint((n - 1) * (m - 1))', 'n, m = m... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s819599125', 's819599125', 's819599125', 's819599125', 's920788815', 's920788815', 's920788815', 's920788815'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 18.0, 18.0] | [57, 57, 57, 57, 57, 57, 57, 57] |
p03280 | u598009172 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['N=int(input())\nif N < 105:\n print(0)\nelif 105 <= N and N < 135:\n print(1)\nelif 135 <= N and N < 165:\n print(2)\nelif 165 <= N and N < 189:\n print(3)\nelif 189 <= N :\n print(4)', 'N=int(input())\nif N < 105:\n print(0)\nelif 105 <= N and N < 135:\n print(1)\nelif 135 <= N and N < 165:\n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s152247833', 's152247833', 's152247833', 's152247833', 's652028257', 's652028257', 's652028257', 's652028257'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 18.0, 18.0] | [188, 188, 188, 188, 54, 54, 54, 54] |
p03280 | u601082779 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a,b=map(int,input().split());pirnt(a*b-a-b+1)', 'a,b=map(int,input().split());pirnt(a*b-a-b+1)', 'a,b=map(int,input().split());pirnt(a*b-a-b+1)', 'a,b=map(int,input().split());pirnt(a*b-a-b+1)', 'a,b=map(int,input().split());print(a*b-a-b+1)', 'a,b=map(int,input().split());print(a*b-a-b+1)', 'a,b=map(int,input().spli... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s591997066', 's591997066', 's591997066', 's591997066', 's841993781', 's841993781', 's841993781', 's841993781'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [45, 45, 45, 45, 45, 45, 45, 45] |
p03280 | u604896914 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a, b=map(int, input().split())\nprint(a*b-a-b-1)', 'a, b=map(int, input().split())\nprint(a*b-a-b-1)', 'a, b=map(int, input().split())\nprint(a*b-a-b-1)', 'a, b=map(int, input().split())\nprint(a*b-a-b-1)', 'a, b=map(int, input().split())\nprint(a*b-a-b+1)', 'a, b=map(int, input().split())\nprint(a*b-a-b+1)', 'a, b=m... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s254548452', 's254548452', 's254548452', 's254548452', 's197249205', 's197249205', 's197249205', 's197249205'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [47, 47, 47, 47, 47, 47, 47, 47] |
p03280 | u607729897 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['x,y=map(int,input().split()\nprint((x-1)*(y-1))', 'x,y=map(int,input().split()\nprint((x-1)*(y-1))', 'x,y=map(int,input().split()\nprint((x-1)*(y-1))', 'x,y=map(int,input().split()\nprint((x-1)*(y-1))', 'x,y=map(int,input().split())\nprint((x-1)*(y-1))\n', 'x,y=map(int,input().split())\nprint((x-1)*(y-1))\n', 'x,y=ma... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s699041459', 's699041459', 's699041459', 's699041459', 's465926437', 's465926437', 's465926437', 's465926437'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [46, 46, 46, 46, 48, 48, 48, 48] |
p03280 | u611090896 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['A = int(input())\nB = int(input())\nprint(A*B-(A+B-1))', 'A = int(input())\nB = int(input())\nprint(A*B-(A+B-1))', 'A = int(input())\nB = int(input())\nprint(A*B-(A+B-1))', 'A = int(input())\nB = int(input())\nprint(A*B-(A+B-1))', 'A,B = map(int,input().split())\nprint((A-1)*(B-1))', 'A,B = map(int,input().split())\n... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s751238287', 's751238287', 's751238287', 's751238287', 's731450120', 's731450120', 's731450120', 's731450120'] | [2940.0, 2940.0, 2940.0, 2940.0, 9024.0, 9024.0, 9024.0, 9024.0] | [17.0, 17.0, 17.0, 17.0, 28.0, 28.0, 28.0, 28.0] | [52, 52, 52, 52, 49, 49, 49, 49] |
p03280 | u619379081 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a = int(input())-1\nb = int(input())-1\nprint(a*b)', 'a = int(input())-1\nb = int(input())-1\nprint(a*b)', 'a = int(input())-1\nb = int(input())-1\nprint(a*b)', 'a = int(input())-1\nb = int(input())-1\nprint(a*b)', 'a, b = list(map(lambda x: int(x)-1, input().split()))\nprint(a*b)', 'a, b = list(map(lambda x: int(x)-... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s516092326', 's516092326', 's516092326', 's516092326', 's045231371', 's045231371', 's045231371', 's045231371'] | [3316.0, 3316.0, 3316.0, 3316.0, 2940.0, 2940.0, 2940.0, 2940.0] | [19.0, 19.0, 19.0, 19.0, 17.0, 17.0, 17.0, 17.0] | [48, 48, 48, 48, 64, 64, 64, 64] |
p03280 | u629540524 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a = list(map(int, input().split()))\nprint((n[0]-1)*(n[1]-1))', 'a = list(map(int, input().split()))\nprint((n[0]-1)*(n[1]-1))', 'a = list(map(int, input().split()))\nprint((n[0]-1)*(n[1]-1))', 'a = list(map(int, input().split()))\nprint((n[0]-1)*(n[1]-1))', 'a = list(map(int, input().split()))\nprint((a[0]-1)*(a[1]-... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s213006223', 's213006223', 's213006223', 's213006223', 's228723945', 's228723945', 's228723945', 's228723945'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [16.0, 16.0, 16.0, 16.0, 17.0, 17.0, 17.0, 17.0] | [60, 60, 60, 60, 60, 60, 60, 60] |
p03280 | u631277801 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a = int(input())\nb = int(input())\n\nprint((a-1)*(b-1))', 'a = int(input())\nb = int(input())\n\nprint((a-1)*(b-1))', 'a = int(input())\nb = int(input())\n\nprint((a-1)*(b-1))', 'a = int(input())\nb = int(input())\n\nprint((a-1)*(b-1))', 'a,b = map(int, input().split())\nprint((a-1)*(b-1))', 'a,b = map(int, input().... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s898331404', 's898331404', 's898331404', 's898331404', 's674765314', 's674765314', 's674765314', 's674765314'] | [3316.0, 3316.0, 3316.0, 3316.0, 2940.0, 2940.0, 2940.0, 2940.0] | [19.0, 19.0, 19.0, 19.0, 17.0, 17.0, 17.0, 17.0] | [53, 53, 53, 53, 50, 50, 50, 50] |
p03280 | u632974276 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ["string = input()\na, b = string.split(' ')[0], string.split(' ')[1]\nresult = a * b - (a + b -1)\nprint(result)", "string = input()\na, b = string.split(' ')[0], string.split(' ')[1]\nresult = a * b - (a + b -1)\nprint(result)", "string = input()\na, b = string.split(' ')[0], string.split(' ')[1]\nresult = a * b - (a... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s186294111', 's186294111', 's186294111', 's186294111', 's809149492', 's809149492', 's809149492', 's809149492'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [108, 108, 108, 108, 118, 118, 118, 118] |
p03280 | u638033979 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['#n = int(input())\na,b = map(str,input().split())\n#A = list(map(int,input().split()))\nans = (a-1)*(b-1)\n\nprint(ans)', '#n = int(input())\na,b = map(str,input().split())\n#A = list(map(int,input().split()))\nans = (a-1)*(b-1)\n\nprint(ans)', '#n = int(input())\na,b = map(str,input().split())\n#A = list(map(int,inp... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s214447536', 's214447536', 's214447536', 's214447536', 's287292062', 's287292062', 's287292062', 's287292062'] | [8952.0, 8952.0, 8952.0, 8952.0, 9068.0, 9068.0, 9068.0, 9068.0] | [29.0, 29.0, 29.0, 29.0, 26.0, 26.0, 26.0, 26.0] | [114, 114, 114, 114, 97, 97, 97, 97] |
p03280 | u639343026 | 2,000 | 1,024,000 | There is a farm whose length and width are A yard and B yard, respectively. A farmer, John, made a vertical road and a horizontal road inside the farm from one border to another, as shown below: (The gray part represents the roads.) What is the area of this yard excluding the roads? Find it. | ['a,b=map(int,input().split())\nprint(a*b-a-b-1)', 'a,b=map(int,input().split())\nprint(a*b-a-b-1)', 'a,b=map(int,input().split())\nprint(a*b-a-b-1)', 'a,b=map(int,input().split())\nprint(a*b-a-b-1)', 'a,b=map(int,input().split())\nprint(a*b-a-b+1)\n', 'a,b=map(int,input().split())\nprint(a*b-a-b+1)\n', 'a,b=map(int,in... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted', 'Accepted', 'Accepted', 'Accepted'] | ['s250429934', 's250429934', 's250429934', 's250429934', 's894711332', 's894711332', 's894711332', 's894711332'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [45, 45, 45, 45, 46, 46, 46, 46] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.