TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
k, x = map(int, input().split())
for i in range(2*k-1):
    b = abs(x-k+i)
    if b <= 1000000:
        print(x-k+i)
    

a, b = map(int, input().split())
array = [a+b, a-b, a*b]
print(max(array))

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = map(int, input().strip())

print(max(A+B,A-B,A*B))

A, B = map(int, input().split())

print(max(A+B,A-B,A*B))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
from itertools import combinations

N = int(input())
s = [sorted(input(i)) for i in range(N)]

c = len([i for i in combinations(s, 2) if i[0] == i[1]])
print(c)


A, B = [int(i) for i in input().split()]

print(max(A+B, A-B, A*B))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A,B = =map(int,input().split())
x = A+B
y = A-B
z = A*B
print( max(x,y,z) )


A,B = map(int,input().split())
x = A+B
y = A-B
z = A*B
print( max(x,y,z) )

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A,B=map(int,input().split)
print(max([A+B,A-B,A*B]))

A,B=map(int,input().split)
x=[A+B,A-B,A*B]
print(max(x))

A,B=map(int,input().split())
x=[A+B,A-B,A*B]
print(max(x))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=input().split
print(max(a+b,a-b,a*b))

a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a = input()
b = input()

seki = a * b
sa = a - b
wa = a + b

if wa >= seki and wa >= sa:
    print(wa)
elif sa >= wa and sa >= seki:
    print(sa)
else:
    print(seki)
     

a = input('')
b = input('')

seki = int(a) * int(b)
sa = int(a) - int(b)
wa = int(a) + int(b)

if wa >= seki and wa >= sa:
    print(wa)
elif sa >= wa and sa >= seki:
    print(sa)
else:
    print(seki)


a = input()
b = input()

seki = int(a) * int(b)
sa = int(a) - int(b)
wa = int(a) + int(b)

if wa >= seki and wa >= sa:
    print(wa)
elif sa >= wa and sa >= seki:
    print(sa)
else:
    print(seki)


a = input()
b = input()

seki = int(a) * int(b)
sa = int(a) - int(b)
wa = int(a) + int(b)

if wa >= seki and wa >= sa:
    print(str(wa))
elif sa >= wa and sa >= seki:
    print(str(sa))
else:
    print(str(seki))


a, b = input(""). split("")

seki = int(a) * int(b)
sa = int(a) - int(b)
wa = int(a) + int(b)

if wa >= seki and wa >= sa:
    print(wa)
elif sa >= wa and sa >= seki:
    print(sa)
else:
    print(seki)


a, b = input().split()

seki = int(a) * int(b)
sa = int(a) - int(b)
wa = int(a) + int(b)

if wa >= seki and wa >= sa:
    print(wa)
elif sa >= wa and sa >= seki:
    print(sa)
else:
    print(seki)


Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = input().strip().split()
a, b = [int(a), int(b)]

def main(a, b):
  s = a + b
  d = a - b
  p = a * b
  num_list = [s, d, p]
  return print(max(num_list))

import sys

def main():
    input = sys.stdin.readline
    A, P = map(int, input().split())
    s = A + P
    d = A - P
    f = A * P
    num_list = [s, d, f]
    
    return max(num_list)

if __name__ == '__main__':
    print(main())

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int, input().split())
print(max(a + b, a - b, a * b)

a, b = map(int, input().split())
print(max(a + b, a - b, a * b))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
import numpy as np

A, B = map(int, input().split())

print(np.max(A-B, A+B, A*B)

A, B = map(int, input().split())

print(max(A-B, A+B, A*B))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int, input().split())
print(max(a + b, a - b. a * b))

a, b = map(int, input().split())
print(max(a + b, a - b, a * b))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = map(int,input().split())
x = int(a+b)
y = int(a-b)
z = int(a*b)
l = []
l = l.append(x,y,z)
print(max(l))

a,b = map(int,input().split())
x = int(a+b)
y = int(a-b)
z = int(a*b)

l = []
l.append(int(x))
l.append(int(y))
l.append(int(z))
print(max(l))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = input().split()
max(a + b, a - b, a * b)

a, b = [int(x) for x in input().split()]
max(a + b, a - b, a * b)

a, b = input(), input()
max(a + b, a - b, a * b)

a, b = [int(x) for x in input().split()]
print(max(a + b, a - b, a * b))

Verdicts: Runtime Error

Wrong Answer

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int, input().split())
print(max[a+b, a-b, a*b])

a, b = map(int, input().split())
calcu = [a+b, a-b, a*b]
print(max(calcu))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = input().split()

print(a)
print(b)


N = int(input())
strings = []
for i in range(N):
    strings.append(str(input()))


strings = [''.join(sorted(s)) for s in strings]
strings.sort()

for s in strings:
    print(s)


hashMap = {}
for string in strings:
    if string not in hashMap:
        hashMap[str(string)] = 1
    else:
        hashMap[str(string)] += 1


sum = 0

for key in hashMap:
    v = hashMap[key]
    sum += v * (v - 1) / 2
print(int(sum))

