Problem p03250 (python)

Fixed submission:
x, y, z = map(int,input().split())

max_lines = [[x * 10 + y, z],
                 [x * 10 + z, y],
                 [y * 10 + x, z],
                 [y * 10 + z, x],
                 [z * 10 + x, y],
                 [z * 10 + y, x]]

max_point = 0
one_point = 0
for max_line in max_lines:
    if max_line[0] >= max_point:
        max_point = max_line[0]
        one_point = max_line[1]

print(max_point + one_point)

Buggy submission (verdict: Runtime Error):
x, y, z = map(int,input().split())

max_lines = [[int(x + y), int(z)],
			 [int(x + z), int(y)],
             [int(y + x), int(z)],
             [int(y + z), int(x)],
             [int(z + x), int(y)],
             [int(z + y), int(x)]]

max_point = 0
one_point = 0
for max_line in max_lines:
    if max_line[0] >= max_point:
    	max_point = max_line[0]
        one_point = max_line[1]

print(max_point + one_point)

Buggy submission (verdict: Runtime Error):
x, y, z = map(int,input().split())

max_lines = [[int(x + y), int(z)],
			 [int(x + z), int(y)],
             [int(y + x), int(z)],
             [int(y + z), int(x)],
             [int(z + x), int(y)],
             [int(z + y), int(x)]]

max_point = 0
one_point = 0
for max_line in range(max_lines):
    if max_line[0] >= max_point:
    	max_point = max_line[0]
        one_point = max_line[1]

print(max_point + one_point)

Buggy submission (verdict: Runtime Error):
x, y, z = map(int,input().split())

max_lines = [[int(x + y), int(z)],
			 [int(x + z), int(y)],
             [int(y + x), int(z)],
             [int(y + z), int(x)],
             [int(z + x), int(y)],
             [int(z + y), int(x)]]

max_point = 0
one_point = 0
for max_line in max_lines:
    if max_line[0] >= max_point:
    	max_point = max_line[0]
        one_point = max_line[1]

print(max_point + one_point)

Buggy submission (verdict: Runtime Error):
line = input().rstrip().split(' ')

max_lines = [[int(line[0] + line[1]), int(line[0])],
			 [int(line[0] + line[2]), int(line[1])],
             [int(line[1] + line[0]), int(line[2])],
             [int(line[1] + line[2]), int(line[0])],
             [int(line[2] + line[0]), int(line[1])],
             [int(line[2] + line[1]), int(line[0])]]

max_point = 0
one_point = 0
for max_line in max_lines:
    if max_line[0] >= max_point:
    	max_point = max_line[0]
        one_point = max_line[1]

print(max_point + one_point)

Buggy submission (verdict: Runtime Error):
line = input().rstrip().split(' ')

fst_point = int(line[0]) * 10 + int(line[1])
sec_point = int(line[1]) * 10 + int(line[2])

if fst_point > sec_point:
    return print(fst_point + int(line[2]))
else:
    return print(sec_point + int(line[0]))

Buggy submission (verdict: Runtime Error):
line = input().rstrip().split(' ')

fst_point = int(line[0]) * 10 + int(line[1])
sec_point = int(line[1]) * 10 + int(line[2])

if fst_point >= sec_point:
    return print(fst_point + int(line[2]))
else:
    return print(sec_point + int(line[0]))

Buggy submission (verdict: Runtime Error):
line = input().rstrip().split(' ')

fst_point = int(line[0]) * 10 + int(line[1])
sec_point = int(line[1]) * 10 + int(line[2])

if fst_point >= sec_point then:
    return print(fst_point + int(line[2]))
else:
    return print(sec_point + int(line[0]))