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
u491762407
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 = int(a + b)\nY = int(a - b)\nZ = int(a * b)\nprint(max[X,Y,Z])', "N = int(input())\ns = [''.join(sorted(input())) for _ in range(N)]\n \nfrom collections import Counter\ncounter = Counter(s)\nans = sum(n*(n-1)//2 for n in counter.values())\nprint(ans)", 'a,b = map(int, input().split()...
['Runtime Error', 'Runtime Error', 'Accepted']
['s222175544', 's395639434', 's683079978']
[2940.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[91, 179, 93]
p02945
u493407368
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())\n\nprint(max([a+b, a-b, a*b]))']
['Runtime Error', 'Accepted']
['s876314103', 's024649772']
[2940.0, 2940.0]
[18.0, 17.0]
[58, 61]
p02945
u501837038
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())\n print(max(a+b,a-b,a*b))\n', 'a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))']
['Runtime Error', 'Runtime Error', 'Accepted']
['s644022900', 's873866975', 's812396057']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[53, 55, 52]
p02945
u502967152
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=list(input())\n s.sort()\n S.append(s)\nS.sort()\nS.append(["z" for i in range(11)])\ncont=0\nfor i in range(n-1):\n t=1\n while S[i]==S[i+t]:\n cont+=1\n t+=1\nprint(cont)', 'a,b=map(int,input().split())\nc=[a+b, a-b, a*b]\nm=max(c)\nprint(m)']
['Runtime Error', 'Accepted']
['s127495253', 's179129072']
[3064.0, 2940.0]
[17.0, 17.0]
[214, 64]
p02945
u503376796
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 = input().split()\na, b = s[0], s[1]\nx = [a+b, a-b, a*b]\nprint(max(x))', 's = input().split()\na, b = int(s[0]), int(s[1])\nprint(max([int(s[0])+int(s[1]), int(s[0])-int(s[1]), int(s[0])*int(s[1])]))']
['Runtime Error', 'Accepted']
['s440539592', 's479451684']
[2940.0, 3060.0]
[19.0, 17.0]
[71, 123]
p02945
u505893372
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))\n', 'a,b = map(int,input().split())\n \nprint(max(int(a+b,a-b,a*b)))', 'a,b = map(int,input().split())\n \nprint(max(int(A+B,A-B,A*B)))', 'a,b = map(int,input().split())\n \nprint(max(a+b,a-b,a*b))']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s375645738', 's579003760', 's658725400', 's977732990']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0]
[24, 61, 61, 56]
p02945
u509830642
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\ninput = sys.stdin.readline\ndef print_ans(A, B):\n """Test Case\n >>> print_ans(-13, 3)\n -10\n >>> print_ans(1, -33)\n 34\n >>> print_ans(13, 3)\n 39\n """\n print(max(max(A + B, A - B), A * B))\n\nif __name__ == \'__main__\':\n A = int(input().rstrip())\n B = int(input()...
['Runtime Error', 'Accepted']
['s004753941', 's488494426']
[2940.0, 2940.0]
[17.0, 18.0]
[332, 317]
p02945
u511449169
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())\nitem = list()\nitem.append(a+b)\nitem.append(a-b)\nitem.append(a*b)\nprint(max(item))', 'a, b = map(int, input().split())\nitem = list()\nitem.append(a+b)\nitem.append(a-b)\nitem.append(a*b)\nprint(max(item))']
['Runtime Error', 'Accepted']
['s512220924', 's862755907']
[2940.0, 2940.0]
[17.0, 17.0]
[109, 114]
p02945
u517447467
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(min([A+B, A-B, A*B]))', 'A, B = list(map(int, input().split()))\nprint(max([A+B, A-B, A*B]))']
['Wrong Answer', 'Accepted']
['s889414600', 's378828126']
[2940.0, 2940.0]
[17.0, 17.0]
[66, 66]
p02945
u517621096
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()))\n\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']
['s615994830', 's205008006']
[2940.0, 2940.0]
[18.0, 18.0]
[57, 64]
p02945
u520276780
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())\nsm=a+b,\nsb=a-b\ntms=a*b\nmx=max(sm,sb,tms)\nprint(mx)', 'a,b=map(int,input().split( ))\nsm = a+b\nsb = a-b\nmlt = a*b\nmx =max(sm,sb,mlt)\nprint(mx)\n']
['Runtime Error', 'Accepted']
['s797318962', 's812937285']
[3060.0, 2940.0]
[22.0, 17.0]
[71, 87]
p02945
u521866787
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())\n\nprint(max(a+b,a*b,a-b))']
['Runtime Error', 'Accepted']
['s621872439', 's356785672']
[2940.0, 2940.0]
[17.0, 17.0]
[55, 55]
p02945
u522293645
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())\nmylist=[k]\n\nfor i in range(1,k):\n mylist.append(k-i)\n mylist.append(k+1)\n \nmylist.sort()\nprint(mylist)', '\na,b=int(input().split())\n\nprint(max(a*b,a-b,a+b))', 'a,b=map(int,input().split())\n\nprint(max(a+b,a-b,a*b))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s605731037', 's758159675', 's456185606']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[134, 50, 53]
p02945
u524489226
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)\nn = a + b\nm = a - b\nl = a*b\nprint(max(n, m, l))', 'a, b = map(int, input().split())\nn = a + b\nm = a - b\nl = a*b\nprint(max(n, m, l))']
['Wrong Answer', 'Accepted']
['s769676484', 's026911670']
[2940.0, 2940.0]
[17.0, 19.0]
[91, 80]
p02945
u528087569
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())\nwords = []\nanswer = 0\n\nfor i in range(num):\n words.append(sorted(list(input())))\n\nfor i in range(num):\n for j in range(num -i - 1):\n p = 0\n for k in range(10):\n if words[i][k] == words[j + 1 + i][k]:\n p += 1\n else:\n break\n if p == 10:\n answer ...
['Runtime Error', 'Accepted']
['s715976340', 's744357721']
[3064.0, 3060.0]
[18.0, 17.0]
[321, 144]
p02945
u528748570
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 _ in range(N)]\nS = []\nfor i in range(N):\n S.append("".join(sorted(s[i])))\nprint(S)\n\ncnt = 0\nfor i in range(N):\n cnt += S.count(S[i]) - 1\nprint(int(cnt / 2))\n', 'A, B = map(int, input().split())\nprint(max(A+B, A-B, A*B))']
['Runtime Error', 'Accepted']
['s567458637', 's787629269']
[3060.0, 2940.0]
[17.0, 18.0]
[203, 58]
p02945
u529100021
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() )\nc = A + B\nd = A - B\ne = A * B\n\nif c < d:\n if d < e:\n print(e)\n if d > e:\n print(d)\n\nif c > d:\n if c > e:\n print(c)', 'A, B = (int(x) for x in input().split())\nc = A + B\nd = A - B\ne = A * B\n\nif c <= d:\n if d <= e:\n print...
['Runtime Error', 'Accepted']
['s344160057', 's208572793']
[3060.0, 3060.0]
[17.0, 18.0]
[182, 219]
p02945
u536685012
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 = list(map(int, input().split()))\na = n[0]\nb = n[1]\n\nab1 = a + b\nab2 = a - b\nab3 = a * b\n\nprint(int(max(ab1, ab2, ba3))\n ', 'ab = list(map(int, input().split()))\na = ab[0]\nb = ab[1]\n\nans1 = a + b\nans2 = a - b\nans3 = a * b\n\nprint(max(ans1, ans2, ans3))']
['Runtime Error', 'Accepted']
['s733687326', 's348356803']
[2940.0, 3060.0]
[17.0, 17.0]
[128, 126]
p02945
u539362921
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 = list(map(int,input().split()))\nK = i[0]\nX = i[1]\nprint(range(X-K+1,X-K))', 'A=int(input())\nB=int(input())\n\nC=A+B\nD=A-B\nE=A*B\n\nprint(max(C,D,E))\n', 'i=list(map(int,input().split()))\nC=i[0]+i[1]\nD=i[0]-i[1]\nE=i[0]*i[1]\n\nprint(max([C,D,E]))']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s711626378', 's769713698', 's753713160']
[2940.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0]
[76, 68, 89]
p02945
u539850805
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.
['li = list(map(int,input().split()))\nli1 = []\nfor i in range(len(list)):\n li1.append(li[i]+li[i+1])\n li1.append(li[i]*li[i+1])\n li1.append(li[i]-li[i+1])\nprint(max(li1))\n', 'li = list(map(int,input().split()))\nli1 = [li[0] + li[1], li[0] * li[1], li[0] - li[1]]\nprint(max(li1))\n']
['Runtime Error', 'Accepted']
['s455826351', 's237800892']
[3060.0, 2940.0]
[17.0, 17.0]
[172, 104]
p02945
u540896358
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']
['s827952591', 's028669816']
[2940.0, 2940.0]
[17.0, 18.0]
[54, 57]
p02945
u543019323
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.
["num1 = input('整数を入力してください:')\n\nwhile num1.replace('-', '').isdigit() == False or int(num1) < -100:\n print('Error')\n num1 = input('整数を入力してください:')\nelse:\n num1 = int(num1)\nnum1 = int(num1)\n\n\n\nnum2 = input('整数を入力してください:')\n\nwhile num2.replace('-', '').isdigit() == False or int(num2) > 100:\n print(...
['Runtime Error', 'Accepted']
['s746426416', 's768750716']
[3064.0, 2940.0]
[20.0, 18.0]
[592, 144]
p02945
u543152022
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 reduce\nn = int(input())\ns = [''.join(sorted(input())) for _ in range(n)]\ncount = {}\nans = 0\nfor i in s:\n count[i] = count.get(i, 0) + 1\nfor key, value in count.items():\n ans += value * (value - 1) // 2\nprint(ans)", "n = int(input())\ns = [''.join(sorted(input())) for _ in range(n)...
['Runtime Error', 'Runtime Error', 'Accepted']
['s566464618', 's933870503', 's289478280']
[3700.0, 3060.0, 2940.0]
[29.0, 17.0, 17.0]
[240, 211, 57]
p02945
u545237585
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>=0 and b>=0):\n print(a+b)\nelif(a<=0 and b>0):\n print(a-b)\nelse:\n print(a*b)', 'a,b=map(int,input().split(" "))\ns=a+b \ns1=a-b\ns2=a*b\nif(s1>=s and s1>=s2):\n print(s1)\nelif(s>=s1 and s>=s2):\n print(s)\nelse:\n print(s2)']
['Wrong Answer', 'Accepted']
['s115760080', 's895207066']
[3064.0, 3060.0]
[17.0, 17.0]
[115, 138]
p02945
u546417841
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\n\nnum=int(input())\nstl=[]\n\ncount=0\n\nfor i in range(num):\n str=input()\n str=''.join(sorted(str))\n stl.append(str)\n\nduplicate=[x for x in set(stl) if stl.count(x) > 1]\nif duplicate:\n for dup in duplicate:\n n=stl.count(dup)\n count += factorial(n) // 2 /...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s113712401', 's296627136', 's490382749', 's348222305']
[3064.0, 3064.0, 3064.0, 2940.0]
[18.0, 17.0, 17.0, 17.0]
[338, 341, 424, 75]
p02945
u546686251
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())\nlist = []\nlist.append(A + B)\nlist.append(A - B)\nlist.append(A * B)\nprint(max(list))\n', 'A, B = int, input().split()\nlist = []\nlist.append(A + B)\nlist.append(A - B)\nlist.append(A * B)\nprint(max(list))', 'A, B = map(int, input().split())\nlist = []\nlist.append(A + B)\nlist.append...
['Runtime Error', 'Runtime Error', 'Accepted']
['s147643407', 's152394628', 's426077654']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0]
[112, 111, 117]
p02945
u547483620
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\nplus = a+b\nminus = a-b\nmultipiled_by = a*b\nans = max([plus, minus, multipiled_by])\nprint(ans)', 'a, b = map(int, input())\n\nplus = a+b\nminus = a-b\nmultipiled_by = a*b\nans = max([plus, minus, multipiled_by])\nprint(ans)', 'a,b = map(int, input().split())\n\nplus = a+b\nmin...
['Runtime Error', 'Runtime Error', 'Accepted']
['s047763973', 's065057068', 's735959625']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[128, 119, 126]
p02945
u548684908
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\nli = list(map(int,input().split()))\nA = li[0]\nB = li[1]\nprint(np.max(A+B,A-B,A*B))', 'import numpy as np\nli = list(map(int,input().split()))\nA = li[0]\nB = li[1]\nprint(np.max([A+B,A-B,A*B]))']
['Runtime Error', 'Accepted']
['s962850709', 's404818769']
[21760.0, 21404.0]
[312.0, 307.0]
[101, 103]
p02945
u553308611
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 f(si, sj):\n for i in range(10):\n if si.count(sj[i]) != sj.count(sj[i]):\n return 0\n return 1\nn = int(input())\ns = [input() for i in range(n)]\nx = 0\nfor i in range(n - 1):\n for j in range(i + 1, n):\n x = x + f(s[i], s[j])\nprint(x)\n', 'import numpy as np\n\na, b = map(in...
['Runtime Error', 'Accepted']
['s161916319', 's362842522']
[2940.0, 21276.0]
[17.0, 275.0]
[267, 89]
p02945
u554784585
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=int(A)\nB=int(B)\n\np=A+B\nm=A-B\na=A*B\n\nif p>=m and p>=a:\n print(p)\nelse if m>=p and m>=a:\n print(m)\nelse:\n print(a)', 'A,B=map(int,input().split())\n\np=A+B\nq=A-B\nr=A*B\n\nprint(max(p,q,r))\n']
['Runtime Error', 'Accepted']
['s111596164', 's049414583']
[2940.0, 2940.0]
[17.0, 17.0]
[143, 67]
p02945
u558129042
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.
['number = input().split(" ")\nA = int(number[0])\nB = int(number[1])\nans = []\nans.append(A - B)\nans.append(A - B)\nans.append(A * B)\nans.sort()\nprint(ans[-1])', 'number = input().split(" ")\nA = int(number[0])\nB = int(number[1])\nans = []\nans.append(int(A - B))\nans.append(int(A - B))\nans.append(int(A * B))\na...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s596388412', 's895411938', 's642681112']
[3060.0, 3064.0, 3060.0]
[17.0, 20.0, 17.0]
[154, 169, 186]
p02945
u562550538
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\na,b=map(int, input().split())\n\nif a-b > a+b:\n if a-b > a*b:\n print(a-b)\n else:\n print(a*b)\nelif a*b > a+b:\n if a*b > a-b:\n print(a*b)\n else:\n print(a-b)\n\n ', 'import sys\na,b=map(int, input().split())\n\nmax = a + b\n\nif a-b > max:\n elif a-b > a...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s159968828', 's543215896', 's689384497', 's831170042', 's151949372']
[2940.0, 2940.0, 2940.0, 3060.0, 2940.0]
[19.0, 17.0, 17.0, 20.0, 17.0]
[209, 234, 213, 141, 229]
p02945
u574590381
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\ncount = [a+b, a-b, a*b]\nprint (max(count))', 'a,b=map(int,input().split())\n\nc=[a+b, a-b, a*b]\nprint (max(c))']
['Runtime Error', 'Accepted']
['s803062573', 's794318529']
[2940.0, 2940.0]
[16.0, 17.0]
[77, 62]
p02945
u577804602
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(' ')]\nresult = []\nresult.append(a + b)\nresult.append(a - b)\nresult.append(a * b)\n\nprint(result.max())\n", "a, b = [int(i) for i in input().split(' ')]\nresult = [a+b, a-b, a*b]\nprint(result.max())", "a, b = [int(i) for i in input().split(' ')]\nresult = [a+b, a-b, a*b]\npr...
['Runtime Error', 'Runtime Error', 'Accepted']
['s625317608', 's722569632', 's195678842']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[140, 88, 87]
p02945
u578378372
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('1 2'))\n\ninput_cal = []\ninput_cal.append(a + b)\ninput_cal.append(a - b)\ninput_cal.append(a * b)\nprint(max(input_cal))\n", '\na, b = map(int, input().split())\n\ninput_cal = [a + b, a - b, a * b]\nprint(max(input_cal))\n']
['Runtime Error', 'Accepted']
['s635606826', 's215118448']
[2940.0, 2940.0]
[17.0, 17.0]
[148, 91]
p02945
u580073714
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 Counter\n\nN = int(input())\ns = []\nfor i in range(N):\n s.append(Counter(input()))\n\nans = 0\nfor i in range(N):\n for j in range(i+1, N):\n if(s[i] == s[j]):\n ans += 1\n \nprint(ans)', 'A,B = map(int, input().split())\nprint(max(A+B, A-B, A*B))']
['Runtime Error', 'Accepted']
['s063338339', 's612964738']
[3316.0, 2940.0]
[22.0, 18.0]
[213, 57]
p02945
u580199868
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))\n', 'a,b=input()\nprint(max(a+b,a-b,a*b))\n', 'a,b=input().split()\nprint(max(a+b,a-b,a*b))', 'a,b=int(input().split())\nc=a+b\nd=a-b\ne=a*b\nprint(max(c,d,e))\n', 'a,b=map(int(),input().sprit())\nprint(max(a + b,a - b,a * b))', 'a,b=map(int,input().split())\nprint(ma...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s160492650', 's169408880', 's614435908', 's659338985', 's887651220', 's427588260']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[19.0, 17.0, 17.0, 18.0, 17.0, 18.0]
[49, 36, 43, 61, 60, 58]
p02945
u580236524
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\nx = A + B\ny = A + B\nz = A * B\n\nif x > y or z:\n print(x)\nif y > x or z:\n print(y)\nif z > x or y:\n print(z)\n", "A, B = [int(i) for i in input().split(' ')]\n\n-100<=A\nB<=100\n\nx = A + B\ny = A + B\nz = A * B\n\nif x > y or z:\n print(x)\nif y > x or z:\n p...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s068984670', 's760446710', 's333528220']
[2940.0, 3060.0, 3060.0]
[17.0, 17.0, 17.0]
[154, 169, 111]
p02945
u581040514
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 = int(input())\n\nprint(max(A+B, A-B, A*B))', 'A, B = map(int(), input().split())\n\nprint(max(A+B, A-B, int(A*B)))', 'A, B = map(int, input().split())\nprint(max(A+B, A-B, A*B))']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s463505922', 's613810593', 's773193422', 's848457096']
[2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 17.0]
[62, 46, 66, 58]
p02945
u581603131
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(*range(X-K+1,X+K))', 'A, B = map(int, input().split())\nprint(max((A*B), (A-B), (A+B)))']
['Wrong Answer', 'Accepted']
['s262823749', 's778670426']
[3060.0, 2940.0]
[17.0, 17.0]
[53, 64]
p02945
u586793870
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()\n\nx=a+b\ny=a-b\nz=a*b\n\nprint(max(x,y,z))\n', 'a,b=int(input())\n\nx=a+b\ny=a-b\nz=a*b\n\nprint(max(x,y,z))', 'a,b=map(int,input().split())\n\nx=a+b\ny=a-b\nz=a*b\n\nprint(max(x,y,z))\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s435447274', 's552002805', 's291988467']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[50, 54, 67]
p02945
u588276267
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 = sys.argv[0]\nb = sys.argv[1]\n\nprint(max(a+b, a-b, a*b))', 'import sys\n\na = int(sys.argv[1])\nb = int(sys.argv[2])\n\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']
['s206855486', 's467692675', 's333818170']
[2940.0, 2940.0, 2940.0]
[18.0, 20.0, 17.0]
[58, 80, 54]
p02945
u588794534
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))', 'a,b=map(int,input().split())\n\nprint(max(a*b,a-b,a+b))\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s343181586', 's539767998', 's005513179']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[56, 53, 54]
p02945
u589695410
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\nmul = a*b\nsub = a-b\nadd = a+b\n\nprint(max(mul,sub,add))', 'a, b = input().split(" ")\n\na = int(a)\nb = int(b)\n\nmul = a*b\nsub = a-b\nadd = a+b\n\nprint(max(mul,sub,add))']
['Runtime Error', 'Accepted']
['s783108702', 's736755853']
[2940.0, 3060.0]
[17.0, 17.0]
[89, 104]
p02945
u591411772
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# Yet I\'m feeling like\n# \tThere is no better place than right by your side\n# \t\tI had a little taste\n# \t\t\tAnd I\'ll only spoil the party anyway\n# \t\t\t\t\'Cause all the girls are looking fine\n# \t\t\t\t\tBut you\'re the only one on my mind\n\n\nimport sys\ninf = float("inf")\n\n\n\n\n# abd={\'a\': 0, \...
['Wrong Answer', 'Accepted']
['s590546505', 's447984964']
[3060.0, 3316.0]
[18.0, 20.0]
[1190, 1186]
p02945
u591717585
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,max(a-b,a*b)))', 'a,b=map(int,input().split())\nprint(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', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s364132766', 's608309662', 's719330478', 's276541227']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 17.0]
[58, 47, 55, 52]
p02945
u595276801
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 = [int(x) for x in input().split()]\nprint(max(a+b,a-b,a*b))']
['Runtime Error', 'Accepted']
['s213878162', 's385518029']
[2940.0, 2940.0]
[17.0, 17.0]
[57, 63]
p02945
u595952233
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']
['s831426946', 's054525256']
[9104.0, 9064.0]
[25.0, 28.0]
[50, 58]
p02945
u596182341
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("%d"% max([A + B, A - B, A* B])\n', 'A, B = map(int, input().split())\nprint("%d"% max([A + B, A - B, A* B]))\n']
['Runtime Error', 'Accepted']
['s248648243', 's316815952']
[2940.0, 2940.0]
[17.0, 17.0]
[71, 72]
p02945
u597017430
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())\nfor i in range(2*K -1):\n print(X - K +1 + i, end=' ')", 'A, B = map(int, input().split())\nprint(max(A+B, A-B, A*B))']
['Wrong Answer', 'Accepted']
['s390182141', 's806266878']
[3064.0, 2940.0]
[18.0, 18.0]
[87, 58]
p02945
u600588566
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\ninput = sys.stdin.readline\nN=int(input())\nstrings=list("".join(sorted(input())) for _ in range(N))\nstring_set = set()\ncounts = {}\ncount = 0\nfor string in strings:\n if string in string_set:\n count += counts[string]\n counts[string] += 1\n else:\n counts[string] = 1\n\npri...
['Runtime Error', 'Runtime Error', 'Accepted']
['s050585587', 's360746819', 's899756058']
[3064.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[313, 240, 54]
p02945
u605327527
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, max(a - b , a * b))', 'a, b = map(int, input().splitf())\n \nplus = a + b\n \nminus = a - b\n \nkakeru = a * b\n \n \nif plus >= minus:\n if plus >= kakeru:\n print(plus)\nelif minus >= kakeru:\n print(minus)\nelse:\n print(kakeru)', "a, b = map(int, input().splitf...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s137913548', 's702796056', 's864236564', 's946125173', 's941914602']
[2940.0, 3060.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 21.0, 17.0]
[64, 199, 202, 188, 102]
p02945
u607754357
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 = input().split()\nA = int(S[0])\nB = int(S[1])\nmaxval = 0\n\nadd = A + B\ndiff = A - B\nmul = A * B\n\nif add > maxval:\n maxval = add\nif diff > maxval:\n maxval = diff\nif mul > maxval:\n maxval = mul\n\nprint(maxval)', 'import sys\n\nS = input().split()\nA = int(S[0])\nB = int(S[1])\nmaxval = -sys.max...
['Wrong Answer', 'Accepted']
['s320725312', 's664733204']
[3060.0, 3060.0]
[17.0, 17.0]
[216, 239]
p02945
u608088992
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]))', 'def solve():\n A, B = map(int, input().split())\n a = [A * B, A - B, A + B]\n print(max(a))\n\n\nif __name__ == "__main__":\n solve()']
['Runtime Error', 'Accepted']
['s508685765', 's526633735']
[2940.0, 9156.0]
[17.0, 26.0]
[66, 138]
p02945
u609814378
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,d,e,k= map(int, input().split())\n\nA-B = b-a\nA-C = c-a\nA-D = d-a\nA-E = e-a\nB-C = c-b\nB-D = d-b\nB-E = e-b\nC-D = d-c\nC-E = e-c\nD-E = e-d\n\nif (A-B > k) or (A-C > k) or (A-D > k) or (A-E > k) or (B-C > k) or (B-E > k) or (C-D > k) or (C-E > k) or (D-E > k):\n print(":(")\nelse:\n print("Yay!")', '...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s036370946', 's249405952', 's327480389', 's349282117', 's382394282', 's783702485', 's934230798', 's763613470']
[3064.0, 3060.0, 12388.0, 12420.0, 2940.0, 3060.0, 3064.0, 3060.0]
[17.0, 17.0, 151.0, 153.0, 17.0, 24.0, 17.0, 17.0]
[298, 313, 200, 196, 98, 112, 72, 170]
p02945
u609968450
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))\n']
['Runtime Error', 'Accepted']
['s063780583', 's330106417']
[2940.0, 2940.0]
[18.0, 18.0]
[136, 59]
p02945
u615820360
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 = [A+B, A-B, A*B]\nprint(max(l, key=int))', 'A = 1\nB = 1\nl = [A+B, A-B, A*B]\nprint(max(l, key=int))\n', 'i = list(map(int, input().split()))\n\na = i[0]+i[1]\nb = i[0]*i[1]\nc = i[0]-i[1]\n\nprint(max(a,b,c))\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s024503572', 's293785634', 's973388960']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[42, 55, 98]
p02945
u617659131
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 = []\nl.append(a+b)\nl.append(a-b)\nl.append(a*b)\nprint(max(a))', 'a,b = map(int, input().split())\nl = []\nl.append(a+b)\nl.append(a-b)\nl.appned(a*b)\nprint(max(a))', 'a,b = map(int, input().split())\nl = []\nl.append(a+b)\nl.append(a-b)\nl.append(a*b)\nprint(max(l))']
['Runtime Error', 'Runtime Error', 'Accepted']
['s150616758', 's391521304', 's032475614']
[2940.0, 2940.0, 3064.0]
[17.0, 17.0, 17.0]
[94, 94, 94]
p02945
u619670102
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,b = map(int, input().split())\n# d = list(map(int,input().split()))\n\nx = [a*b, a/b, a+b, a-b]\n\nprint(max(x))\n', '#coding utf-8\n\na,b = map(float, input().split())\n# d = list(map(int,input().split()))\n\nx = [a*b, a+b, a-b]\n\nprint(max(x))', '#coding utf-8\n\na,b = map(float, input().split()...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s284825609', 's598184552', 's746595761', 's880510894', 's933804342', 's473608194']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[125, 121, 126, 116, 163, 119]
p02945
u626228246
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']
['s288532164', 's869027471']
[2940.0, 2940.0]
[17.0, 17.0]
[42, 54]
p02945
u628262476
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']
['s954053545', 's279969031']
[2940.0, 2940.0]
[17.0, 17.0]
[52, 60]
p02945
u630211216
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.
['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']
['Runtime Error', 'Accepted']
['s355178239', 's547725150']
[9012.0, 8992.0]
[28.0, 29.0]
[49, 53]
p02945
u638393586
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\nresult = A + B\nif A - B > result:\n result = A - B\nif A * B > result:\n result = A * B\nprint(result)', 'A, B = map(int, input().split())\n\nprint(max([A+B, A-B, A*B])', 'A = int(input())\nB = int(input())\n\nprint(max([A+B, A-B, A*B]))', 'A, B = map(int, input().split())\n\n...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s271842090', 's604133690', 's637940554', 's605668687']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0]
[135, 60, 62, 61]
p02945
u638472784
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.
['num1 = int(input())\nnum2 = int(input())\nnum3 = num1 + num2\nnum4 = num1 - num2\nnum5 = num1 * num2\nnum6 = [num3, num4, num5]\nprint(max(num6))\n', 'num1 = int(input())\nnum2 = int(input())\nnum3 = num1 + num2\nnum4 = num1 - num2\nnum5 = num1 * num2\nnum6 = [num3, num4, num5]\nprint(max(num6))', 'num1 = input("数字を入...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s017884302', 's238967603', 's633179535', 's827859972', 's892348660', 's445141083']
[2940.0, 3060.0, 3064.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0, 17.0, 17.0, 17.0]
[140, 139, 516, 211, 141, 140]
p02945
u641722141
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']
['s213177463', 's441691672']
[2940.0, 2940.0]
[17.0, 18.0]
[55, 56]
p02945
u652569315
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())\nlist = [a+b,a-b,a*b]\nprint(max(list))\n', 'a = int(input())\nb = int(input())\nprint(max(a+b,a-b,a*b))', 'a,b = int(input().split())\nprint(max(a+b,a-b,a*b))\n', 'a,b = map(int,input().split())\nlist = [a+b,a-b,a*b]\nprint(max(list))\n\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s780543661', 's893521104', 's893829881', 's707309523']
[3064.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 17.0]
[65, 57, 51, 70]
p02945
u652656291
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']
['s510266827', 's401074614']
[2940.0, 2940.0]
[18.0, 17.0]
[54, 54]
p02945
u653175574
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, mult)', 'A, B = map(int, input().split())\nplus = A + B\nminus = A - B\nmult = A * B\nans = max(plus, minus, mult)\nprint(ans)']
['Wrong Answer', 'Accepted']
['s218696683', 's435989365']
[2940.0, 2940.0]
[17.0, 17.0]
[101, 112]
p02945
u655048024
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())\nK = a+b\nL = a-b\nM = a*b\nG = max(K,L)\nans = (G,M)\nprint(ans)', 'a,b = map(int,input().split())\nK = a+b\nL = a-b\nM = a*b\nG = max(K,L)\nans = (G,M)', 'a,b = map(int,input().split())\nK = a+b\nL = a-b\nM = a*b\nG = max(K,L)\nans = max(G,M)\nprint(ans)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s261309419', 's931582981', 's169671196']
[3060.0, 2940.0, 3060.0]
[17.0, 17.0, 17.0]
[90, 79, 93]
p02945
u658987783
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 = map(int, input().split())\nprint(max([A+B,A-B,A*B]))']
['Runtime Error', 'Accepted']
['s633018141', 's683866943']
[2940.0, 2940.0]
[17.0, 18.0]
[52, 57]
p02945
u666844906
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())\nlist = [a + b, a - b, a * b]\nprint(max([list]))', 'a, b = map(int, input().split())\nnumlist = [a+b, a-b, a*b]\nprint(max(numlist))']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s221565025', 's705955955', 's171985745']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[58, 80, 78]
p02945
u667084803
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())\nli = [a+b,a-b,a*b]\n\nprint(max(li))', 'a, b=map(int, input().split())\nli = [a+b, a-b, a*b]\n\nprint(max(li))\n']
['Runtime Error', 'Accepted']
['s067960298', 's859578227']
[2940.0, 2940.0]
[17.0, 18.0]
[67, 68]
p02945
u668552255
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.
['values = map(int, input().split())\nAplusB = values[0] + values[1]\nAminusB = values[0] - values[1]\nAtimesB = values[0] * values[1]\nprint(max([AplusB, AminusB, AtimesB]))', "values = list(map(int, input().split(' ')))\nAplusB = values[0] + values[1]\nAminusB = values[0] - values[1]\nAtimesB = values[0] * values[1]\...
['Runtime Error', 'Accepted']
['s048554060', 's294745822']
[3064.0, 3060.0]
[25.0, 17.0]
[168, 177]
p02945
u668924469
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 = open(0)\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']
['s545242074', 's381156844']
[2940.0, 2940.0]
[18.0, 17.0]
[42, 56]
p02945
u672898046
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']
['s327718305', 's472616235']
[2940.0, 2940.0]
[17.0, 17.0]
[58, 58]
p02945
u674190122
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()]\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 ))\n']
['Runtime Error', 'Accepted']
['s966753661', 's511620628']
[2940.0, 2940.0]
[17.0, 17.0]
[71, 74]
p02945
u674588203
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=map(int,input().split())\nprint(max(a+b,a-b,a*b))\n']
['Runtime Error', 'Accepted']
['s430401941', 's090450738']
[8960.0, 9080.0]
[25.0, 27.0]
[48, 53]
p02945
u676258045
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())\np = int(A + B)\nm = int(A - B)\nc = int(A * B)\ns = [p,m,c]\nmax(s)', 'A,B = list(map(int,input().split()))\np = int(A + B)\nm = int(A - B)\nc = int(A * B)\ns = [p,m,c]\nmax(s)', 'A,B = list(map(int,input().split()))\np = int(A + B)\nm = int(A - B)\nc = int(A * B)\ns = [p,m,c]\npri...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s260763370', 's966606081', 's387593267']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[97, 100, 107]
p02945
u684120680
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, open(0).read().split())\n\n add = a + b\n sub = a - b\n mult = a * b\n\n ans = max(add, sub, mult)\n print(ans)\n return()\n\nif __name__ == '__init__':\n main()\n", "def main():\n a, b = map(int, open(0).read().split())\n\n add = a + b\n sub = a - b\n ...
['Wrong Answer', 'Accepted']
['s787708186', 's938742143']
[2940.0, 2940.0]
[17.0, 17.0]
[204, 204]
p02945
u684180760
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\n# a = int(input())\n\na, b = map(int, input().split())\n\n\n\nprint("{}".format(max(max(a+b, a-b), a*b))', '# -*- coding: utf-8 -*-\n\nn = int(input())\n\nar = []\nfor i in range(n):\n ar.append("".join(sorted(input())))\n\n#for t in ar:\n# print(t)\n\n# for j in range(i+1, n):\n# if ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s222787513', 's557069709', 's605472715']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[222, 465, 223]
p02945
u685244071
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 B>=0:\n if x - z >= 0:\n print(x)\n else:\n print(z)\nelse:\n if y - z >= 0:\n print(y)\n else:\n print(z)\n', 'A, B = map(int, input()split())\nx = A+B\ny = A-B\nz = A*B\n\nif y>=0:\n if x - z >= 0:\n print(x)\n else:\n print(z)...
['Runtime Error', 'Runtime Error', 'Accepted']
['s854816129', 's994145281', 's293565951']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[174, 173, 175]
p02945
u685662874
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=map(int,input().split())\nprint(max([a+b,a-b,a*b]))']
['Runtime Error', 'Accepted']
['s698410506', 's607125979']
[2940.0, 2940.0]
[17.0, 17.0]
[50, 54]
p02945
u691112824
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 = [input() for _ in range(N)]\nA = []\ncnt = 0\nfor k in S:\n B = sorted(k)\n C = ''.join(B)\n A.append(C)\nfor i in range(N):\n for j in range(N):\n if i >= j:\n continue\n elif A[i] == A[j]:\n cnt += 1\nprint(cnt)", "N = int(input())\nS = [input() for...
['Runtime Error', 'Runtime Error', 'Accepted']
['s037354970', 's761518595', 's185183864']
[3064.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[266, 175, 66]
p02945
u691501673
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 \nargs = sys.argv\n\nprint(args[0])\n \na = int(args[1])\nb = int(args[2])\n \nsum = a + b\nminus = a - b\nsub = a * b\n \nif (sum - minus) < 0:\n print("足し算のが引き算より小さい")\n if (sum - sub) < 0:\n print("足し算のが掛け算より小さい")\n print(sum)\n else:\n print("掛け算のが足し算より小さい")\n print(sub)\nelse:\n prin...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s112411550', 's686998239', 's793514235', 's948718164', 's025696894']
[3064.0, 3060.0, 3064.0, 3064.0, 2940.0]
[17.0, 17.0, 18.0, 17.0, 17.0]
[589, 553, 589, 208, 239]
p02945
u692054751
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 LI():\n return [int(s) for s in input().split()]\n\nA,B = LI()\n\nprint(max(A+B,A-B,int(A*B))', 'def LI():\n return [int(s) for s in input().split()]\n \nA,B = LI()\n \nprint(max([A+B,A-B,int(A*B)]))']
['Runtime Error', 'Accepted']
['s904179595', 's811823340']
[2940.0, 2940.0]
[17.0, 17.0]
[93, 98]
p02945
u693953100
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 = 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']
['s425612399', 's904099175']
[3316.0, 2940.0]
[20.0, 17.0]
[56, 54]
p02945
u694536861
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.
['inputs = input().split()\n\nif -100 <= input[0] and input[1] <= 100:\n\tprint(max([input[0]+input[1], input[0]-input[1], input[0]*input[1]]))\nelse:\n\traise ValueError\n \n ', 'inputs = input().split()\n \nif -100 <= inputs[0] and inputs[1] <= 100:\n\tprint(max([inputs[0]+inputs[1], inputs[0]-inputs[1], inputs[0]*...
['Runtime Error', 'Runtime Error', 'Accepted']
['s159038841', 's733948761', 's222202205']
[2940.0, 2940.0, 2940.0]
[18.0, 18.0, 17.0]
[167, 170, 152]
p02945
u695625981
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 = 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']
['s014310942', 's680574155', 's261094065']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 18.0]
[59, 53, 58]
p02945
u696434658
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.
['\na, b = list(map(int, input().split()))\nm = 0\nif m < a + b:\n m = a+b\nif m < a - b:\n m = a-b\nif m < a*b:\n m = a*b\n\nprint(m)\n\n', '\na, b = list(map(int, input().split()))\nm = -200000\nif m < a + b:\n m = a+b\nif m < a - b:\n m = a-b\nif m < a*b:\n m = a*b\n\nprint(m)\n\n']
['Wrong Answer', 'Accepted']
['s319555625', 's761094471']
[2940.0, 2940.0]
[17.0, 17.0]
[133, 139]
p02945
u698919163
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))', 'A = int(input())\nB = int(input())\n \nprint(max(A+B,A-B,A*B))', 'A,B = list(map(int,input().split()))\n \nprint(max(A+B,A-B,A*B))']
['Runtime Error', 'Runtime Error', 'Accepted']
['s245109191', 's545976833', 's312818384']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[58, 59, 62]
p02945
u702018889
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())\ns=[]\nfor i in range(x-(k-1),x+k):\n s.append(i)\nprint(*s)', 'a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))']
['Wrong Answer', 'Accepted']
['s162191294', 's175803236']
[9032.0, 9140.0]
[30.0, 28.0]
[89, 52]
p02945
u703442202
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())\nresult = []\nfor i in range(x-k+1, x+k-1):\n result.append(i)\nfor s in result:\n print(s, end =" ")\n', 'a,b = map(int, input().split())\nplus = a + b\ncross = a*b\nminas = a - b\nresult = [plus,cross,minas]\nprint(max(result))']
['Wrong Answer', 'Accepted']
['s081856135', 's646425239']
[3060.0, 2940.0]
[17.0, 19.0]
[130, 117]
p02945
u705427370
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\n\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\nelif a*b >= a+b and a*b >= a-b:\n print(a*b)', 'a,b = map(int,input().split())\n\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(...
['Runtime Error', 'Accepted']
['s988767996', 's832267359']
[3060.0, 3060.0]
[17.0, 17.0]
[176, 173]
p02945
u709259342
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\nminimum = max(x - k + 1, -1000000)\nmaximum = min(x + k - 1, 1000000)\n\nran = [str(i) for i in range(minimum, maximum+1)]\nprint(' '.join(ran)", 'a, b = input().split(" ")\na = int(a)\nb = int(b)\n\nadd = a + b\ndiff = a - b\nmul = a * b\n\nprint(max(add, diff, mul))']
['Runtime Error', 'Accepted']
['s992690275', 's507316785']
[2940.0, 3060.0]
[19.0, 17.0]
[175, 113]
p02945
u714642969
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()))\nans = sorted([a[0] + a[1],a[0] - a[1],a[0] * a[1]])\nprint(ans)', 'a = list(map(int,input().split()))\nans = sorted([a[0] + a[1],a[0] - a[1],a[0] * a[1]])\nprint(ans[2])']
['Wrong Answer', 'Accepted']
['s661863335', 's220958423']
[2940.0, 2940.0]
[18.0, 17.0]
[97, 100]
p02945
u719840207
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())\nc=a-b\nd=c//2\nif c%2==1:\n ans="IMPOSSIBLE"\nelif c%2==0:\n if c>=0:\n ans=b+d\n elif c<0:\n ans=a-d\nprint(ans)', 'a,b=map(int,input().split())\nprint(max(a+b,a-b,a*b))']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s444277610', 's953126762', 's694426332']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[45, 156, 52]
p02945
u720065198
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']
['s344970617', 's427809969']
[2940.0, 2940.0]
[17.0, 17.0]
[53, 55]
p02945
u724844363
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())\nn_l = [a+b,a-b,a*b]\nmax(n_l)\n', 'a,b = map(int,input().split())\nn_l = [a+b,a-b,a*b]\nprint(max(n_l))\n']
['Wrong Answer', 'Accepted']
['s720048520', 's483222508']
[2940.0, 2940.0]
[17.0, 17.0]
[60, 67]
p02945
u725133562
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 = map(int, input().split())\nprint(max(a+b,max(a-b,a*b)))', 'a, b = map(int, input().split())\nprint(max(a+b,max(a-b,a*b)))']
['Runtime Error', 'Accepted']
['s744111027', 's720509497']
[2940.0, 2940.0]
[17.0, 17.0]
[64, 61]
p02945
u731291894
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, B = list(map(int, input().split()))\n\nprint(max(A+B, A-B, A*B)', '# coding: utf-8\n \nA, B = list(map(int, input().split()))\n \nprint(max(A+B, A-B, A*B))']
['Runtime Error', 'Accepted']
['s367859081', 's718559625']
[2940.0, 2940.0]
[17.0, 17.0]
[81, 84]