N = int(input())
strings = []
for i in range(N):
    strings.append(input())


strings = [''.join(sorted(s)) for s in strings]
strings.sort()

for s in strings:
    print(s)


hashMap = {}
for string in strings:
    if string not in hashMap:
        hashMap[str(string)] = 1
    else:
        hashMap[str(string)] += 1


sum = 0

for key in hashMap:
    v = hashMap[key]
    sum += v * (v - 1) / 2
print(int(sum))




a, b = input().split()

a = int(a)
b = int(b)


sum = a + b
dif = a - b
pro = a * b


def greatest(a, b, c):
    if a > b:
        if a > c:
            return a
        else:
            return c
    else:
        if b > c:
            return b
        else:
            return c


print(greatest(sum, dif, pro))


Verdicts: Wrong Answer

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = map(int,input().split())
max(a+b,a-b,a*b)

a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int,input().split())
c=[a+b,a-b,a*b]
c.sort()
print(c[3])

k,x=map(int,input().split())
list=[]
for i in range(-k,k):
  list.append(x+i)
for i in range(1,2*k):
  print(list[i])

a,b=map(int,input().split())
c=[a+b,a-b,a*b]
c.sort()
print(c[2])


Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
import time

time.sleep(3)
a, b = map(int, input().split())
print(max(a + b, a - b, a * b))

import time
 
time.sleep(0.5)
a, b = map(int, input().split())
print(max(a + b, a - b, a * b))

Verdicts: Time Limit Exceeded

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
import math
a,b,c=map(int,input().split())
print(max(a+b,a-b,a*b))

import math
a,b=map(int,input().split())
print(max(a+b,a-b,a*b))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int,input().split())

c=a+ba
d=a-b
e=a*b
f=[c,d,e]
print(max(f))
  


a,b=map(int,input().split())

c=a+b
d=a-b
e=a*b
f=[c,d,e]
print(max(f))
  


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
lis_raw=[int(i) for i in input().split()]
print(max(lis[0]+lis[1], lis[0]-lis[1], lis[0]*lis[1]))

lis_raw=input().split()
lis = [int(i) for i in lis]
print(max(lis[0]+lis[1], lis[0]-lis[1], lis[0]*lis[1]))

a, b=map(int, input().split())
print(max(a + b, a - b, a*b))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
import heapq
n,m=map(int, input().split())
s = [list(map(int, input().split())) for i in range(n)]
q = []
ans=0

for k in range(m-1,-1,-1):
    while True:
        if s!=[]:
            
            p=heapq.heappop(s)
            if p[0]+k<=m:
                
                heapq.heappush(q,-p[1])
            else:
                heapq.heappush(s,p)
                break
        else:
            break
        if q!=[]:
            
            p=heapq.heappop(q)
            ans+=-p
print(ans)




import heapq
n,m=map(int, input().split())
s = [list(map(int, input().split())) for i in range(n)]
q = []
ans=0

heapq.heapify(s)
heapq.heapify(q)
for k in range(m-2,-1,-1):
    if s!=[]:
        
        p=heapq.heappop(s)
        if p[0]+k<=m:
            
            heapq.heappush(q,-p[1])
        else:
            heapq.heappush(s,p)
            break
    else:
        break
    if q!=[]:
        
        p=heapq.heappop(q)
        ans+=-p
print(ans)


import heapq
n,m=map(int, input().split())
s = [list(map(int, input().split())) for i in range(n)]
q = []
ans=0

heapq.heapify(s)
for k in range(m-1,-1,-1):
    while True:
        if s!=[]:
            
            p=heapq.heappop(s)
            if p[0]+k<=m:
                
                heapq.heappush(q,-p[1])
            else:
                heapq.heappush(s,p)
                break
        else:
            break
        if q!=[]:
            
            p=heapq.heappop(q)
            ans+=-p
print(ans)




import heapq
n,m=map(int, input().split())
s = [list(map(int, input().split())) for i in range(n)]
q = []
ans=0

heapq.heapify(s)
for k in range(m-2,-1,-1):
    if s!=[]:
        
        p=heapq.heappop(s)
        if p[0]+k<=m:
            
            heapq.heappush(q,-p[1])
        else:
            heapq.heappush(s,p)
            break
    else:
        break
    if q!=[]:
        
        p=heapq.heappop(q)
        ans+=-p
print(ans)


a,b=map(int, input().split())
print(max(a+b,a-b,a*b))

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = int(input().split())

s = A + B
d = A - B
m = A * B

print(max(s, d, m))

A, B = map(int, input().split())

s = A + B
d = A - B
m = A * B

print(max(s, d, m))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a = int(input())
b = int(input())

print(max(a+b,a-b,a*b))

a = int(input())
b = int(input())

print(max(a+b,a-b,a*b))

a,b = map(int,input().split())

print(max(a+b,a-b,a*b))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
K,X=map(int,input().split())
k=[]
for i in range ((X-K+1),(X+K),1):
    print(i,end=" ")

a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int,input().split()):print(min(a+b,a-b,a*b))

