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 | u735175408 | 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 (A*B)>(A+B) and (A*B)>(A-B):\n print(A*B)', 'A=int(input())\nB=int(input())\nprint(max(A+B,A-B,A*B))', 'A=int(input())\nB=int(input())\nif (A+B)>=(A-B) and (A+B)>=(A*B):\n print(A+B)\... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s137424854', 's313214265', 's424202998', 's466956234', 's468573385', 's786651909', 's898948136'] | [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] | [168, 53, 174, 53, 150, 53, 52] |
p02945 | u738994862 | 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\nprint(max[A+B,A-B,A*B])\n \n', 'A,B=[int(i) for i in input().split(" ")]\nprint(max([A+B,A-B,A*B]))'] | ['Runtime Error', 'Accepted'] | ['s386691650', 's359670733'] | [2940.0, 2940.0] | [17.0, 17.0] | [58, 66] |
p02945 | u740047492 | 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()) for _ in range(2)]\n \nP = A + B\nM = A - B\nT = A * B\n \nlist = [P, M, T]\nprint(list(max))', 'A, B = [int(input()) for _ in range(2)]\n \nP = A + B\nM = A - B\nT = A * B\n \nli = [P, M, T]\nprint(max(li))\n', 'A, B = [int(input()) for _ in range(2)]\n \nP = A + B\nM = A - B\nT = A * B\n \nlist... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s261815484', 's302885162', 's353790247', 's370361807', 's599101594', 's373433704'] | [2940.0, 2940.0, 3056.0, 3056.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0, 18.0, 17.0, 17.0] | [107, 104, 107, 178, 106, 52] |
p02945 | u748311048 | 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())\ns=[a+b, a-b, A*b]\nprint(max(s))', 'a,b=map(int, input().split())\ns=[a+b, a-b, a*b]\nprint(max(s))'] | ['Runtime Error', 'Accepted'] | ['s047417869', 's362660624'] | [3316.0, 3064.0] | [22.0, 17.0] | [61, 61] |
p02945 | u752694775 | 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())\nstones = [X]\nfor i in range(K):\n if i != 0:\n \tstones.append(X+i)\n \tstones.append(X-i)\nstones.sort()\nfor s in stones:\n\tprint(s)', 'A,B = map(int, input().split())\ncal = [A+B, A-B, A*B]\nans = max(cal)\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s206212079', 's489379818'] | [3060.0, 2940.0] | [17.0, 17.0] | [161, 79] |
p02945 | u755302627 | 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. | ['# -*- coding: utf-8 -*-\n\na = int(input())\n\nb = int(input())\n\n\nprint(max([a+b, a-b, a*b]))', '# -*- coding: utf-8 -*-\na, b = map(int, input().split())\nprint(max([a+b, a-b, a*b]))'] | ['Runtime Error', 'Accepted'] | ['s779198379', 's529668948'] | [2940.0, 2940.0] | [17.0, 18.0] | [155, 84] |
p02945 | u756420279 | 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\nplus = A + B\nminus = A - B\ncross = A * B\n\nif plus >= minus:\n\tif plus >= cross:\n print(plus)\n else:\n print(cross)\nelse:\n\tprint(minus)', 'A, B = map(int, input().split())\n\nplus = A + B\nminus = A - B\ncross = A * B\n\nif plus >= minus:\n\tif plus >= cross:\... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s159043245', 's915548360', 's168817566'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [179, 172, 119] |
p02945 | u756604554 | 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\nanswers = [A+B, A-B, A*B, A/B]\nprint(max(answers))", "A, B = map(int, input().split(' '))\n\nif B == 0:\n divisor = -10000000\nelse:\n divisor = A/B\n\nanswers = [A+B, A-B, A*B, divisor]\nprint(max(answers))", "A, B = map(int, input().split(' '))\n\nanswers = [A+B, A-B, A... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s509391976', 's938456683', 's252104824'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [87, 151, 82] |
p02945 | u756696693 | 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())\nc=a+b\nd=a-b\ne=a*b\nprint(max(c,d,e)', 'a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s221294618', 's478576797', 's893551090'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [51, 63, 52] |
p02945 | u758145613 | 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())\nl=[]\nl.append(a+b)\nl.append(a-b)\nl.append(a*b)\nprint(max(l))\n', 'l= [int(x) for x in input().split()]\np=[]\np.append(l[0]-l[1])\np.append(l[0]+l[1])\np.append(l[0]*l[1])\nprint(max(p))\n'] | ['Runtime Error', 'Accepted'] | ['s538858668', 's640449160'] | [2940.0, 2940.0] | [17.0, 17.0] | [91, 116] |
p02945 | u758475901 | 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))'] | ['Runtime Error', 'Accepted'] | ['s797799526', 's062605269'] | [3316.0, 2940.0] | [22.0, 17.0] | [140, 54] |
p02945 | u761105230 | 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())\n2 for i in range(X - K + 1, X + K):\n3 if i < X + K - 1:\n4 print(i, end=' ')\n5 else:\n6 print(i)\n", 'import numpy as np\nk, x = map(int, input().split())\nprint(np.array(range(x-k+1, x+k-1, 1)))', 'import numpy as np\nk, x = map(int, input().split())\nprint(np.array(range(x-k+1, ... | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s051037395', 's331198281', 's340484933', 's352058870', 's976175610', 's561893092'] | [2940.0, 12392.0, 12392.0, 12500.0, 2940.0, 2940.0] | [19.0, 151.0, 151.0, 157.0, 17.0, 17.0] | [129, 91, 91, 107, 118, 57] |
p02945 | u764569828 | 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. | ['I0 = lambda :map(int,input().split())\nI1 = lambda :int(input())\nI2 = lambda :list(map(int,input().split()))\n#####################################################\nA,B = I0()\nprint(max([A*B,A-B,A+b]))\n', 'I0 = lambda :map(int,input().split())\nI1 = lambda :int(input())\nI2 = lambda :list(map(int,input().split()))... | ['Runtime Error', 'Accepted'] | ['s357288957', 's314439505'] | [2940.0, 2940.0] | [17.0, 18.0] | [199, 199] |
p02945 | u765865533 | 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().spli\nx= A+B\ny= A-B\nz=A*B\nprint(max([x,y,z]))', 'A, B = map(int, input().split())\nx= A+B\ny= A-B\nz=A*B\nprint(max([x,y,z]))'] | ['Runtime Error', 'Accepted'] | ['s718953382', 's974556952'] | [2940.0, 2940.0] | [17.0, 17.0] | [70, 74] |
p02945 | u767432305 | 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'] | ['s814258850', 's197521313'] | [2940.0, 2940.0] | [17.0, 18.0] | [44, 52] |
p02945 | u767545760 | 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'] | ['s267756617', 's192297999'] | [2940.0, 2940.0] | [17.0, 19.0] | [63, 64] |
p02945 | u768890894 | 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())\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'] | ['s846714722', 's679132311'] | [2940.0, 2940.0] | [17.0, 17.0] | [40, 52] |
p02945 | u770230638 | 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 sys\n\nN = int(input())\nL = []\nfor i in range(N):\n L.append(sorted(sys.stdin.readline().strip()))\n\nSum = 0\nfor i in range(N):\n if i == N - 1:\n break\n \n for j in range(i+1, N):\n if L[i] == L[j]:\n Sum += 1\n\nprint(Sum)\n \n', 'a, b = map(int, input().split... | ['Runtime Error', 'Accepted'] | ['s224494175', 's329478576'] | [3060.0, 2940.0] | [17.0, 18.0] | [267, 60] |
p02945 | u770828422 | 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. | ['13 3', 'a, b = map(int, input().split())\nprint(max(a + b, a - b, a * b))'] | ['Runtime Error', 'Accepted'] | ['s642272813', 's193419792'] | [2940.0, 2940.0] | [17.0, 17.0] | [4, 64] |
p02945 | u774729733 | 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())\nplus = a + b\nminus = a - b\nmult = a * b\nans = max(plus, minus)\nans = max(ans, mult)\nprint ans', 'a, b = map(int, input().split())\nplus = a + b\nminus = a - b\nmult = a * b\nans = max(plus, minus)\nans = max(ans, mult)\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s552629649', 's757430939'] | [2940.0, 3064.0] | [17.0, 17.0] | [126, 127] |
p02945 | u774985302 | 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())\nif A + B >= A - B:\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)\n', 'A,B=map(int,input().split())\nif A + B >= A - B:\n if A + B>=A * B:\n print(A + B)\n else :\n ... | ['Runtime Error', 'Accepted'] | ['s914827672', 's452736122'] | [2940.0, 2940.0] | [18.0, 17.0] | [196, 203] |
p02945 | u776429183 | 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()\n\nB=input()\n\n\nad=int(A)+int(B)\nmi=int(A)-int(B)\nde=int(A)*int(B)\n\nmath=[ad,mi,de]\nm_max=max(math)\n\nprint(m_max)\n', 'A,B=input().split()\n\nad=int(A)+int(B)\nmi=int(A)-int(B)\nde=int(A)*int(B)\n\nmath=[ad,mi,de]\n\nm_max=max(math)\n\nprint(m_max)'] | ['Runtime Error', 'Accepted'] | ['s126664079', 's337758969'] | [2940.0, 3060.0] | [17.0, 19.0] | [121, 119] |
p02945 | u777394984 | 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(nit,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'] | ['s405536590', 's713646130'] | [2940.0, 2940.0] | [17.0, 17.0] | [54, 54] |
p02945 | u779728630 | 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))\n'] | ['Runtime Error', 'Accepted'] | ['s889824789', 's419609194'] | [2940.0, 2940.0] | [17.0, 17.0] | [58, 60] |
p02945 | u780143117 | 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 = list(map(int,input().split())\nprint(max(a[0]+a[1],a[0]-a[1],a[0]*a[1]))', 'a = list(map(int,input().split()))\nprint(max(a[0]+a[1],a[0]-a[1],a[0]*a[1]))'] | ['Runtime Error', 'Accepted'] | ['s776026353', 's586412775'] | [2940.0, 2940.0] | [17.0, 17.0] | [75, 76] |
p02945 | u783175749 | 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\nnumber = [a,b,c]\nprint(max(number))', 'A,B = map(int,input().split())\n\nprint(max(A+B,A-B,A*B))'] | ['Runtime Error', 'Accepted'] | ['s456097647', 's650463711'] | [3060.0, 2940.0] | [17.0, 17.0] | [96, 137] |
p02945 | u783676040 | 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=maps(int,input().split())\nprint(max([A+B,A-B,A*B]))', 'A,B=maps(int,input().split())\nprint(max(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'] | ['s440948961', 's973067801', 's407187198'] | [8988.0, 8876.0, 9092.0] | [25.0, 25.0, 34.0] | [55, 58, 54] |
p02945 | u794438087 | 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 sys\n \na = []\nfor l in sys.stdin:\n if l == '\\n' or l == '\\r' or l == '\\r\\n':\n break\n else :\n a.append(l)\n \ntarget = a[int(a[0])]\nnum = 0\n\nsortedA = []\n\nfor i in a:\n sortedA.append(''.join(sorted(a[i])))\nsortedA.pop(0)\n\nfor i in range(1, len(a) - 1):\n for j in ran... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s051636715', 's230211432', 's430211113', 's517523526', 's607983696', 's643220516', 's710712627', 's800622213', 's949822733'] | [3064.0, 3060.0, 3064.0, 3064.0, 2940.0, 3064.0, 3064.0, 3064.0, 3060.0] | [18.0, 18.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [486, 174, 264, 257, 238, 329, 285, 285, 162] |
p02945 | u794652722 | 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())\n\nlist = []\n\nfor i in range(X-K+1,X+K):\n list.append(i)\n\nprint(" ".join(map(str,list))\n', 'K,X = map(int,input().split())\n\nlist = []\n\nfor i in range(X-K+1,X+K):\n list.append(i)\n\nprint(" ".join(map(str,list)))\n', 'A,B = int(input().split())\n\nprint(max(a+b,a-b,a*b))... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s180837268', 's370283253', 's406623402', 's873700398', 's146898130'] | [2940.0, 3064.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0, 18.0] | [120, 121, 52, 52, 56] |
p02945 | u798768533 | 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 _ in range(N):\n s = ''.join(sorted(input().rstrip()))\n if s in S:\n S[s] += 1\n else:\n S[s] = 1\n\nans=0\nfor s in S.values():\n ans += s*(s-1)//2\n \nprint(ans)", 'A, B = [int(i) for i in input().split()]\nprint(max(A+B, A-B, A*B))'] | ['Runtime Error', 'Accepted'] | ['s556460795', 's598021578'] | [3060.0, 2940.0] | [17.0, 17.0] | [190, 66] |
p02945 | u803831727 | 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\nA,B=input().split()\n\narray=np.zeros((3))\n\narray[0]=int(A)+int(B)\narray[1]=int(A)-int(B)\narray[2]=int(A)*int(B)\n\nprint(np.max(array))', 'import numpy as np\n\nA,B=input().split()\n\narray=np.zeros((3))\n\narray[0]=int(A)+int(B)\narray[1]=int(A)-int(B)\narray[2]=int(A)*int(B)\n\nprint(int(... | ['Wrong Answer', 'Accepted'] | ['s271298910', 's992856887'] | [21924.0, 21820.0] | [376.0, 317.0] | [152, 157] |
p02945 | u804048521 | 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())\nint(max(a*b, max(a-b, a+b)))', 'a, b = map(int, input().split())\nmax(int(a)*int(b), max(int(a)-int(b), int(a)+int(b)))', 'A, B =(int(x) for x in input().split())\nprint(max(max(A+B, A-B), A * B))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s375411508', 's761451230', 's851221166'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [61, 86, 72] |
p02945 | u806976856 | 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\nif x>=y and x>=z:\n print(x)\nif y>=x and y>=z:\n print(y):\nif z>=x and z>=y:\n print(z)\n \n', 'a,b=map(int,input().split())\nx=a+b\ny=a-b\nz=a*b\nif x>=y and x>=z:\n print(x)\nif y>=x and y>=z:\n print(y)\nelse:\n print(z)', 'a,b=map(int,inpu... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s543823635', 's565177947', 's568571774'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [147, 127, 70] |
p02945 | u813993459 | 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((str(abs(a)+abs(b)),str(a*b))[a*b>abs(a)+abs(b)])', 'a,b=map(int,input().split())\nprint((((str(a-b)),str(a+b))[a+b>a-b],str(a*b))[a*b>a+b])'] | ['Wrong Answer', 'Accepted'] | ['s056306491', 's129592945'] | [2940.0, 2940.0] | [17.0, 20.0] | [84, 86] |
p02945 | u814265211 | 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(map(a+b, a-b, a*b))', 'a, b = map(int, input().split())\n\nprint(max(a+b, a-b, a*b))\n'] | ['Runtime Error', 'Accepted'] | ['s901774303', 's444995331'] | [2940.0, 2940.0] | [20.0, 17.0] | [59, 60] |
p02945 | u820052258 | 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 = list(map(int,input().split()))\n\nprint(A[0]+A[1],A[0]-A[1],A[0]*A[1])', 'A = list(map(int,input().split()))\nprint(max(A[0]+A[1],A[0]-A[1],A[0]*A[1]))'] | ['Wrong Answer', 'Accepted'] | ['s782736929', 's805164358'] | [2940.0, 2940.0] | [17.0, 17.0] | [72, 76] |
p02945 | u826103718 | 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().strip())\n\nprint(max(a+b, a-b, a * b))', 'a,b = map(int, input().split())\n\nprint(max(a+b,a-b,a*b))'] | ['Runtime Error', 'Accepted'] | ['s030300831', 's600735858'] | [2940.0, 2940.0] | [17.0, 17.0] | [61, 56] |
p02945 | u827261928 | 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=[A+B,A-B,A*B]\nprint(max(l))', 'A,B=map(int,input().split())\nl=[A+B,A-B,A*B]\nprint(max(l))'] | ['Runtime Error', 'Accepted'] | ['s187839296', 's941307060'] | [9084.0, 9100.0] | [23.0, 30.0] | [59, 58] |
p02945 | u837342248 | 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()))\nprint(max(a+b, a-b, a*b))\n', 'a, b = list(map(int, input()))\nprint(max(a+b, a-b, a*b))', 'a, b = list(map(int, input().split()))\nprint(max(a+b, a-b, a*b))\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s121939882', 's909683986', 's516257883'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [57, 56, 65] |
p02945 | u850772037 | 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(A,B)\nx = int(A*B)\ny = int(A+B)\nz = int(A-B)\nprint(max(x,y,z))', 'A,B = list(map(int, input().split()))\nx = int(A*B)\ny = int(A+B)\nz = int(A-B)\nprint(max(x,y,z))'] | ['Wrong Answer', 'Accepted'] | ['s981110848', 's328226078'] | [2940.0, 2940.0] | [17.0, 17.0] | [105, 94] |
p02945 | u852577135 | 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\nanswer1=A+B\nanswer2=A-B\nanswer3=A*B\n\nprint(max(answer1,answer2,answer3))', 'input_A=input()\ninput_B=input()\n\nA=int(input_A)\nB=int(input_B)\n\nanswer1=A+B\nanswer2=A-B\nanswer3=A*B\n\nprint(max(answer1,answer2,answer3))', 'A,B=map(int,input().split())\nprint(max(A+B,A-B,A*B))'... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s199271146', 's570146555', 's627701290'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 24.0] | [103, 136, 52] |
p02945 | u855985627 | 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))', 'x,y = map(int,input().split())\nprint(max(x+y,x-y,x*y))'] | ['Runtime Error', 'Accepted'] | ['s323696647', 's798651716'] | [2940.0, 2940.0] | [17.0, 18.0] | [59, 54] |
p02945 | u859448927 | 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())\nlis = []\nfor i in range(n):\n word = str(input())\n lis.append({letter:word.count(letter) for letter in word})\ncounter = 0\nwhile True:\n m = lis.count(lis[0])\n counter += (m*(m-1))//2\n lis.remove(lis[0])\n if len(lis) == 0:\n break\nprint(counter)\n', 'a,b = map(int,input().split())\np... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s575707429', 's824583915', 's069389551'] | [3060.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [268, 53, 55] |
p02945 | u859987056 | 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())\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'] | ['s085323770', 's290032993'] | [2940.0, 2940.0] | [17.0, 17.0] | [42, 54] |
p02945 | u861886710 | 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 = sorted([A+B,A-B,A*B])\nprint(l[0])\n', 'A, B = map(int, input().split())\nl = sorted([A+B,A-B,A*B])\nprint(l[2])\n'] | ['Wrong Answer', 'Accepted'] | ['s796981392', 's225182833'] | [2940.0, 2940.0] | [17.0, 17.0] | [71, 71] |
p02945 | u862243075 | 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\ninput_patterns = []\n\npatterns = {}\n\ndef init_key():\n ini_key = []\n for i in range(26):\n ini_key.append(0)\n return ini_key\n\nfor i in range(n):\n val = input()\n input_patterns.append(val)\n\n#input_patterns = ['acornistnt', 'peanutbomb', 'constraint']\ncount = 0\nfor... | ['Runtime Error', 'Accepted'] | ['s125197420', 's263705233'] | [3064.0, 2940.0] | [17.0, 17.0] | [1018, 73] |
p02945 | u867848444 | 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())\n\nfor i in range(X-K+1,X+K):\n string+=i+' '\nprint(string)", "A,B=map(int,input().split())\n\nlist1=['A+B','A-B','A*B']\nS=max(list1)\nprint(S)", 'A,B=map(int,input().split())\nprint(max(A+B,A-B,A*B)', 'a,b=map(int,input().split())\nans=max(a+b,a-b,a*b)\nprint(ans)'] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s348519669', 's658417932', 's741203584', 's695945423'] | [2940.0, 3064.0, 2940.0, 2940.0] | [19.0, 17.0, 17.0, 17.0] | [86, 77, 51, 60] |
p02945 | u871600836 | 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. | ['str = input()\nN = int(str.split()[0])\nd = []\nfor i in range(N) :\n\ts = str = input()\n\tdict = {}\n\tfor j in range(26):\n\t\tdict[j] = 0\n\tfor j in range(10) :\n\t\tk = ord(s[j]) - ord("a")\n\t\tdict[k] = dict[k] + 1\n\td.append(dict)\n\t\nE = 0\nwhile(len(d) != 0) :\n\tdeli = []\n\tfor i in range(1, len(d)) :\... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s508289223', 's742437315', 's545223000'] | [3064.0, 3064.0, 3060.0] | [18.0, 17.0, 17.0] | [563, 683, 222] |
p02945 | u873134970 | 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]\n ))\n', 'a,b=map(int,input().split())\nprint(max(a+b,a-b,a×b))\n', 'a,b=map(int,input().split())\nprint(max([a+b,a-b,a*b]\n ))\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s832020288', 's973760403', 's917128038'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0] | [67, 54, 66] |
p02945 | u874333466 | 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'] | ['s656166461', 's182422295'] | [2940.0, 2940.0] | [17.0, 17.0] | [63, 57] |
p02945 | u877428733 | 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 A == 1 and B == 1:\n print(2)\nelif A>0 and B>0 or A<0 and B==0:\n print(A*B)\nelif A>=0 and B<0 or A==0 and B<0:\n print(A-B)\nelse:\n print(A+B)', 'A,B = map(int,input().split())\n\nif A == 1 and B == 1:\n print(2)\nelif A > 1 and B == 1:\n print(A+B)\nelif A == 1 and B > 1:\n print(A+B)\nel... | ['Runtime Error', 'Accepted'] | ['s334091276', 's921605150'] | [2940.0, 3060.0] | [17.0, 17.0] | [154, 277] |
p02945 | u881472317 | 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())\nwa = a + b\nsa = a - b\nseki = a * b\nif wa > sa and wa > seki:\n print(wa)\n break\nelif sa > wa and sa > seki:\n print(sa)\n break\nelse:\n print(seki)\n', 'a, b = map(int, input().split())\nwa = a + b\nsa = a - b\nseki = a * b\ns = [a + b, a - b, a * b]\nprint(max(s... | ['Runtime Error', 'Accepted'] | ['s984557612', 's020849602'] | [2940.0, 2940.0] | [17.0, 17.0] | [192, 108] |
p02945 | u883040023 | 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\nrist = [ A+B , A-B , A*B]\n\nrist.sort()\nprint(rist[3])', 'A = int(input())\nB = int(input())\n\nrist = [ A+B , A-B , A*B]\n\nprint(max(rist))', 'A = int(input())\nB = int(input())\n\nrist = [ A+B , A-B , A*B]\n\nprint(max(rist))', 'A = int(input())\nB = int(input())\n\nrist = [... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s516060130', 's823033577', 's894209125', 's949408791', 's949676622'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [88, 78, 78, 89, 75] |
p02945 | u887207211 | 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,inpt().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'] | ['s730563455', 's733319084'] | [2940.0, 3068.0] | [17.0, 18.0] | [58, 57] |
p02945 | u897328029 | 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, C = list(map(int, input().split()))\n \nprint(max([A+B, A-B, A*B]))\n', 'A, B, C = list(map(int, input().split()))\n \nprint(max(A+B, A-B, A*B))\n', 'A, B = list(map(int, input().split()))\n \nprint(max([A+B, A-B, A*B]))\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s143707434', 's266710640', 's064915004'] | [2940.0, 3188.0, 2940.0] | [17.0, 18.0, 17.0] | [73, 71, 70] |
p02945 | u899909022 | 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. | ['jh', 'っっj', 'hh', 'sfdsad', 'A,B=map(int, input().split())\nprint(max(A+B,A-B,A*B))'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s183721281', 's664391177', 's733713796', 's768577734', 's406563853'] | [2940.0, 3320.0, 2940.0, 2940.0, 2940.0] | [17.0, 22.0, 18.0, 17.0, 17.0] | [2, 9, 2, 6, 53] |
p02945 | u901598613 | 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())\nc=a+b\nd=a-b\ne=a*b\nprint(sum(c,d,e))', 'a,b=map(int,input().split())\nc=a+b\nd=a-b\ne=a*b\nprint(max(c,d,e))'] | ['Runtime Error', 'Accepted'] | ['s620396011', 's277100697'] | [2940.0, 3064.0] | [17.0, 17.0] | [64, 64] |
p02945 | u901757711 | 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())\ns = a+b\nt = a-b\nu = a*b\n\nif s >= t:\n if t >= u:\n print(s)\n elif s <= u:\n print(u)\nelse:\n if s >= u:\n print(t)\n elif:\n t <= u:\n print(u)', 'a, b = map(int, input().split())\ns = a+b\nt = a-b\nu = a*b\n\nif s >= t:\n if s ... | ['Runtime Error', 'Accepted'] | ['s235995942', 's276924154'] | [8992.0, 9192.0] | [25.0, 29.0] | [215, 271] |
p02945 | u902024288 | 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()\nplus = a + b\nmai = a - b\nkake = a * b\n\nprint(max(plus,mai,kake))', 'a,b = map(int,input().split())\n\nplus = a + b \n\nmai = a - b\n\nkake = a * b \n\nprint(max(plus,mai,kake))'] | ['Runtime Error', 'Accepted'] | ['s888859710', 's299908164'] | [2940.0, 2940.0] | [18.0, 17.0] | [87, 100] |
p02945 | u902380746 | 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 sys\nimport math\nimport bisect\n\ndef main():\n a, b = map(int, input())\n A = []\n A.append(a + b)\n A.append(a - b)\n A.append(a * b)\n print(max(A))\n \nif __name__ == "__main__":\n main()\n', 'import sys\nimport math\nimport bisect\n\ndef main():\n a, b = map(int, input().split(... | ['Runtime Error', 'Accepted'] | ['s023147021', 's405682627'] | [3060.0, 2940.0] | [18.0, 19.0] | [211, 178] |
p02945 | u907223098 | 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()))\nc=a*b\nd=a+b\ne=a-b\nprint(max(c,d,e))\n', 'a,b=(int(input().split()))\nc=a*b\nd=a+b\ne=a-b\nprint(max(c,d,e))\n', 'a,b=input().split()\na=int(a)\nb=int(b)\nc=a*b\nd=a+b\ne=a-b\nprint(max(c,d,e))'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s351134995', 's461575861', 's105278716'] | [2940.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0] | [63, 65, 73] |
p02945 | u909616675 | 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\nc=a+b\nif c<a-b :\n c=a-b\nif c<ab :\n c=ab\nprint(c)', 'a,b=map(int,input().split())\n\nc=a+b\nif c<a-b :\n c=a-b\nif c<a*b :\n c=a*b\nprint(c)\n'] | ['Runtime Error', 'Accepted'] | ['s319362406', 's372873518'] | [2940.0, 2940.0] | [17.0, 18.0] | [80, 83] |
p02945 | u912134329 | 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 : ans = A*B\nif A+B > A-B|A*B : ans = A+B\nif A-B > A*B|A+B : ans = A-B\nprint(ans)', 'A,B = map(int,input().split)\nif A+B < A-B < A*B | A-B < A+B < A*B :ans = A*B\nif A*B < A-B < A+B | A-B < A*B < A+B :ans = A+B\nif A+B < A*B < A-B | A*B < A+B < A-B :ans = A-B\nprint(a... | ['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'] | ['s005208907', 's013049392', 's045453464', 's252113512', 's457795244', 's537081362', 's539000596', 's708163934', 's708825285', 's871853408', 's886032421', 's938880808', 's997881905', 's659188055'] | [3060.0, 3060.0, 3060.0, 2940.0, 2940.0, 2940.0, 3060.0, 3064.0, 2940.0, 3060.0, 2940.0, 3060.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 18.0, 17.0, 17.0, 18.0, 18.0, 17.0, 17.0] | [126, 183, 148, 174, 177, 152, 148, 175, 160, 186, 118, 176, 127, 78] |
p02945 | u912994895 | 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 = int(input())\nj = x.split()\na = j[0]\nb = j[1]\nprint(max((a+b),(a-b),(a*b)))', 'x = str(input())\nj = x.split()\na = int(j[0])\nb = int(j[1])\nprint(max((a+b),(a-b),(a*b)))\n'] | ['Runtime Error', 'Accepted'] | ['s380959567', 's448990099'] | [3064.0, 2940.0] | [17.0, 17.0] | [78, 89] |
p02945 | u913461467 | 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(i) for i in input().split()) \n\nif a+b > a-b:\n\tif a*b>a+b:\n \tprint("{}".format(a*b))\n\telse:\n \tprint("{}"format(a+b))\nelse:\n\tif a*b>a-b:\n \tprint("{}".format(a*b))\n\telse:\n \tprint("{}"format(a-b))', 'a, b = (int(i) for i in input().split()) \nsum=a+b\ndif=a-b\nmul=a*b\n\n\nif ... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s317803239', 's827702676', 's142232847'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [217, 243, 273] |
p02945 | u915078431 | 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 = map(int,raw_input().split())\nprint(max([x[0]+x[1],x[0]-x[1],x[0]*x[1]]))', 'x = list(map(int,input().split()))\nprint(max([x[0]+x[1],x[0]-x[1],x[0]*x[1]]))\n'] | ['Runtime Error', 'Accepted'] | ['s921898360', 's647690520'] | [2940.0, 2940.0] | [18.0, 17.0] | [76, 79] |
p02945 | u920103253 | 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()]\n\nprint(max(a+b,a-b,a*b))', 'a,b=[int(x) for x in input().split()]\n \nprint(max(a+b,a-b,a*b))'] | ['Runtime Error', 'Accepted'] | ['s712306033', 's453038251'] | [2940.0, 2940.0] | [17.0, 17.0] | [62, 63] |
p02945 | u921027074 | 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]))\n', "K, X = map(int, input().split())\n for i in range(X - K + 1, X + K):\n if i < X + K - 1:\n print(i, end=' ')\n else:\n print(i)\n", "K, X = map(int, input().split())\n for i in range(X - K + 1, X + K):\n if i < X + K - 1:\n print(i, end=' ')\n... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s038598001', 's175121269', 's229104533', 's628189610', 's659569210', 's669105945', 's676966620', 's829482005', 's942917550', 's997188446', 's040125851'] | [2940.0, 3064.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 17.0, 19.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0] | [60, 131, 122, 153, 56, 150, 56, 145, 55, 84, 58] |
p02945 | u923560641 | 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('整数?')\nnum_int = list(map(int, input('>>').split()))\nA = num_int[0]\nB = num_int[1]\n\nif(A+B > A-B):\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)", 'num_int = list(map(int, input().split()))\nA = num_int[0... | ['Wrong Answer', 'Accepted'] | ['s117633066', 's298268478'] | [3060.0, 3060.0] | [17.0, 17.0] | [250, 227] |
p02945 | u927807968 | 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())\npl = a+b\ndi = a-b\nmu = a*b\nif pl>di and pl>mu:\n print(pl)\nelif di>pl and di>mu:\n print(di)\nelse mu>di and mu>pl:\n print(mu)', 'a,b=map(int,input().split())\npl = a+b\ndi = a-b\nmu = a*b\nif pl>=di and pl>=mu:\n print(pl)\nelif di>=pl and di>=mu:\n print(di)\nelse:\... | ['Runtime Error', 'Accepted'] | ['s038384518', 's549131092'] | [2940.0, 3060.0] | [17.0, 17.0] | [161, 149] |
p02945 | u935585974 | 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\nlist_ans = [A+B, A-B, A*B]\n\nprint(max(list_ans))', 'A, B = map(int, input().split())\n\nlist_ans = [A+B, A-B, A*B]\n\nprint(max(list_ans))'] | ['Runtime Error', 'Accepted'] | ['s337925094', 's516671485'] | [2940.0, 2940.0] | [17.0, 17.0] | [83, 82] |
p02945 | u935719571 | 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(' ')\nindex = a + b\nif(a - b > index):\n index = a - b\nelif(a * b > index):\n index = a * b\nprint(index)", "a, b = map(int, input().split(' '))\nans = max(a+b, a-b, a*b)\nprint(ans)\n"] | ['Runtime Error', 'Accepted'] | ['s771152560', 's467072098'] | [2940.0, 2940.0] | [17.0, 17.0] | [124, 72] |
p02945 | u937685728 | 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,a-b,a*b]\nprint(max(a))\n', 'a,b=map(int,input().split())\nx=[a+b,a-b,a*b]\nprint(max(x))\n'] | ['Runtime Error', 'Accepted'] | ['s265148713', 's606093882'] | [2940.0, 2940.0] | [17.0, 20.0] | [59, 59] |
p02945 | u937930149 | 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 for_factorial(n):\n val = 1\n for i in range(2, n + 1):\n val *= i\n return int(val/2)\nN = int(input())\nl = []\n_l = [] \n_c = 0 \n\nfor i in range(N):\n l.append(input())\n\nfor s in l:\n one_l = [c for c in s]\n one_l.sort()\n _one_l = "".join(one_l)\n _l.append(_one_l)\n\nfor s... | ['Runtime Error', 'Accepted'] | ['s419579746', 's567155219'] | [3064.0, 2940.0] | [19.0, 18.0] | [597, 157] |
p02945 | u943117333 | 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\na,b = [int(x) for x in stdin.readline().rstrip().split()]\n\narr =[]\n\narr.append(a+b)\narr.append(a-b)\narr.append(a*b)\n\nprint(arr.max())', 'from sys import stdin\n \na,b = [int(x) for x in stdin.readline().rstrip().split()]\n \narr =[]\n \narr.append(a+b)\narr.append(a-b)\narr.append(a*b... | ['Runtime Error', 'Accepted'] | ['s574814364', 's469731628'] | [2940.0, 2940.0] | [17.0, 17.0] | [156, 159] |
p02945 | u943391627 | 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)', 'if A+B > A-B and A*B:\n print(A+B)\nelif A-B > A+B and A*B :\n print(A-B)\nelse A*B > A+B and A-B :\n print(A*B)', 'a,b=map(int, input().split())\nprint(max(a+b,a-b,a*b))\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s538320719', 's734219135', 's436787572'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [52, 110, 54] |
p02945 | u944404180 | 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\n\ntasu = A+B\nhiku = A-B\nkakeru = A*B\n\n\n\n\nif tasu >= hiku and tasu >= kakeru:\n print("1",tasu)\nelif hiku >= tasu and hiku >= kakeru:\n print("2",hiku)\nelse:\n print("3",kakeru)\n\n\n', 'A,B = map(int,(input().split()))\n\n\ntasu = A+B\nhiku = A-B\nkakeru = A*B\n\n... | ['Wrong Answer', 'Accepted'] | ['s814959014', 's742694632'] | [3060.0, 3060.0] | [18.0, 17.0] | [506, 494] |
p02945 | u946424121 | 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())\nSUM = a+b\nSUB = a-b\nPRO = a*b\nprint(max(SUM,SUB,PRO)', 'a,b = map(int, input().split())\nSUM = a+b\nSUB = a-b\nPRO = a*b\nprint(max(SUM,SUB,PRO))'] | ['Runtime Error', 'Accepted'] | ['s559349986', 's394612724'] | [2940.0, 2940.0] | [17.0, 20.0] | [84, 85] |
p02945 | u951323449 | 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())\nlist = [a+b,a-b,a*b]\nprint(sum(list))', 'a,b = map(int,input().split())\nlist = [a+b,a-b,a*b]\nprint(max(list))'] | ['Wrong Answer', 'Accepted'] | ['s870003657', 's178851929'] | [2940.0, 2940.0] | [17.0, 17.0] | [68, 68] |
p02945 | u952968889 | 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([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'] | ['s181437881', 's546905108', 's722029422'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [55, 60, 59] |
p02945 | u957616073 | 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 = input().split(" ")\na = int(num[0])\nb = int(num[1])\nreturn max(a+b, a-b, a*b)', 'num = input().split(" ")\na = int(num[0])\nb = int(num[1])\nprint(max(a+b, a-b, a*b))'] | ['Runtime Error', 'Accepted'] | ['s372758986', 's114629467'] | [2940.0, 2940.0] | [17.0, 17.0] | [82, 82] |
p02945 | u957957759 | 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=max(a+b,a-b,a*b)', 'a,b=map(int,input().split())\nx=max(a+b,a-b,a*b)\nprint(x)'] | ['Wrong Answer', 'Accepted'] | ['s651313008', 's321239099'] | [2940.0, 2940.0] | [17.0, 17.0] | [47, 56] |
p02945 | u958053648 | 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())\nwa = a + b\nsa = a - b\nseki = a * b\nlist = [wa,sa,seki]\nprint(max(list))', 'a,b = int(input()).split()\nwa = a + b\nsa = a - b\nseki = a * b\nlist = [wa,sa,seki]\nprint(max(list))', 'a,b = map(int,input().split())\nwa = a + b\nsa = a - b\nseki = a * b\nlist = [wa,sa,seki]\nprint(max(lis... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s432018680', 's833417154', 's135079558'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [98, 98, 102] |
p02945 | u960570220 | 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\nx = A + B\ny = A - B\nz = A * B\nprint(max(x, y, z))', 'A, B = map(int, input(). split())\n\nx = A + B\ny = A - B\nz = A * B\nprint(max(x, y, z))'] | ['Runtime Error', 'Accepted'] | ['s882033965', 's711828378'] | [9012.0, 9100.0] | [24.0, 30.0] | [84, 84] |
p02945 | u962609087 | 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():\n a,b = map(int,input().split())\n print(min(a + b, a - b, a * b))\nmain()', 'def main():\n a,b = map(int,input().split())\n print(max(a + b, a - b, a * b))\nmain()'] | ['Wrong Answer', 'Accepted'] | ['s201920078', 's879732479'] | [9092.0, 9160.0] | [24.0, 27.0] | [83, 83] |
p02945 | u965095643 | 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))', 'a,b = map(int, input().split())\n\nprint(max(a+b,a*b,a-b))'] | ['Runtime Error', 'Accepted'] | ['s195972053', 's857247733'] | [2940.0, 2940.0] | [17.0, 17.0] | [60, 56] |
p02945 | u966667387 | 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, max(a-b, a*b))', 'a, b = list(map(int, input().split()))\nprint(max(a+b, max(a-b, a*b)))'] | ['Runtime Error', 'Accepted'] | ['s327029557', 's360241431'] | [2940.0, 2940.0] | [17.0, 19.0] | [68, 69] |
p02945 | u968258816 | 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()\nmax([a+b, a-b, a*b])', 'a, b = map(int, input().split())\nprint(max(a+b, a-b, a*b))'] | ['Runtime Error', 'Accepted'] | ['s380599191', 's287075563'] | [2940.0, 3064.0] | [17.0, 17.0] | [44, 58] |
p02945 | u968638278 | 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 i in range(N):\n s = str(input())\n s = ''.join(sorted(s))\n S.append(s)\n\ncount = 0\nfor i in range(N):\n Si = S[i]\n for k in range(N):\n if i==k:\n None\n else:\n Sk = S[k]\n if Sk == Si:\n count += 1\n\npri... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s136592141', 's514587648', 's616914994', 's864082384', 's942432853', 's429736720'] | [3060.0, 2940.0, 3064.0, 3064.0, 3060.0, 3064.0] | [17.0, 17.0, 18.0, 18.0, 17.0, 17.0] | [314, 106, 1232, 1231, 314, 106] |
p02945 | u978252828 | 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\nmax(A+B,A-B,A*B)', 'A,B = map(int,input().split())\n\nprint(max(A+B,A-B,A*B))'] | ['Wrong Answer', 'Accepted'] | ['s207239462', 's261881367'] | [2940.0, 2940.0] | [17.0, 17.0] | [48, 55] |
p02945 | u978962055 | 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'] | ['s599941283', 's178317422'] | [2940.0, 2940.0] | [17.0, 19.0] | [57, 52] |
p02945 | u981040490 | 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. | ["# -*- coding: utf-8 -*-\ndef main():\n A,B = map(int(input().split()))\n ans = []\n ans.append(A+B)\n ans.append(A-B)\n ans.append(A*B)\n print(max(ans))\n\nif __name__ == '__main__':\n main()", "# -*- coding: utf-8 -*-\ndef main():\n A,B = map(int,input().split())\n ans = []\n ans.appen... | ['Runtime Error', 'Accepted'] | ['s930239242', 's903519385'] | [3056.0, 2940.0] | [18.0, 17.0] | [203, 202] |
p02945 | u981304949 | 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())\nc = A + B\nd = A- B\ne = A*B\nprint(max([c,d,e]))', 'A,B =map(int,input().split())\nmax(A+B,A-B,A*B)', 'A,B=map(int,input().split())\nc = A + B\nd = A - B\ne = A*B\nprint(max([c,d,e])', 'A,B=map(int,input().split())\nc = A + B\n... | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s559301909', 's612002642', 's689118757', 's770069630', 's337027848'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 17.0, 17.0] | [54, 76, 46, 75, 78] |
p02945 | u981931040 | 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())\nadd = a + b\nsub = a - b\nmul = a * b\nif add >= sub and add >= mul:\n\tmax = add\nelif sub >= add and sub >= mul:\n \tmax = sub\nelse:\n max = mul\nprint(max)', 'import scipy\nA,B = map(int,input().split())\nprint(max(A + B,A * B,A - B))'] | ['Runtime Error', 'Accepted'] | ['s886497145', 's242381798'] | [2940.0, 12504.0] | [17.0, 156.0] | [180, 73] |
p02945 | u982438430 | 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 = [list(input()) for i in range(N)]\n \nfrom itertools import combinations\n \na = 0\nfor i,j in combinations(s,2):\n if set(i) == set(j):\n a+=1\nprint(a)', 'from itertools import combinations\n\nN = int(input())\ns = [list(input()) for i in range(N)]\n \na = 0\nfor i,j in combinations(s,2):\... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s647130633', 's954031605', 's981110836'] | [2940.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [170, 169, 93] |
p02945 | u982653403 | 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()\nprint(max(a+b,a-b,a*b))\n', 'a, b = map(int,input().split())\nprint(max(a+b,a-b,a*b))\n'] | ['Runtime Error', 'Accepted'] | ['s278571271', 's048545877'] | [2940.0, 2940.0] | [23.0, 17.0] | [47, 56] |
p02945 | u982749462 | 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())\nl=[\n a+b,\n a-b,\n a*b\n]\nprint(max(l))', 'a, b =map(int, input().split())\nl=[\n a+b,\n a-b,\n a*b\n]\nprint(max(l))\n'] | ['Runtime Error', 'Accepted'] | ['s057913798', 's613205124'] | [2940.0, 2940.0] | [18.0, 17.0] | [63, 72] |
p02945 | u982808037 | 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=map(int,input().split())\nprint(max(a+b,a-b,a*b))'] | ['Wrong Answer', 'Accepted'] | ['s368468450', 's527673434'] | [2940.0, 2940.0] | [18.0, 17.0] | [44, 52] |
p02945 | u983311472 | 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())\nd = {}\nans = 0\nfor i in range(n):\n s = ''.join(sorted(input()))\n if s in d.keys():\n ans += d[s]\n d[s] += 1\n d.setdefault(s, 1)\nprint(ans)\n", 'a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))'] | ['Runtime Error', 'Accepted'] | ['s018091309', 's834421313'] | [2940.0, 2940.0] | [18.0, 20.0] | [178, 52] |
p02945 | u983367697 | 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())\nfor i in range(2*a-1):\n print(b-a+1,end="")', 'a,b=map(int,input(),split())\nprint(max(a+b,a-b,a*b))', 'a,b=map(int,input(),sprit())\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'] | ['s357955875', 's834437951', 's955233895', 's868626032'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 19.0, 17.0] | [73, 52, 52, 52] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.