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 |
|---|---|---|---|---|---|---|---|---|---|---|
p02945 | u241190800 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a, b = map(int,inptu().split())\nr = []\nr.append(a+b)\nr.append(a-b)\nr.append(a*b)\nprint(max(r))\n', 'a, b = map(int,input().split())\nr = []\nr.append(a+b)\nr.append(a-b)\nr.append(a*b)\nprint(max(r))'] | ['Runtime Error', 'Accepted'] | ['s622110885', 's939361447'] | [2940.0, 2940.0] | [17.0, 17.0] | [95, 94] |
p02945 | u243955520 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b = input().split(" ")\na_plus_b = a+b\na_minus_b = a-b\na_mul_b = a*b\n\nmax_three = max(a_plus_b, max(a_minus_b, a_mul_b))\nprint(max_three)', 'a,b = [int(s) for s in input().split(" ")]\na_plus_b = a+b\na_minus_b = a-b\na_mul_b = a*b\n\nmax_three = max(a_plus_b, max(a_minus_b, a_mul_b))\nprint(max_three)'] | ['Runtime Error', 'Accepted'] | ['s919965348', 's895083568'] | [2940.0, 3060.0] | [17.0, 17.0] | [138, 156] |
p02945 | u248192265 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b = map(int,input().split)\n\nprint (max([a+b, a-b, a*b]))\n', 'a = int(input())\nb = int(input())\n\nprint (max(a+b, a-b, a*b))\n', 'a, b = map(int,input().split())\n\nprint (max([a+b, a-b, a*b]))\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s124712725', 's995446499', 's105199698'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 19.0] | [59, 62, 62] |
p02945 | u250362126 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b = [int(x) for x in input().split()]\nres = sorted([a+b,a-b,a*b])\nprint(res[0])', 'a,b = [int(x) for x in input().split()]\nres = sorted([a+b,a-b,a*b])\nprint(res[2])\n'] | ['Wrong Answer', 'Accepted'] | ['s142203229', 's920447165'] | [2940.0, 2940.0] | [18.0, 17.0] | [81, 82] |
p02945 | u252828980 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | [' a,b = map(int,input().split())\n print(max(a + b,a - b,a*b))', 'a,b = map(int,input().split())\nprint(max(a + b,a - b,a*b)', 'a,b = map(int,input().split())\nprint(max(a + b,a - b,a*b))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s224382689', 's514632266', 's320023016'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [66, 57, 58] |
p02945 | u252964975 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b=map(int, input().split())\nprint(max[a+b,a-b,a*b])', 'a,b=map(int, input().split())\nprint(max([a+b,a-b,a*b]))'] | ['Runtime Error', 'Accepted'] | ['s150925882', 's404537395'] | [3064.0, 2940.0] | [17.0, 17.0] | [53, 55] |
p02945 | u254050469 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['ab = [int(i)for i in input().split()]¥\nprint(max(ab[0] + ab[1],max(ab[0] * ab[1], ab[0]-ab[1])))', 'ab = [int(i)for i in input().split()]\nprint(max(ab[0] + ab[1],max(ab[0] * ab[1], ab[0]-ab[1])))'] | ['Runtime Error', 'Accepted'] | ['s636088852', 's327411464'] | [2940.0, 2940.0] | [17.0, 17.0] | [97, 95] |
p02945 | u254221913 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b=map(int,input().split())\nmax_ab = 0\nmax_ab = max(a+b,max_ab)\nmax_ab = max(a-b,max_ab)\nmax_ab = max(a*b,max_ab)\nprint(max_ab)', 'a,b=map(int,input().split())\nmax_ab = -100\nmax_ab = max(a+b,max_ab)\nmax_ab = max(a-b,max_ab)\nmax_ab = max(a*b,max_ab)\nprint(max_ab)'] | ['Wrong Answer', 'Accepted'] | ['s393286357', 's591311360'] | [2940.0, 2940.0] | [18.0, 17.0] | [128, 131] |
p02945 | u255595446 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['data = [int(x) for x in input().split(" ")]\nprint(max(sum(data),data[0]-data[1],data[0]*data[1])', 'data = [int(x) for x in input().split(" ")]\nprint(max(sum(data),data[0]-data[1],data[0]*data[1]))'] | ['Runtime Error', 'Accepted'] | ['s539730314', 's291751584'] | [2940.0, 2940.0] | [17.0, 17.0] | [96, 97] |
p02945 | u256464928 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['print(max(A + B,A - B,A * B))', 'A,B = map(int,input().split())\nprint(max(A + B, A - B,A * B))'] | ['Runtime Error', 'Accepted'] | ['s436383164', 's476731050'] | [2940.0, 2940.0] | [17.0, 17.0] | [29, 61] |
p02945 | u260906801 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a, b = imput().split()\nc = [a + b, a - b, a * b]\nprint(max(c))', 'a, b = map(int, imput().split())\nc = [a + b , a - b, a * b]\nprint(max(c))', 'a, b = map(int, input().split())\nc = [a + b , a - b, a * b]\nprint(max(c))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s009558886', 's088906185', 's353441882'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 20.0] | [62, 73, 73] |
p02945 | u262869085 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b = map(int,input().split())\nprint(max([a+b,a-b,a*b])', 'a,b = map(int,input().split())\nprint(max([a+b,a-b,a*b]))'] | ['Runtime Error', 'Accepted'] | ['s925793600', 's382142547'] | [2940.0, 2940.0] | [17.0, 17.0] | [55, 56] |
p02945 | u265118937 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a, b = map(int, input().split())\nl = []\nc = a +b\nd = a -b\ne = a *b\nl.append(c)\nl.append(d)\nl.append(e)\nprint(max(l[c, d, e]))', 'a, b = map(int, input().split())\nl = []\nc = a +b\nd = a -b\ne = a *b\nl.append =c\nl.append =d\nl.append =e\nprint(max(l))', 'a, b = map(int, input().split())\nl = []\nc = a +b\nd... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s370396573', 's471576187', 's497961135', 's226209231'] | [3060.0, 3060.0, 3060.0, 3060.0] | [17.0, 17.0, 17.0, 17.0] | [125, 116, 125, 116] |
p02945 | u266643907 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a=input()\nb=input()\nprint(max([a-b,a+b,a*b]))', 'a,b=map(int,input().split())\nprint(max([a-b,a+b,a*b]))'] | ['Runtime Error', 'Accepted'] | ['s356675982', 's506178847'] | [2940.0, 2940.0] | [17.0, 20.0] | [45, 54] |
p02945 | u271230052 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b=map(int,input().split())\nif a+b>a*b,a-b:\n print(a+b)\nelif a*b>a+b,a-b:\n print(a*b)\nelif a-b>a*b,a+b:\n print(a-b)', 'a,b=map(int,input().split())\nif a+b>a*b and a+b>a-b:\n print(a+b)\nelif a*b>a+b and a*b>a-b:\n print(a*b)\nelse:\n print(a-b)'] | ['Runtime Error', 'Accepted'] | ['s298978548', 's837048106'] | [2940.0, 2940.0] | [17.0, 17.0] | [119, 123] |
p02945 | u277175276 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['import numpy as np\n\nY,D=map(int,input().split())\n\nB=np.array(range(-Y+D+1,Y+D,1))\n\nfor i in B:\n print(i)\n', 'import numpy as np\n\nY,D=map(int,input().split())\n\nB=np.array(range(-Y+D+1,Y+D,1))\n\nfor i in B:\n print(i)', 'A,B=map(int,input().split())\nx=A+B\ny=A-B\nz=A*B\nprint(max(x,y,z))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s089826189', 's935474655', 's029279223'] | [21500.0, 17580.0, 2940.0] | [331.0, 254.0, 17.0] | [153, 152, 64] |
p02945 | u278356323 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['input = sys.stdin.readline\nsys.setrecursionlimit(10**6)\n\na, b = map(int, input().split())\nprint(max(a+b, a-b, a*b))', "def main():\n import sys\n input = sys.stdin.readline\n sys.setrecursionlimit(10**6)\n a, b = map(int, input().split())\n print(max(a+b, a-b, a*b))\n\n\nif __name__ == '__main__':\... | ['Runtime Error', 'Accepted'] | ['s817402697', 's899928668'] | [2940.0, 2940.0] | [17.0, 17.0] | [115, 198] |
p02945 | u283751459 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b = map(int,input())\nlist_ab =[]\nlist_ab.append(a+b)\nlist_ab.append(a-b)\nlist_ab.append(a*b)\n\nprint(max(list_ab))', 'a,b = map(int,input().split())\nlist_ab =[]\nlist_ab.append(a+b)\nlist_ab.append(a-b)\nlist_ab.append(a*b)\n\nprint(max(list_ab))\n'] | ['Runtime Error', 'Accepted'] | ['s594273522', 's432365277'] | [9100.0, 9092.0] | [29.0, 31.0] | [115, 124] |
p02945 | u283929013 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b = map(int,input().split())\nprint(max(max(a+b,a-b),a*b)', 'a,b = map(int,input().split())\nprint(max(max(a+b,a-b),a*b))\n'] | ['Runtime Error', 'Accepted'] | ['s939098653', 's006744696'] | [8956.0, 9084.0] | [23.0, 25.0] | [58, 60] |
p02945 | u284363684 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A, B = map(int, input().split())\nprint(max([a + B, a - b, a * b]))', '# input\nA, B = map(int, input().split())\nprint(max([A + B, A - B, A * B]))\n'] | ['Runtime Error', 'Accepted'] | ['s479944152', 's007137081'] | [2940.0, 2940.0] | [17.0, 17.0] | [66, 75] |
p02945 | u284854859 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b=map(int,input.split())\n\nprint(max(a+b,a-b,a*b))\n', 'a,b=map(int,input.split())\n\nprint(max(a+b,a-b,a*b))\n', 'a,b=map(int,input().split())\n\nprint(max(a+b,a-b,a*b))\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s387985442', 's969680569', 's403903885'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [54, 52, 54] |
p02945 | u284999381 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a, b = map(int, input().split())\nmax(a+b,a-b,a*b)', 'a, b = map(int, input().split())\ns = max(a+b,a-b,a*b)\nprint(s)'] | ['Wrong Answer', 'Accepted'] | ['s537883997', 's997391189'] | [2940.0, 2940.0] | [18.0, 17.0] | [49, 62] |
p02945 | u288042356 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A = int(input())\nB = int(input())\nlist = []\nlist.append(A + B)\nlist.append(A - B)\nlist.append(A * B)\nprint(max(list))', 'a = list(map(int,input().split()))\nA = a[0]\nB = a[1]\nlist = []\nlist.append(A + B)\nlist.append(A - B)\nlist.append(A * B)\nprint(max(list))'] | ['Runtime Error', 'Accepted'] | ['s967765572', 's471792763'] | [3060.0, 3060.0] | [17.0, 17.0] | [117, 136] |
p02945 | u288948615 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a, b = map(int, input().split())\nprint(max([a+b, a-b, a*b])', 'a, b = map(int, input().split())\nprint(max([a+b, a-b, a*b]))'] | ['Runtime Error', 'Accepted'] | ['s678575928', 's403600820'] | [2940.0, 2940.0] | [17.0, 17.0] | [59, 60] |
p02945 | u294385082 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a = input()\nb = int(a[0]) + int(a[2])\nc = int(a[0]) - int(a[2])\nd = int(a[0]) * int(a[2])\nif b >= c and b >= d:\n print(b)\nelif c >= b and c >= d:\n print(c)\nelse:\n print(d)', 'a,b = map(int,input().split())\nprint(max(a+b,a-b,a*b))'] | ['Runtime Error', 'Accepted'] | ['s174207886', 's734048677'] | [3060.0, 2940.0] | [17.0, 17.0] | [174, 54] |
p02945 | u294897522 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a, b = map(int, input())\nprint(max([a+b, a-b, a*b]))', 'a, b = map(int, input().split())\nprint(max([a+b, a-b, a*b]))'] | ['Runtime Error', 'Accepted'] | ['s587467567', 's548077770'] | [3060.0, 2940.0] | [18.0, 17.0] | [52, 60] |
p02945 | u296215701 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a = int(input())\nb = int(input())\n\nl = [a+b,a-b,a*b]\n\nprint(max(l))', 'a = int(input())\nb = int(input())\n\nif(a >= -100 and b <= 100):\n\tl = [a+b,a-b,a*b]\n\tprint(max(l))', 'K,X = map(int, input().split())\nfor a in range(X-K+1, X+K, 1):\n\tprint(a)', 'a,b = map(int, input().split())\nprint(max(a+b, a-b, a*b... | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s212084781', 's940703260', 's971629582', 's854059283'] | [2940.0, 2940.0, 3060.0, 2940.0] | [17.0, 20.0, 17.0, 18.0] | [67, 96, 72, 57] |
p02945 | u306209010 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a = input("")\nb = input("")\n\nwa = int(a) + int(b)\nsa = int(a) - int(b)\nseki = int(a) * int(b)\n\nif wa >= sa and wa >= seki:\n print(wa)\nelif sa >= wa and sa >= seki:\n print(sa)\nelse:\n print(seki)', 'a,b=input().split()\n\nwa = a + b\nsa = a - b\nseki = a * b\n\nif wa >= sa and wa >= seki:\n prin... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s028213252', 's213173710', 's386700085', 's571301628', 's589424934', 's850058329', 's850923509', 's911426743'] | [3060.0, 3060.0, 3060.0, 3060.0, 3060.0, 3060.0, 3064.0, 3064.0] | [17.0, 18.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0] | [202, 179, 198, 198, 213, 213, 217, 202] |
p02945 | u309455049 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a = int(input())\nb = int(input())\n\nx = a + b\ny = a - b\nz = a * b\n\nprint(max(x, y, z))', "a = int(input())\nb = int(input())\n\nx = a + b\ny = a - b\nz = a * b\nm = max(x, y, z)\n\nprint('A + B =', str(x), 'A - B =', str(y), 'A ×\u3000B =', str(z), 'の中で最大の数は', str(m), 'です。')\n", "\nk, x = map(int, input().split... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s111789599', 's268202352', 's273937909', 's865666315'] | [2940.0, 2940.0, 3064.0, 2940.0] | [17.0, 18.0, 17.0, 17.0] | [85, 198, 491, 84] |
p02945 | u311238192 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a = int(input())\nb = int(input())\nprint(max([a+b, a-b, a*b]))', 'a, b = input().split(" ")\nprint(max([a+b, a-b, a*b]))', 'A, B = [int(i) for i in input().split(" ")] \nprint(max([A+B, A-B, A*B]))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s446690118', 's475175225', 's674542844'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [61, 53, 72] |
p02945 | u311669106 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b=map(int,input()split())\nprint("{}".format(max((a+b),(a-b),(a*b))))', 'a,b=map(int,input().split())\nprint("{}".format(max((a+b),(a-b),(a*b))))'] | ['Runtime Error', 'Accepted'] | ['s118090968', 's271309098'] | [2940.0, 2940.0] | [17.0, 17.0] | [70, 71] |
p02945 | u314089899 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A,B = list(map(int, input().split()))\nprint(max(A+B,A-B,A*B)', 'A,B = list(map(int, input().split()))\nprint(max(A+B,A-B,A*B))'] | ['Runtime Error', 'Accepted'] | ['s954624072', 's971266108'] | [2940.0, 2940.0] | [17.0, 18.0] | [60, 61] |
p02945 | u318165580 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A,B=int(input()),int(input())\nC=A+B\nD=A-B\nE=A*B\nif C>D and C>E:\n print(C)\nelif D>C and D>E:\n print(D)\nelif E>C and E>D:\n print(E)', 'int main() {\n int a, b;\n cin >> a >> b;\n int c = a * b;\n if (c % 2 == 0) cout << "Even" << endl;\n else cout << "Odd" << endl;\n}', 'a=A+B\nb=A-B\nc... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s136976372', 's317393551', 's934247125', 's611708979'] | [3060.0, 2940.0, 2940.0, 3060.0] | [17.0, 19.0, 17.0, 17.0] | [138, 142, 111, 148] |
p02945 | u319002530 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b = int(input().split())\n\ntasu = a+b\nkakeru = a*b\nhiku = a-b\n\nprint(max(tasu,kakeru,hiku))', 'a,b = int(input())\n\ntasu = a+b\nkakeru = a*b\nhiku = a-b\n\nprint(max(tasu,kakeru,hiku))', 'a,b = map(int, input().split())\n\ntasu = a+b\nkakeru = a*b\nhiku = a-b\n\nprint(max(tasu,kakeru,hiku))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s004520988', 's021795419', 's445246548'] | [3060.0, 2940.0, 2940.0] | [19.0, 17.0, 17.0] | [92, 84, 97] |
p02945 | u320098990 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['input_list = input().split()\nprint(input_list)\nA = int(input_list[0])\nB = int(input_list[1])\n\nif (A+B) >= (A-B) and (A+B) >= (A*B):\n print(A+B)\nelif (A+B) >= (A-B) and (A+B) <= (A*B):\n print(A*B)\nelif (A+B) <= (A-B) and (A+B) >= (A*B):\n print(A-B)\nelif (A+B) <= (A-B) and (A+B) <= (A*B):\n if (A... | ['Wrong Answer', 'Accepted'] | ['s935161046', 's864296699'] | [3064.0, 3064.0] | [17.0, 17.0] | [367, 349] |
p02945 | u324881146 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['print ("Hello, World!")', 'a,b = map(int,input().split())\nprint(max(a+b,a-b,a*b))'] | ['Wrong Answer', 'Accepted'] | ['s878788726', 's803416006'] | [2940.0, 2940.0] | [17.0, 17.0] | [23, 54] |
p02945 | u330799501 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A, B = map(int, input().split())\n \nres1 = A + B\nres2 = A - B\nres3 = A * B\n \nif res1 > res2:\n if (res1 > res3):\n print res1\n else:\n \tprint res3\nelse:\n if (res2 > res3):\n print res2\n else:\n print res3', 'A, B = map(int, input().split())\n\nres1 = A + B\nres2 = A - B\nres3 = A * B\n\nif res... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s544044333', 's711773666', 's900150327', 's870953781'] | [2940.0, 2940.0, 2940.0, 9112.0] | [17.0, 17.0, 24.0, 25.0] | [212, 220, 101, 197] |
p02945 | u333731247 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['x=input().split()\n\ny=[0]*3\ny[0]=x[0]+x[1]\ny[1]=x[0]-x[1]\ny[2]=x[0]*x[1]\n \nprint(max(y))', 'import sys\n\nargv=sys.argv\n\nx=[0]*2\nfor i in range(2):\n\tx[i]=(int)(argv[i+1])\n \ny=[0]*3\ny[0]=x[0]+x[1]\ny[1]=x[0]-x[1]\ny[2]=x[0]*x[1]\n\nprint(max(y))', "I=int(input().split())\nx=int(input().split())\ny=int... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s208415401', 's477551963', 's569707825', 's611349839', 's811766149', 's021735030'] | [2940.0, 3064.0, 2940.0, 3064.0, 3064.0, 3060.0] | [17.0, 19.0, 17.0, 18.0, 17.0, 17.0] | [87, 149, 150, 152, 137, 126] |
p02945 | u333945892 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ["from collections import defaultdict,deque\nimport sys,heapq,bisect,math,itertools,string,queue,copy,time\nsys.setrecursionlimit(10**8)\nINF = float('inf')\nmod = 10**9+7\neps = 10**-7\nprint = sys.stdout.write\ndef inp(): return int(sys.stdin.readline())\ndef inpl(): return list(map(int, sys.stdin.readline().split())... | ['Runtime Error', 'Accepted'] | ['s795465969', 's061057957'] | [4072.0, 4084.0] | [31.0, 30.0] | [407, 383] |
p02945 | u336624604 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A = int(input())\nB = int(input())\n\na=A+B\nb=A-B\nc=A*B\n\nif a>b and a>c:\n print(str(a))\n\nelif b>c and b>a:\n print(str(b))\n\nelse:\n print(str(c))', 'A = int(input())\nB = int(input())\nprint(max(A+B,A-B,A*B))\n', 'A = int(input())\nB = int(input())\nprint((max(A+B,A-B,A*B)))', 'A = int(input())\nB =... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s000012257', 's188842877', 's607813871', 's826967656', 's028323925'] | [3060.0, 2940.0, 2940.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0, 20.0, 17.0] | [149, 58, 59, 63, 55] |
p02945 | u337525741 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['job = list()\nsalary = list()\nm_total = 0\nj = 0\nn,m = map(int,input().split())\nfor i in range(n):\n a,b = map(int,input().split())\n job.append((a,b))\n job.sort(reverse = True)\nfor i in range(n):\n a,b = job[i]\n salary.append(b)\n if a + j > m :\n salary.remove(min(salary))\n co... | ['Runtime Error', 'Accepted'] | ['s941345709', 's263396240'] | [3064.0, 2940.0] | [17.0, 17.0] | [341, 134] |
p02945 | u344959886 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A,B=map(int,input().split())\nmax(A+B,A-B,A*B)', 'A,B=map(int,input().split())\nprint(max(A+B,A-B,A*B))'] | ['Wrong Answer', 'Accepted'] | ['s026742838', 's058695346'] | [2940.0, 2940.0] | [17.0, 17.0] | [45, 52] |
p02945 | u345336405 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['K,X =map(int, input().split())\nprint(*list(range(X-K+1,X+K)))', 'K,X =map(int, input().split())\nprint(list(range(X-K+1,X+K-1)))', 'A,B = map(int, input().split())\nprint(max(A+B, A-B, A*B))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s038322721', 's279139211', 's049359170'] | [3060.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [61, 62, 57] |
p02945 | u345483150 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a=int(input())\nb=int(input())\nif a+b>=a-b and a+b>=a*b:\n print(a+b)\nelif a-b>=a+b and a-b>=a*b:\n print(a-b)\nelse:\n print(a*b)', 'a, b=map(int, input().split())\nprint(max[a+b, a-b, a*b])', 'a=int(input())\nb=int(input())\nprint(max[a+b, a-b, a*b])', 'A,B = map(int,input().split())\nprint(max(A+B,A-B,A*B))'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s145185909', 's294966337', 's304976253', 's478266790'] | [2940.0, 3064.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0] | [128, 56, 55, 54] |
p02945 | u347673622 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b=map(int,input().split()))\n \nab1=a+b\nab2=a-b\nab3=a*b\nprint (max(ab1,ab2,ab3))', 'a=int(input())\nb=int(input())\n\nab1=a+b\nab2=a-b\nab3=a*b\nprint (max(ab1,ab2,ab3))', 'a,b=map(int,input().split())\n \nab1=a+b\nab2=a-b\nab3=a*b\nprint (max(ab1,ab2,ab3))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s040025908', 's548830436', 's614419515'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [80, 79, 79] |
p02945 | u347920118 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['num = int(input())\nchar=[] \nwhile True:\n try:\n char.append(list(input()))\n\n except:\n break\nnew_char=[]\ncnt=0\nfor i in range(num):\n\tnew_char.append(sorted(char[i]))\nfor x in range(num):\n for y in range(num):\n if new_char[x]==new_char[y] and x!=y:\n cnt = cnt+1\np... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s594931372', 's871802655', 's184304661'] | [3060.0, 3064.0, 2940.0] | [18.0, 17.0, 17.0] | [358, 344, 68] |
p02945 | u353919145 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['def dd():\n a=int(input("a="));\n b=int(input("b="));\n if(a+b>a-b):\n if(a+b>a*b):\n print(a+b);\n \n else:\n print(a*b);\n else:\n if(a-b>a+b):\n if(a-b>a*b):\n print(a-b);\n else:\n print(a*b);\ndef main... | ['Runtime Error', 'Accepted'] | ['s812769108', 's674106586'] | [3060.0, 2940.0] | [18.0, 17.0] | [325, 71] |
p02945 | u354567428 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['\nfrom collections import Counter\n\nn = int(input())\ns = Counter("".join(sorted(input())) for i in range(n))\n\nprint(sum(map(lambda x : x * (x - 1) // 2, s.values())))\n', "from collections import Counter\nn = int(input())\ns = Counter(''.join(sorted(input())) for i in range(n))\nprint(sum(map(lambda x : x * (x-1... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s540081580', 's686412725', 's172222089'] | [3316.0, 3316.0, 2940.0] | [20.0, 20.0, 17.0] | [166, 207, 58] |
p02945 | u354623416 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b = map(int,raw_input().split())\nprint(a+b,a-b,a*b)', 'a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))\n'] | ['Runtime Error', 'Accepted'] | ['s074957013', 's246743063'] | [2940.0, 2940.0] | [17.0, 18.0] | [53, 53] |
p02945 | u355137116 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a, b=map(int, input().split())\npuls = a + b\nm = a - b\nx = a * b\nprint(max(plus,m,x))', 'a, b=map(int, input().split())\nint puls = a + b\nint m = a - b\nint x = a * b\nprint(max(plus,m,x))', 'input int=a, int=b\nint puls = a + b\nint m = a - b\nint x = a * b\nprint(max(plus,m,x))', 'a, b= map (int, input().split(... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s018599838', 's068755159', 's907213248', 's400419295'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0, 17.0] | [84, 96, 84, 86] |
p02945 | u361826811 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['\n\nimport sys\nreadline = sys.stdin.readline\nreadlines = sys.stdin.readlines\nsys.setrecursionlimit(10 ** 7)\n\nA,B=map(int,readline())\n\nprint(max({A * B, A + B, A - B}))\n', '\n\nimport sys\n\nread = sys.stdin.buffer.read\nreadline = sys.stdin.buffer.readline\nreadlines = sys.stdin.buffer.readlines\nsys.setrecur... | ['Runtime Error', 'Accepted'] | ['s463728934', 's466331470'] | [2940.0, 2940.0] | [18.0, 17.0] | [211, 252] |
p02945 | u365243017 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A,B=map(int(),input().split())\nnumber1=A+B\nnumber2=A-B\nnumber3=A*B\nprint(max([number1,number2,number3]))', 'A,B=map(int,input().split())\na=A+B\nb=A-B\nc=A*B\nprint(max(a,b,c))'] | ['Runtime Error', 'Accepted'] | ['s497968014', 's346851995'] | [2940.0, 2940.0] | [17.0, 17.0] | [104, 64] |
p02945 | u370852395 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['s = list(map(int,input().split()))\nt = max(s[0]+s[1],s[0]-s[1],s[0]*s[1],s[0]/s[1])\nprint(t)\n', "s = list(map(int,input().split()))\nt = max(s[0]+s[1],s[0]-s[1],s[0]*s[1],s[0]/s[1])\nprint(t)\nprint('A+B={0},A-B={1},A*B={2},A/B={3}の中で最大の数{4}はです'.format(s[0]+s[1],s[0]-s[1],s[0]*s[1],s[0]/s[1],t))\n", "s = list(map(... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s386295741', 's543026133', 's811199257', 's609430034'] | [2940.0, 3060.0, 3060.0, 2940.0] | [21.0, 17.0, 18.0, 17.0] | [93, 217, 217, 215] |
p02945 | u372102441 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['from sys import stdin\n\n#Slist = list(S)\n#A = list(map(int, input().split()))\nchinpo = True\nA = int(input())\nB = int(input())\nX = A + B\nY = A - B\nZ = A * B\nlisto = []\nlisto.append(X)\nlisto.append(Y)\nlisto.append(Z)\nprint(max(listo))', 'X = int(S[0])+int(S[1])\nY = int(S[0])-int(S[1])\nZ = int(S[0])*int(S... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s011185188', 's112798461', 's189965175', 's347712267', 's359202528', 's411027821', 's460647405', 's468309865', 's497044975', 's507158551', 's976230564', 's883327586'] | [3060.0, 3060.0, 3060.0, 3060.0, 2940.0, 2940.0, 3060.0, 2940.0, 3060.0, 2940.0, 3060.0, 3060.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0, 18.0] | [231, 232, 106, 140, 199, 39, 210, 86, 254, 39, 140, 228] |
p02945 | u372144784 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ["from functools import lru_cache\n\nn = int(input())\nlist1 = [''.join(sorted(input())) for i in range(n)]\ndict1 = dict()\ncout = 0\n@lru_cache(maxsize = None)\ndef func(s):\n\tif s == 2:\n\t\treturn 1 \n\treturn s-1 + func(s-1)\n\nfor i in range(n):\n\tif list1[i] in dict1:\n\t\tdict1[list1[i]] += 1\n\telse:\n\t\tdi... | ['Runtime Error', 'Accepted'] | ['s831415244', 's329332590'] | [3572.0, 2940.0] | [23.0, 23.0] | [414, 113] |
p02945 | u372670441 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b=map(int,input().split())\nA=a*b\nB=a-b\nC=a*b\nD=[A,B,C]\nprint(max(D))', 'a,b=map(int,input().split())\nA=a*b\nB=a-b\nC=a+b\nD=[A,B,C]\nprint(max(D))'] | ['Wrong Answer', 'Accepted'] | ['s699207294', 's759730006'] | [2940.0, 2940.0] | [17.0, 17.0] | [70, 70] |
p02945 | u376099073 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A = int(input())\nB = int(input())\nif B >= 0:\n if (A+B)>=(A*B):\n print(A+B)\n else:\n print(A*B)\nelse:\n if (A-B)>=(A*B):\n print(A-B)\n else:\n print(A*B)', 'A,B = map(int,input().split())\nif B >= 0:\n if (A+B)>=(A*B):\n print(A+B)\n else:\n print(A*B)... | ['Runtime Error', 'Accepted'] | ['s025746327', 's518637184'] | [3060.0, 3060.0] | [17.0, 17.0] | [188, 185] |
p02945 | u376328830 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['def return_sorted_string(string):\n lst=list(map(ord,list(string)))\n lst.sort()\n lst=list(map(chr,lst))\n string="".join(lst)\n return string\n \n\n\n\nn = int(input())\nstrings=[input() for i in range(n)]\ndic={}\nfor i in range(n):\n string=return_sorted_string(strings[i])\n if string in d... | ['Runtime Error', 'Accepted'] | ['s158175908', 's787786752'] | [3064.0, 2940.0] | [19.0, 17.0] | [445, 58] |
p02945 | u379535139 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A, B = map(int, input().split())\n\nt = A + B\nx = A * B\nm = A - B\n\na_flg = False\nb_flg = False\n\nif A >= 0:\n a_flg = True\nif B >= 0:\n b_flg = True\n \nif A == 0 or B == 0:\n print(t)\nif a_flg and b_flg:\n print(x)\nelif a_flg == True and b_flg == False:\n print(m)', "A, B = map(int, input().split())\n... | ['Wrong Answer', 'Accepted'] | ['s157412077', 's533206239'] | [3064.0, 3060.0] | [17.0, 17.0] | [261, 187] |
p02945 | u381572531 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a, b = map(int, input().split())\nmax_num = 0\nfor i in [a*b, a-b, a+b]:\n if i > max_num:\n max_num = i\nprint(max_num)', 'a, b = map(int, input().split())\nprint(max([a+b, a-b, a*b]))'] | ['Wrong Answer', 'Accepted'] | ['s248255091', 's169730263'] | [2940.0, 2940.0] | [17.0, 17.0] | [125, 60] |
p02945 | u382907940 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['fs= [float(f) for f in input().split()]\na,b = fs[0],fs[1]\nprint(max(a+b,a*b,a-b))', 'a,b = map(int(input().split()))\nprint(max(a+b,a-b,a*b))', 'a,b = map(int,input().split())\nprint(max(a+b,a-b,a*b))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s406811111', 's621143604', 's018243477'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [81, 55, 54] |
p02945 | u383508661 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['i,k=map(int,input().split())\nfor i in range(k-i+1,k+i):\n print(i ,end=" ")', 'A,B=map(int,input().split())\nif A+B>=A-B and A+B>=A*B:\n print(A+B)\n\nelif A-B>=A+B and A-B>=A*B:\n print(A-B)\n\nelse:\n print(A*B)'] | ['Wrong Answer', 'Accepted'] | ['s104008394', 's611977603'] | [3060.0, 2940.0] | [17.0, 17.0] | [77, 129] |
p02945 | u384031061 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A, B = list(map(int, input().split()))\nprint(max([A+B],[A-B],[A*B]))\n', 'A, B = list(map(int, input().split()))\nl = [A+B, A-B, A*B]\nprint(max(l))'] | ['Wrong Answer', 'Accepted'] | ['s783598534', 's028257741'] | [2940.0, 2940.0] | [17.0, 18.0] | [69, 72] |
p02945 | u390170391 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['l = list(map(int,input().split))\nA = l[0]\nB = l[1]\nprint(max(A+B,A-B,A*B))', 'l = list(map(int,input().split()))\nA = l[0]\nB = l[1]\nprint(max(A+B,A-B,A*B))\n'] | ['Runtime Error', 'Accepted'] | ['s324559755', 's137754254'] | [2940.0, 2940.0] | [17.0, 17.0] | [74, 77] |
p02945 | u391066416 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A, B = map(int, input().split)\nprint(max(A+B, A-B, A*B))', 'import numpy as np\n\nK, X = map(int, input().split())\nAns = np.arange(X-K+1, X+K)\nprint(*Ans)', 'A, B = map(int, input().split())\nprint(max(A+B, A-B, A*B))'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s138439134', 's690614836', 's094169382'] | [2940.0, 12392.0, 2940.0] | [18.0, 150.0, 18.0] | [56, 92, 58] |
p02945 | u396391104 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A, B = map(int, input().split())\nprint(max(a+b, a-b, a*b))', 'A, B = map(int, input().split())\nprint(max(a+b, a-b, a*b)', 'A, B = map(int,input().split())\nprint(max(A+B, A-B, A*B))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s352056475', 's362336064', 's836563814'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [58, 57, 57] |
p02945 | u402584185 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a=input()\nb=input()\n\nprint(max(max(a+b,a-b),a*b))', 'a, b = input().split()\na = int(a)\nb = int(b)\nprint(max(max(a+b, a-b), a*b))\n'] | ['Runtime Error', 'Accepted'] | ['s066487864', 's717258289'] | [2940.0, 2940.0] | [18.0, 17.0] | [49, 76] |
p02945 | u402672613 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['if kakeru > minus:\n grater=kakeru\nelse:\n grater=minus\n\nif grater > plus:\n max=grater\nelse:\n max=plus\n\nprint(max)', 'a,b = map(int, input().split())\n\nkakeru=a*b\nminus=a-b\nplus=a+b\n\n\nif kakeru > minus:\n grater=kakeru\nelse:\n grater=minus\n\nif grater > plus:\n max=grater\nelse:\n... | ['Runtime Error', 'Accepted'] | ['s418275572', 's704444295'] | [2940.0, 3060.0] | [17.0, 17.0] | [124, 189] |
p02945 | u403093648 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['n,s= map(int,input().split())\nprint(max(n+s,n-s,n*s)', 'n,s= map(int,input().split())\nprint(max(n+s,n-s,n*s))'] | ['Runtime Error', 'Accepted'] | ['s643878381', 's105276559'] | [2940.0, 2940.0] | [17.0, 17.0] | [52, 53] |
p02945 | u405137387 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b = int(input().split())\nprint(max([a+b,a-b,a*b]))', 'a,b=(int(x) for x in input().split())\nprint(max([a+b,a-b,a*b]))'] | ['Runtime Error', 'Accepted'] | ['s815852546', 's482620129'] | [2940.0, 2940.0] | [17.0, 18.0] | [52, 63] |
p02945 | u409064224 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['n,m = map(int,input().split())\n\nprint(max(n*m,n+n,n-m))', 'a,b = map(int,input().split())\n\nprint(max(a+b,a-b,a*b))'] | ['Wrong Answer', 'Accepted'] | ['s901913975', 's329314590'] | [2940.0, 2940.0] | [17.0, 17.0] | [55, 55] |
p02945 | u412255932 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A, B = map(int, input().split())\nreturn max(A+B, max(A-B, A*B))', 'A, B = map(int, input().split())\nprint(max(A+B, max(A-B, A*B)))\n'] | ['Runtime Error', 'Accepted'] | ['s419213484', 's340356887'] | [2940.0, 2940.0] | [17.0, 18.0] | [63, 64] |
p02945 | u412481017 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['#N is numbers of BAITO, M is limit of days\nN,M=map(int,input().split())\n\ni=0\ninp ={}\nwhile i<N:\n readTime,inCome=map(int,input().split())\n if readTime in inp:\n inp[readTime].append(inCome)\n else:\n inp[readTime]=[inCome]\n \n i=i+1\n\n#print(inp) \n\nresult=0\npool=[]\ni=1\nwhile i<=M:\n if i in... | ['Runtime Error', 'Accepted'] | ['s581116985', 's583002004'] | [3064.0, 2940.0] | [17.0, 17.0] | [460, 55] |
p02945 | u415914132 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ["date = inp.readline().rstrip().split(' ')\nx = int(date[0])\ny = int(date[1])\nnum1 = x + y\nnum2 = x - y\nnum3 = x * y\n\nif num1 > num2:\n if num1 > num3:\n ans = num1\n else:\n ans = num3\nelif num2 > num3:\n ans = num2\nelse:\n ans = num3\n\nprint(ans)", 'x, y = list(map(int, input().spl... | ['Runtime Error', 'Accepted'] | ['s910667294', 's631826191'] | [3060.0, 3060.0] | [17.0, 17.0] | [265, 229] |
p02945 | u418420470 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A,B = map(int,input().split())\na = A+B\nb = A-B\nc = A*B\nlist = [a,b,c]\nmax(list)', 'A,B = map(int,input(),split())\na = A+B\nb = A-B\nc = A*B\nabc = [a,b,c]\nmax(abc)', 'A,B = map(int,input().split())\na = A+B\nb = A-B\nc = A*B\nList = [a,b,c]\nprint(max(List))'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s103334413', 's468352526', 's060114430'] | [2940.0, 2940.0, 2940.0] | [19.0, 17.0, 17.0] | [79, 77, 86] |
p02945 | u419060720 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['return max(A+B, A-B, A*B)', 'A, B = map(int, input().split())\n\nreturn max(A+B, A-B, A*B)', 'a, b = (int(i) for i in input().split())\nprint(max(a+b, a-b, a*b))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s228399578', 's849683168', 's396825068'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [25, 59, 66] |
p02945 | u419877586 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b=map(int, input().split())\nprint(max(a+b, a-bm a*b))', 'a, b = map(int, input().split(" "))\nprint(max(a+b, a-b, a*b))'] | ['Runtime Error', 'Accepted'] | ['s063114179', 's154422582'] | [2940.0, 2940.0] | [17.0, 18.0] | [55, 61] |
p02945 | u426649993 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['if __name__ == "__main__":\n a, b = map(int, input().split())\n\n ans = a + b\n\n if ans > a - b:\n ans = a - b\n\n if ans > a * b:\n ans = a * b\n\n print(ans)\n', 'if __name__ == "__main__":\n a, b = map(int, input().split())\n\n ans = a + b\n\n if ans < a - b:\n ans = a... | ['Wrong Answer', 'Accepted'] | ['s706378848', 's799146633'] | [2940.0, 2940.0] | [17.0, 17.0] | [179, 179] |
p02945 | u434872492 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['AB = list(map(int,input().split()))\nAplusB = AB[0] + AB[1]\nif AB[0] <= AB[1]:\n AminusB = AB[1] - AB[0]\nelse:\n AminusB = AB[0] - AB[1]\nAkakeruB = AB[0] * AB[1]\n\nprint(AplusB)\nprint(AminusB)\nprint(AkakeruB)', 'import numpy as np\nAB = list(map(int,input().split()))\nAplusB = AB[0] + AB[1]\nAminusB = AB[0] -... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s778005952', 's796767081', 's310322880'] | [3060.0, 12508.0, 2940.0] | [18.0, 149.0, 17.0] | [206, 235, 76] |
p02945 | u435716660 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['x,y = list(map(int, input().split(" ")))\n\nif x < 0:\n if y < 0:\n print(x*y)\n else:\n print(x*y)\nelse:\n if y < 0:\n print(x-y)\n else:\n ad = x+y\n mu = x*y\n if ad < mu:\n print(mu)\n else:\n print(ad)\n\n', 'x,y = list(map(float... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s099124038', 's943195035', 's450522726'] | [2940.0, 2940.0, 3060.0] | [17.0, 18.0, 17.0] | [276, 168, 275] |
p02945 | u437215432 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['from math import factorial\nn = int(input())\nk = int(input())\nprint(factorial(n+k-1)//factorial(k)//factorial(n-1) % 1000000007)\n', 'a, b = map(int, input().split())\nprint(max(a + b, a - b, a * b))\n'] | ['Runtime Error', 'Accepted'] | ['s800581393', 's408230893'] | [2940.0, 3064.0] | [17.0, 17.0] | [128, 65] |
p02945 | u439918693 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A, B = map(int, input().split())\nprint(max[A + B, A - B, A * B])', 'A, B = map(int, input().split())\nprint(max([A + B, A - B, A * B]))'] | ['Runtime Error', 'Accepted'] | ['s627722556', 's959947894'] | [2940.0, 2940.0] | [17.0, 17.0] | [64, 66] |
p02945 | u441099853 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['k, x = (int(i) for i in input().split())\n\n\n# x = 7\narr = []\n\nfor i in range(-k + 1, 0):\n for j in range(0, k + 1):\n arr.append(i + j + x) \n\nsorted_list = sorted(list(set(arr)))\n\nresult = " ".join(map(str, sorted_list))\nif (k == 1):\n result = x\n\n\nprint(result)\n\n ', 'k, x = (int(i) for i in in... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s578764373', 's616074934', 's010475911'] | [3188.0, 3188.0, 3060.0] | [19.0, 19.0, 17.0] | [276, 255, 129] |
p02945 | u448720391 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['k,x = map(int,input().split())\np = [x-k+1+i for i in range(2*k-1)]\n\nq = [j for j in p if j > -1000000 and j < 1000000]\n\nprint(q)', 'a,b = map(int,input().split())\nc = [a+b,a-b,a*b]\nprint(max(c))'] | ['Wrong Answer', 'Accepted'] | ['s119206223', 's741551373'] | [2940.0, 3064.0] | [17.0, 18.0] | [128, 62] |
p02945 | u450786783 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['k, x = map(int, input().split())\nz = []\nfor i in range(k):\n z.append(x-i)\nfor i in range(1,k):\n z.append(x+i)\nprint(*sorted(z))', 'a, b = map(int, input().split())\narr = [a+b, a-b, a*b]\nprint(max(arr))'] | ['Wrong Answer', 'Accepted'] | ['s114399731', 's530683124'] | [3060.0, 2940.0] | [17.0, 17.0] | [133, 70] |
p02945 | u450904670 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b=map(int, input().split())\nres = []\nres.append(a+b)\nres.append(a-b)\nres.append(a*b)\nres.sort(reverse=True)', 'a,b=map(int, input().split())\nres = []\nres.append(a+b)\nres.append(a-b)\nres.append(a*b)\nres.sort(reverse=True)\nprint(res[0])'] | ['Wrong Answer', 'Accepted'] | ['s540144440', 's290584627'] | [2940.0, 3060.0] | [17.0, 17.0] | [109, 123] |
p02945 | u453500284 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['k, x = map(int,input().split())\nprint(sorted(x, reverse=True))\n', 'a, b = map(int,input().split())\nprint(max(a+b, a-b, a*b))'] | ['Runtime Error', 'Accepted'] | ['s096114853', 's621274725'] | [2940.0, 2940.0] | [17.0, 17.0] | [63, 57] |
p02945 | u453623947 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a, b = map(int(input().split()))\n\nprint(max(a+b, a-b, a*b))', 'a, b = map(int,input().split())\nprint(max(a+b, a-b, a*b))\n'] | ['Runtime Error', 'Accepted'] | ['s525394081', 's337283367'] | [2940.0, 2940.0] | [17.0, 17.0] | [59, 58] |
p02945 | u457554982 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['ab=list(map(int,input().split()))\na=ab[0]+ab[1]\nb=ab[0]*ab[1]\nc=ab[0]-ab[1]\nflag=0\nif a>b:\n if a>c:\n print(a)\n flag=1\nelse:\n if b>c:\n print(b)\n flag=1\nif flag=0:\n print(c)', 'kx=list(map(int,input().split()))\nk=kx[0]\nx=kx[1]\na=x+1-k\nb=x+k\nfor i in range(a,b):\n print(i,end=" ")', '\... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s064303371', 's421926945', 's231102715'] | [2940.0, 3060.0, 3060.0] | [18.0, 17.0, 17.0] | [186, 103, 189] |
p02945 | u459590249 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b = map(int, input().split())\nprint(max(a+b,a-b,a*b)', 'a,b = map(int, input().split())\nprint(max(a+b,a-b,a*b))'] | ['Runtime Error', 'Accepted'] | ['s180399983', 's683155825'] | [2940.0, 3060.0] | [17.0, 19.0] | [54, 55] |
p02945 | u460199376 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ["count = int(input())\n\nstr_data = {}\n\nfor i in range(count):\n judge_str = ''.join(sorted(input()))\n if judge_str in str_data:\n str_data[judge_str] += 1\n else:\n str_data[judge_str] = 0\n\nprint(sum(str_data.values())", "a,b = input().split(' ')\n\nprint(max(a*b,a-b,a+b))", 'a,b = map(int, input().spli... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s690344892', 's949223777', 's654763873'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [221, 49, 56] |
p02945 | u464689569 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a=int(input())\nb=int(input())\n\nc=a+b\nif a-b>c:\n c=a-b\nif a*b>c:\n c=a*b\nprint(c)', 'a=int(input())\nb=int(input())\n\nc=a+b\nif a-b>c:\n c=a-b\nif a*b>c:\n c=a*b\nprint(c)', 'a,b=map(int,input().split())\nc=[a+b,a-b,a*b]\nprint(max(c))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s076089565', 's080745591', 's601795791'] | [2940.0, 2940.0, 3064.0] | [17.0, 17.0, 17.0] | [85, 85, 58] |
p02945 | u465233325 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['def main(text):\n a = list(map(int, text.split()))\n print(a)\n print(max([a[0]+a[1], a[0]-a[1], a[0]*a[1]]))\n\n\nmain(input())\n', 'a = input().split()\nprint(max[a[0]+a[1], a[0]-a[1], a[0]*a[1]])\n', 'def main(text):\n a = list(map(int, text.split()))\n print(max([a[0]+a[1], a[0]-a[1], a[0]*a[1]]))\... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s632780179', 's989983221', 's042472986'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [132, 64, 119] |
p02945 | u471147483 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['let test a b =\n max (max (a+b) (a-b)) (a*b);;\n\nScanf.sscanf (read_line ()) "%d %d" (fun a b -> test a b);;', 'K, N = map(int, input().split())\n\nX = K+N\nY = K-N\nZ = K*N\n\nprint(max(X,Y,Z))'] | ['Runtime Error', 'Accepted'] | ['s467240075', 's109048300'] | [2940.0, 2940.0] | [17.0, 17.0] | [107, 76] |
p02945 | u474423089 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ["def mian():\n a,b=map(jnt,input().split(' '))\n print(max(a+b,a-b,a*b))\nif __name__ == '__main__':\n main()", "def main():\n a,b = map(int,input().split(' '))\n print(max(a+b,a-b,a*b))\nif __name__ == '__main__':\n main()"] | ['Runtime Error', 'Accepted'] | ['s935864224', 's774201425'] | [2940.0, 2940.0] | [17.0, 17.0] | [113, 115] |
p02945 | u475991121 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a, b = map(int, input().split()\nans = max(a+b), a-b)\nans = max(ans, a*b)\nprint(ans)', 'a, b = map(int, input().split())\nans = max(a+b, a-b)\nans = max(ans, a*b)\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s663196118', 's544437742'] | [2940.0, 2940.0] | [18.0, 17.0] | [83, 83] |
p02945 | u482532694 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ["N = int(input())\n\ns = []\nfor i in range(N):\n s.append(''.join(sorted(input())))\n\ns = sorted(s)\n\ntmp_count = 1\ncount = 0\nfor i in range(0, len(s)-1):\n if s[i] == s[i+1]:\n tmp_count += 1\n else:\n count += tmp_count * (tmp_count - 1) // 2\n tmp_count = 1\ncount += tmp_count * (... | ['Runtime Error', 'Accepted'] | ['s324523919', 's441813036'] | [3064.0, 2940.0] | [17.0, 18.0] | [334, 189] |
p02945 | u483304397 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['N = int(input())\nS=[]\nfor n in range(N):\n S.append(input())\nSlist = []\nfor s in S:\n lists = list(s)\n listss = sorted(lists)\n Slist.append(listss)\ndef isAna2(Sl,sl):\n boolcount = True\n for i,Sli in enumerate(Sl):\n if Sli != sl[i]:\n boolcount = False\n break\n... | ['Runtime Error', 'Accepted'] | ['s392989272', 's231362244'] | [3064.0, 2940.0] | [17.0, 17.0] | [458, 62] |
p02945 | u487288850 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['a,b=map(int,input().split())\nmax(a+b,a-b,a*b)', 'a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))'] | ['Wrong Answer', 'Accepted'] | ['s066478039', 's132753145'] | [9056.0, 9156.0] | [26.0, 27.0] | [45, 52] |
p02945 | u489762173 | 2,000 | 1,048,576 | We have two integers: A and B. Print the largest number among A + B, A - B, and A \times B. | ['A, B = map(int, input().split())\nx = A+B\ny = A-B\nz = A*B\n\nif(x>y and x>z):\n print(x)\n\nelif(y>x and y>z):\n print(y)\n\nelif(z>x and z>y):\n print(z)\n\nelse:\n exit()\n~', 'A, B = map(int, input().split())\nx = A+B\ny = A-B\nz = A*B\n\nif(x>=y>=z or x>=z>=y):\n print(x)\nelif(y>=x>=z or y>=z>=x... | ['Runtime Error', 'Accepted'] | ['s383051883', 's311570915'] | [2940.0, 3060.0] | [18.0, 17.0] | [173, 152] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.