a,b=map(int,input().split());print(max(a+b,a-b,a*b))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a , b = map(int , input().split())

def fun(a,b):
    adds = a+b
    subs = a-b
    muls = a*b

    if adds > subs:
        if adds > muls:
            return adds
        else:
            return muls
    else:
        if subs > muls:
            return subs
        else:
            return muls

#a,b = -13,3

fun(a,b)

a , b = map(int , input().split())
 
def fun(a,b):
    adds = a+b
    subs = a-b
    muls = a*b
 
    if adds > subs:
        if adds > muls:
            return adds
        else:
            return muls
    else:
        if subs > muls:
            return subs
        else:
            return muls
 
#a,b = -13,3
 
print(fun(a,b))

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a = int(input())
b = int(input())

list = [a + b, a - b, a * b]

if a > 0:
  if b > 0:
    print(list[2])
  else:
    print(list[1])

else:
  if b > 0:
    print(list[0])
  else:
    print(list[2])

a,b = map(int, input().split())
print(max(a+b, a-b, a*b))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = map(int, input())

print(max(max(A+B, A - B), A * B))

A, B = map(int, input().split())

print(max(max(A+B, A - B), A * B))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int,inptu().split())
r = []
r.append(a+b)
r.append(a-b)
r.append(a*b)
print(max(r))


a, b = map(int,input().split())
r = []
r.append(a+b)
r.append(a-b)
r.append(a*b)
print(max(r))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = input().split(" ")
a_plus_b = a+b
a_minus_b = a-b
a_mul_b = a*b

max_three = max(a_plus_b, max(a_minus_b, a_mul_b))
print(max_three)

a,b = [int(s) for s in input().split(" ")]
a_plus_b = a+b
a_minus_b = a-b
a_mul_b = a*b

max_three = max(a_plus_b, max(a_minus_b, a_mul_b))
print(max_three)

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = map(int,input().split)

print (max([a+b, a-b, a*b]))


a = int(input())
b = int(input())

print (max(a+b, a-b, a*b))


a, b = map(int,input().split())

print (max([a+b, a-b, a*b]))


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = [int(x) for x in input().split()]
res = sorted([a+b,a-b,a*b])
print(res[0])

a,b = [int(x) for x in input().split()]
res = sorted([a+b,a-b,a*b])
print(res[2])


Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
    a,b = map(int,input().split())
    print(max(a + b,a - b,a*b))

a,b = map(int,input().split())
print(max(a + b,a - b,a*b)

a,b = map(int,input().split())
print(max(a + b,a - b,a*b))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int, input().split())
print(max[a+b,a-b,a*b])

a,b=map(int, input().split())
print(max([a+b,a-b,a*b]))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
ab = [int(i)for i in input().split()]¥
print(max(ab[0] + ab[1],max(ab[0] * ab[1], ab[0]-ab[1])))

ab = [int(i)for i in input().split()]
print(max(ab[0] + ab[1],max(ab[0] * ab[1], ab[0]-ab[1])))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int,input().split())
max_ab = 0
max_ab = max(a+b,max_ab)
max_ab = max(a-b,max_ab)
max_ab = max(a*b,max_ab)
print(max_ab)

a,b=map(int,input().split())
max_ab = -100
max_ab = max(a+b,max_ab)
max_ab = max(a-b,max_ab)
max_ab = max(a*b,max_ab)
print(max_ab)

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
data = [int(x) for x in input().split(" ")]
print(max(sum(data),data[0]-data[1],data[0]*data[1])

data = [int(x) for x in input().split(" ")]
print(max(sum(data),data[0]-data[1],data[0]*data[1]))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
print(max(A + B,A - B,A * B))

A,B = map(int,input().split())
print(max(A + B, A - B,A * B))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = imput().split()
c = [a + b, a - b, a * b]
print(max(c))

a, b = map(int, imput().split())
c = [a + b , a - b, a * b]
print(max(c))

a, b = map(int, input().split())
c = [a + b , a - b, a * b]
print(max(c))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = map(int,input().split())
print(max([a+b,a-b,a*b])

a,b = map(int,input().split())
print(max([a+b,a-b,a*b]))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int, input().split())
l = []
c = a +b
d = a -b
e = a *b
l.append(c)
l.append(d)
l.append(e)
print(max(l[c, d, e]))

a, b = map(int, input().split())
l = []
c = a +b
d = a -b
e = a *b
l.append =c
l.append =d
l.append =e
print(max(l))

a, b = map(int, input().split())
l = []
c = a +b
d = a -b
e = a *b
l.append =c
l.append =d
l.append =e
print(max(l[c, d, e]))

a, b = map(int, input().split())
l = []
c = a +b
d = a -b
e = a *b
l.append(c)
l.append(d)
l.append(e)
print(max(l))

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a=input()
b=input()
print(max([a-b,a+b,a*b]))

a,b=map(int,input().split())
print(max([a-b,a+b,a*b]))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int,input().split())
if a+b>a*b,a-b:
  print(a+b)
elif a*b>a+b,a-b:
  print(a*b)
elif a-b>a*b,a+b:
  print(a-b)

a,b=map(int,input().split())
if a+b>a*b and a+b>a-b:
  print(a+b)
elif a*b>a+b and a*b>a-b:
  print(a*b)
else:
  print(a-b)

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
import numpy as np

Y,D=map(int,input().split())

B=np.array(range(-Y+D+1,Y+D,1))

for i in B:
  print(i)


import numpy as np

Y,D=map(int,input().split())

B=np.array(range(-Y+D+1,Y+D,1))

for i in B:
  print(i)

A,B=map(int,input().split())
x=A+B
y=A-B
z=A*B
print(max(x,y,z))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
input = sys.stdin.readline
sys.setrecursionlimit(10**6)

a, b = map(int, input().split())
print(max(a+b, a-b, a*b))

def main():
    import sys
    input = sys.stdin.readline
    sys.setrecursionlimit(10**6)
    a, b = map(int, input().split())
    print(max(a+b, a-b, a*b))


if __name__ == '__main__':
    main()


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = map(int,input())
list_ab =[]
list_ab.append(a+b)
list_ab.append(a-b)
list_ab.append(a*b)

print(max(list_ab))

a,b = map(int,input().split())
list_ab =[]
list_ab.append(a+b)
list_ab.append(a-b)
list_ab.append(a*b)

print(max(list_ab))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = map(int,input().split())
print(max(max(a+b,a-b),a*b)

a,b = map(int,input().split())
print(max(max(a+b,a-b),a*b))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = map(int, input().split())
print(max([a + B, a - b, a * b]))

# input
A, B = map(int, input().split())
print(max([A + B, A - B, A * B]))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int,input.split())

print(max(a+b,a-b,a＊b))


a,b=map(int,input.split())

print(max(a+b,a-b,a*b))


a,b=map(int,input().split())

print(max(a+b,a-b,a*b))


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int, input().split())
max(a+b,a-b,a*b)

a, b = map(int, input().split())
s = max(a+b,a-b,a*b)
print(s)

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A = int(input())
B = int(input())
list = []
list.append(A + B)
list.append(A - B)
list.append(A * B)
print(max(list))

a = list(map(int,input().split()))
A = a[0]
B = a[1]
list = []
list.append(A + B)
list.append(A - B)
list.append(A * B)
print(max(list))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int, input().split())
print(max([a+b, a-b, a*b])

a, b = map(int, input().split())
print(max([a+b, a-b, a*b]))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a = input()
b = int(a[0]) + int(a[2])
c = int(a[0]) - int(a[2])
d = int(a[0]) * int(a[2])
if b >= c and b >= d:
  print(b)
elif c >= b and c >= d:
  print(c)
else:
  print(d)

a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int, input())
print(max([a+b, a-b, a*b]))

a, b = map(int, input().split())
print(max([a+b, a-b, a*b]))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a = int(input())
b = int(input())

l = [a+b,a-b,a*b]

print(max(l))

a = int(input())
b = int(input())

if(a >= -100 and b <= 100):
	l = [a+b,a-b,a*b]
	print(max(l))

K,X = map(int, input().split())
for a in range(X-K+1, X+K, 1):
	print(a)

a,b = map(int, input().split())
print(max(a+b, a-b, a*b))

Verdicts: Runtime Error

Runtime Error

Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a = input("")
b = input("")

wa = int(a) + int(b)
sa = int(a) - int(b)
seki = int(a) * int(b)

if wa >= sa and wa >= seki:
    print(wa)
elif sa >= wa and sa >= seki:
    print(sa)
else:
    print(seki)

a,b=input().split()

wa = a + b
sa = a - b
seki = a * b

if wa >= sa and wa >= seki:
    print(str(wa))
elif sa >= wa and sa >= seki:
    print(str(sa))
else:
    print(str(seki))

a = input()
b = input()

wa = int(a) + int(b)
sa = int(a) - int(b)
seki = int(a) * int(b)

if wa >= sa and wa >= seki:
    print(wa)
elif sa >= wa and sa >= seki:
    print(sa)
else:
    print(seki)

a = input()
b = input()

wa = int(a) + int(b)
sa = int(a) - int(b)
seki = int(a) * int(b)

if wa >= sa and wa >= seki:
    print(wa)
elif sa >= wa and sa >= seki:
    print(sa)
else:
    print(seki)

a,b=input("").split("")

wa = int(a) + int(b)
sa = int(a) - int(b)
seki = int(a) * int(b)

if wa >= sa and wa >= seki:
    print(str(wa))
elif sa >= wa and sa >= seki:
    print(str(sa))
else:
    print(str(seki))

a = input()
b = input()

wa = int(a) + int(b)
sa = int(a) - int(b)
seki = int(a) * int(b)

if wa >= sa and wa >= seki:
    print(str(wa))
elif sa >= wa and sa >= seki:
    print(str(sa))
else:
    print(str(seki))

a, b = input(""), input("")

wa = int(a) + int(b)
sa = int(a) - int(b)
seki = int(a) * int(b)

if wa >= sa and wa >= seki:
    print(str(wa))
elif sa >= wa and sa >= seki:
    print(str(sa))
else:
    print(str(seki))

a,b=input().split()

a = int(a)
b = int(b)

wa = a + b
sa = a - b
seki = a * b

if wa >= sa and wa >= seki:
    print(str(wa))
elif sa >= wa and sa >= seki:
    print(str(sa))
else:
    print(str(seki))

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a = int(input())
b = int(input())

x = a + b
y = a - b
z = a * b

print(max(x, y, z))

a = int(input())
b = int(input())

x = a + b
y = a - b
z = a * b
m = max(x, y, z)

print('A + B =', str(x), 'A - B =', str(y), 'A ×　B =', str(z), 'の中で最大の数は', str(m), 'です。')



k, x = map(int, input().split())

axis = list(range(-10, 11, 1))
df = pd.DataFrame(axis)
df = df.rename(columns = {0 : 'var'})

res = []

if k == 1:
    print(x)
else:
    for i in range(1, k):

        a = df[df['var'] == x + i]
        a = list(a['var'])
        res.append(a)
        
        a = df[df['var'] == x - i]
        a = list(a['var'])
        res.append(a)
    res.append([x])
    res = sum(res, []) 
    res = sorted(res) 
    print(*res)


a, b = map(int, input().split())

x = a + b
y = a - b
z = a * b
print(max(x, y, z))


Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a = int(input())
b = int(input())
print(max([a+b, a-b, a*b]))

a, b = input().split(" ")
print(max([a+b, a-b, a*b]))

A, B = [int(i) for i in input().split(" ")] 
print(max([A+B, A-B, A*B]))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int,input()split())
print("{}".format(max((a+b),(a-b),(a*b))))

a,b=map(int,input().split())
print("{}".format(max((a+b),(a-b),(a*b))))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A,B = list(map(int, input().split()))
print(max(A+B,A-B,A*B)

A,B = list(map(int, input().split()))
print(max(A+B,A-B,A*B))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A,B=int(input()),int(input())
C=A+B
D=A-B
E=A*B
if C>D and C>E:
    print(C)
elif D>C and D>E:
    print(D)
elif E>C and E>D:
    print(E)

int main() {
    int a, b;
    cin >> a >> b;
    int c = a * b;
    if (c % 2 == 0) cout << "Even" << endl;
    else cout << "Odd" << endl;
}

a=A+B
b=A-B
c=A*B
if a>b and a>c:
  print(a)
  elif b>a and b>c:
    print(b)
    elif c>a and c>b
    print(c)

i = list(map(int, input().split()))
a=i[0]+i[1]
b=i[0]-i[1]
c=i[0]*i[1]
if a>=b and a>=c:
  print(a)
elif b>=a and b>=c:
  print(b)
else:
  print(c)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = int(input().split())

tasu = a+b
kakeru = a*b
hiku = a-b

print(max(tasu,kakeru,hiku))

a,b = int(input())

tasu = a+b
kakeru = a*b
hiku = a-b

print(max(tasu,kakeru,hiku))

a,b = map(int, input().split())

tasu = a+b
kakeru = a*b
hiku = a-b

print(max(tasu,kakeru,hiku))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
input_list = input().split()
print(input_list)
A = int(input_list[0])
B = int(input_list[1])

if (A+B) >= (A-B) and (A+B) >= (A*B):
    print(A+B)
elif (A+B) >= (A-B) and (A+B) <= (A*B):
    print(A*B)
elif (A+B) <= (A-B) and (A+B) >= (A*B):
    print(A-B)
elif (A+B) <= (A-B) and (A+B) <= (A*B):
    if (A-B) >= (A*B):
        print(A-B)
    else:
        print(A*B)

input_list = input().split()
A = int(input_list[0])
B = int(input_list[1])

if (A+B) >= (A-B) and (A+B) >= (A*B):
    print(A+B)
elif (A+B) >= (A-B) and (A+B) <= (A*B):
    print(A*B)
elif (A+B) <= (A-B) and (A+B) >= (A*B):
    print(A-B)
elif (A+B) <= (A-B) and (A+B) <= (A*B):
    if (A-B) >= (A*B):
        print(A-B)
    else:
        print(A*B)

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
print ("Hello, World!")

a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = map(int, input().split())
 
res1 = A + B
res2 = A - B
res3 = A * B
 
if res1 > res2:
  if (res1 > res3):
    print res1
  else:
  	print res3
else:
  if (res2 > res3):
    print res2
  else:
    print res3

A, B = map(int, input().split())

res1 = A + B
res2 = A - B
res3 = A * B

if res1 > res2:
  if (res1 > res3):
    return res1
  else:
  	return res3
else:
  if (res2 > res3):
    return res2
  else:
    return res3
    



A, B = map(int, input().split())

res1 = A + B
res2 = A - B
res3 = A * B

print(max[res1,res2,res3])

#k = int(input())
#s = input()
#a, b = map(int, input().split())
#s, t = map(str, input().split())
#l = list(map(int, input().split()))

a, b = map(int, input().split())

print(max(a+b,a-b,a*b))




Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
x=input().split()

y=[0]*3
y[0]=x[0]+x[1]
y[1]=x[0]-x[1]
y[2]=x[0]*x[1]
 
print(max(y))

import sys

argv=sys.argv

x=[0]*2
for i in range(2):
	x[i]=(int)(argv[i+1])
    
y=[0]*3
y[0]=x[0]+x[1]
y[1]=x[0]-x[1]
y[2]=x[0]*x[1]

print(max(y))

I=int(input().split())
x=int(input().split())
y=int(input().split())

if (min(y,I[3])-max(x,I[2]))>0:
    print('No War')
    
else :
    print('War')

import sys
 
argv=sys.argv
 
x=[0]*2
for i in range(2):
	x[i]=(int)(argv[i+1])
    
y=[0]*3
y[0]=x[0]+x[1]
y[1]=x[0]-x[1]
y[2]=x[0]*x[1]
 
print(max(y))

argv=sys.argv

x=[0]*2
for i in range(10):
	x[i]=(int)(argv[i+1])
    
MAX=x[0]+x[1]
MIN=x[0]-x[1]
MUL=x[0]*x[1]

print(max(MAX,MIN,MUL))

x=input().split()

for i in range(2):
    x[i]=int(x[i])

y=[0]*3
y[0]=x[0]+x[1]
y[1]=x[0]-x[1]
y[2]=x[0]*x[1]
 
print(max(y))

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,copy,time
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
print = sys.stdout.write
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpl_str(): return list(sys.stdin.readline().split())

A,B = inpl()
print(max(A+B,A-B,A*B))

from collections import defaultdict,deque
import sys,heapq,bisect,math,itertools,string,queue,copy,time
sys.setrecursionlimit(10**8)
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inp(): return int(sys.stdin.readline())
def inpl(): return list(map(int, sys.stdin.readline().split()))
def inpl_str(): return list(sys.stdin.readline().split())

A,B = inpl()
print(max(A+B,A-B,A*B))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A = int(input())
B = int(input())

a=A+B
b=A-B
c=A*B

if a>b and a>c:
    print(str(a))

elif b>c and b>a:
    print(str(b))

else:
    print(str(c))

A = int(input())
B = int(input())
print(max(A+B,A-B,A*B))


A = int(input())
B = int(input())
print((max(A+B,A-B,A*B)))

A = int(input())
B = int(input())
print(str(max(A+B,A-B,A*B)))


A,B = map(int, input().split())
print(max(A+B,A-B,A*B))

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
job = list()
salary = list()
m_total = 0
j = 0
n,m = map(int,input().split())
for i in range(n):
    a,b = map(int,input().split())
    job.append((a,b))
    job.sort(reverse = True)
for i in range(n):
    a,b = job[i]
    salary.append(b)
    if a + j > m :
        salary.remove(min(salary))
        continue
    j += 1
print(sum(salary))


a,b = map(int,input().split())
ab_list = list()
ab_list.append(a + b)
ab_list.append(a - b)
ab_list.append(a * b)
print(max(ab_list))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A,B=map(int,input().split())
max(A+B,A-B,A*B)

A,B=map(int,input().split())
print(max(A+B,A-B,A*B))

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
K,X =map(int, input().split())
print(*list(range(X-K+1,X+K)))

K,X =map(int, input().split())
print(list(range(X-K+1,X+K-1)))

A,B = map(int, input().split())
print(max(A+B, A-B, A*B))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a=int(input())
b=int(input())
if a+b>=a-b and a+b>=a*b:
  print(a+b)
elif a-b>=a+b and a-b>=a*b:
  print(a-b)
else:
  print(a*b)

a, b=map(int, input().split())
print(max[a+b, a-b, a*b])

a=int(input())
b=int(input())
print(max[a+b, a-b, a*b])

A,B = map(int,input().split())
print(max(A+B,A-B,A*B))

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int,input().split()))
 
ab1=a+b
ab2=a-b
ab3=a*b
print (max(ab1,ab2,ab3))

a=int(input())
b=int(input())

ab1=a+b
ab2=a-b
ab3=a*b
print (max(ab1,ab2,ab3))

a,b=map(int,input().split())
 
ab1=a+b
ab2=a-b
ab3=a*b
print (max(ab1,ab2,ab3))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
num = int(input())
char=[] 
while True:
    try:
        char.append(list(input()))

    except:
        break
new_char=[]
cnt=0
for i in range(num):
	new_char.append(sorted(char[i]))
for x in range(num):
    for y in range(num):
        if new_char[x]==new_char[y] and x!=y:
            cnt = cnt+1
print(cnt//2)
    

    

num = int(input())
char=[] 
while True:
    try:
        char.append(list(input()))

    except:
        break
new_char=[]
cnt=0
for i in range(num):
	new_char.append(sorted(char[i]))
for x in range(num):
    for y in range(num):
        if new_char[x]==new_char[y] and x!=y:
            cnt = cnt+1
print(cnt)

x,y = map(int,input().split())

ans = [x*y,x+y,x-y]

print(max(ans))

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
def dd():
    a=int(input("a="));
    b=int(input("b="));
    if(a+b>a-b):
        if(a+b>a*b):
            print(a+b);
        
        else:
            print(a*b);
    else:
        if(a-b>a+b):
            if(a-b>a*b):
              print(a-b);
            else:
                print(a*b);
def main():
    dd();
main();


import math
a, b = map(int, input().split())
print(max(a+b, a-b, a*b))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):

from collections import Counter

n = int(input())
s =  Counter("".join(sorted(input())) for i in range(n))

print(sum(map(lambda x : x * (x - 1) // 2, s.values())))


from collections import Counter
n = int(input())
s = Counter(''.join(sorted(input())) for i in range(n))
print(sum(map(lambda x : x * (x-1) // 2, s.values())))


a,b=map(int,input().split())
print(max(a+b,max(a-b,a*b)))


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b = map(int,raw_input().split())
print(a+b,a-b,a*b)

a,b=map(int,input().split())
print(max(a+b,a-b,a*b))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b=map(int, input().split())
puls = a + b
m = a - b
x = a * b
print(max(plus,m,x))

a, b=map(int, input().split())
int puls = a + b
int m = a - b
int x = a * b
print(max(plus,m,x))

input int=a, int=b
int puls = a + b
int m = a - b
int x = a * b
print(max(plus,m,x))

a, b= map (int, input().split())
plus = a + b
m = a - b
x = a * b
print(max(plus,m,x))

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):


import sys
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 7)

A,B=map(int,readline())

print(max({A * B, A + B, A - B}))




import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(10 ** 7)

A,B = map(int,read().split())
print(max(A+B,A-B,A*B))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A,B=map(int(),input().split())
number1=A+B
number2=A-B
number3=A*B
print(max([number1,number2,number3]))

A,B=map(int,input().split())
a=A+B
b=A-B
c=A*B
print(max(a,b,c))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
s = list(map(int,input().split()))
t = max(s[0]+s[1],s[0]-s[1],s[0]*s[1],s[0]/s[1])
print(t)


s = list(map(int,input().split()))
t = max(s[0]+s[1],s[0]-s[1],s[0]*s[1],s[0]/s[1])
print(t)
print('A+B={0},A-B={1},A*B={2},A/B={3}の中で最大の数{4}はです'.format(s[0]+s[1],s[0]-s[1],s[0]*s[1],s[0]/s[1],t))


s = list(map(int,input().split()))
t = max(s[0]+s[1],s[0]-s[1],s[0]*s[1],s[0]/s[1])
print(t)
print('A+B={0},A-B={1},A*B={2},A/B={3}の中で最大の数{4}はです'.format(s[0]+s[1],s[0]-s[1],s[0]*s[1],s[0]/s[1],t))


s = list(map(int,input().split()))
t = max(s[0]+s[1],s[0]-s[1],s[0]*s[1])
print(t)



Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
from sys import stdin

#Slist = list(S)
#A = list(map(int, input().split()))
chinpo = True
A = int(input())
B = int(input())
X = A + B
Y = A - B
Z = A * B
listo = []
listo.append(X)
listo.append(Y)
listo.append(Z)
print(max(listo))

X = int(S[0])+int(S[1])
Y = int(S[0])-int(S[1])
Z = int(S[0])*int(S[1])
intS[0] = ss
intS[1] = dd
if X >= Y:
    if X >= Z:
        print(X)
    else:
        print(Z)
else:
    if Y >= Z:
        print(Y)
    else:
        print(Z)

A = int(input())
B = int(input())
X = A + B
Y = A - B
Z = A * B

chinchin = [X, Y, Z]
print(max(chinchin))

A = int(input())
B = int(input())
X = A + B
Y = A - B
Z = A * B
listo = []
listo.append(X)
listo.append(Y)
listo.append(Z)
print(max(listo))


A = int(input())
B = int(input())
X = A + B
Y = A - B
Z = A * B
if X >= Y:
    if X >= Z:
        print(X)
    else:
        print(Z)
else:
    if Y >= Z:
        print(Y)
    else:
        print(Z)

S = int(input().split())
print(max(S))


A = int(input())
B = int(input())
X = A + B
Y = A - B
Z = A * B
if X >= Y:
    if X >= Z:
        print('',X)
    else:
        print('',Z)
else:
    if Y >= Z:
        print('',Y)
    else:
        print('',Z)

A = int(input())
B = int(input())
X = A + B
Y = A - B
Z = A * B

print(max([X, Y, Z]))


S = input().split()
X = int(S[0])+int(S[1])
Y = int(S[0])-int(S[1])
Z = int(S[0])*int(S[1])
intS[0] = ss
intS[1] = dd
if X >= Y:
    if X >= Z:
        print(X)
    else:
        print(Z)
else:
    if Y >= Z:
        print(Y)
    else:
        print(Z)


S = int(input()).split()
print(max(S))


A = int(input())
B = int(input())
X = A + B
Y = A - B
Z = A * B
listo = []
listo.append(X)
listo.append(Y)
listo.append(Z)
print(max(listo))


S = input().split()
X = int(S[0])+int(S[1])
Y = int(S[0])-int(S[1])
Z = int(S[0])*int(S[1])
if X >= Y:
    if X >= Z:
        print(X)
    else:
        print(Z)
else:
    if Y >= Z:
        print(Y)
    else:
        print(Z)


Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
from functools import lru_cache

n = int(input())
list1 = [''.join(sorted(input())) for i in range(n)]
dict1 = dict()
cout = 0
@lru_cache(maxsize = None)
def func(s):
	if s == 2:
		return 1 
	return s-1 + func(s-1)

for i in range(n):
	if list1[i] in dict1:
		dict1[list1[i]] += 1
	else:
		dict1[list1[i]] = 1

for i in dict1:
	if dict1[i] != 1:
		cout += func(dict1[i])

print(cout)


a,b = map(int,input().split())
list1 = []
list1.append(a+b)
list1.append(a-b)
list1.append(a*b)
print(max(list1))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a,b=map(int,input().split())
A=a*b
B=a-b
C=a*b
D=[A,B,C]
print(max(D))

a,b=map(int,input().split())
A=a*b
B=a-b
C=a+b
D=[A,B,C]
print(max(D))

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A = int(input())
B = int(input())
if B >= 0:
    if (A+B)>=(A*B):
        print(A+B)
    else:
        print(A*B)
else:
    if (A-B)>=(A*B):
        print(A-B)
    else:
        print(A*B)

A,B = map(int,input().split())
if B >= 0:
    if (A+B)>=(A*B):
        print(A+B)
    else:
        print(A*B)
else:
    if (A-B)>=(A*B):
        print(A-B)
    else:
        print(A*B)

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
def return_sorted_string(string):
    lst=list(map(ord,list(string)))
    lst.sort()
    lst=list(map(chr,lst))
    string="".join(lst)
    return string
    



n = int(input())
strings=[input() for i in range(n)]
dic={}
for i in range(n):
    string=return_sorted_string(strings[i])
    if string in dic:
        dic[string]+=1
    else:
        dic[string]=1

count=0        

for i in dic.values():
    count += i*(i-1)/2


print(int(count))

a,b=list(map(int,input().split()))
print(max(a+b,a-b,a*b))

Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = map(int, input().split())

t = A + B
x = A * B
m = A - B

a_flg = False
b_flg = False

if A >= 0:
  a_flg = True
if B >= 0:
  b_flg = True
  
if A == 0 or B == 0:
  print(t)
if a_flg and b_flg:
  print(x)
elif a_flg == True and b_flg == False:
  print(m)

A, B = map(int, input().split())
 
t = A + B
x = A * B
m = A - B
 
map = {'t': t, 'x': x, 'm': m}

sorted_map = sorted(map.items(), key=lambda x:x[1])

ans = sorted_map[-1]
print(ans[-1])

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
a, b = map(int, input().split())
max_num = 0
for i in [a*b, a-b, a+b]:
    if i > max_num:
        max_num = i
print(max_num)

a, b = map(int, input().split())
print(max([a+b, a-b, a*b]))

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
fs= [float(f) for f in input().split()]
a,b = fs[0],fs[1]
print(max(a+b,a*b,a-b))

a,b = map(int(input().split()))
print(max(a+b,a-b,a*b))

a,b = map(int,input().split())
print(max(a+b,a-b,a*b))

Verdicts: Wrong Answer

Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
i,k=map(int,input().split())
for i in range(k-i+1,k+i):
    print(i ,end=" ")

A,B=map(int,input().split())
if A+B>=A-B and A+B>=A*B:
  print(A+B)

elif A-B>=A+B and A-B>=A*B:
  print(A-B)

else:
  print(A*B)

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = list(map(int, input().split()))
print(max([A+B],[A-B],[A*B]))


A, B = list(map(int, input().split()))
l = [A+B, A-B, A*B]
print(max(l))

Verdicts: Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
l = list(map(int,input().split))
A = l[0]
B = l[1]
print(max(A+B,A-B,A*B))

l = list(map(int,input().split()))
A = l[0]
B = l[1]
print(max(A+B,A-B,A*B))


Verdicts: Runtime Error

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = map(int, input().split)
print(max(A+B, A-B, A*B))

import numpy as np

K, X = map(int, input().split())
Ans = np.arange(X-K+1, X+K)
print(*Ans)

A, B = map(int, input().split())
print(max(A+B, A-B, A*B))

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: We have two integers: A and B.  Print the largest number among A + B, A - B, and A \times B.

Submission attempts (in order):
A, B = map(int, input().split())
print(max(a+b, a-b, a*b))

A, B = map(int, input().split())
print(max(a+b, a-b, a*b)

A, B = map(int,input().split())
print(max(A+B, A-B, A*B))

Verdicts: Runtime Error

Runtime Error

Accepted