Problem p03076 (python)

Fixed submission:
X=[int(input()) for i in range(5)]
Y=[]
for x in X:
  Y.append(-(-x//10)*10-x)
print(sum(X)+sum(Y)-(max(Y)))

Buggy submission (verdict: Runtime Error):
X=[int(input()) for i in range(5)]
Y=[]
for i in X:
  Y.append(-(-x//10)*10)
print(sum(Y)-(max(Y-X)))

Buggy submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
S=sum(list)
Z=0
for x in list:
  y = -(-x//10)*10
  Z=(y-x, Z)
  print(S-Z)

Buggy submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=sum(list)
max=0
for x in list:
  y = -(-x//10)*10
  max=(y-x, max)
  print(sum-max)

Buggy submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=sum(list)
max=0
for x in list:
  y = -(-x//10)*10
  max=(y-x, max)
print(sum-max)

Buggy submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=0
max=0
for x in list:
  y = -(-x//10)*10
  sum+=y
  max=(y-x, max)
print(sum/max)

Buggy submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=0
max=0
for x in list:
  y = -(-x//10)*10
  sum+=y
  max=(y-x, max)
print(sum-max)

Buggy submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=0
max=0
for x in list:
  y = -(-x//10)*10
  sum+=y
  max=(y-x, max)
  print(sum-max)

Buggy submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=0
max=0
for x in list:
  y = -(-x//10)*10
  sum+=y
  max=(y-x, max)
print(int(sum-max))

Buggy submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=0
max=0
for x in list:
  y = -(-x//10)*10
  sum+=y
  max=((y-x), max)
print(sum-max)

Buggy submission (verdict: Runtime Error):
list=[int(input()) for i in range(5)]
sum=0
max=0
for x in list:
  y = -(-x//10)*10
  sum+=y
  max=(y-x, max)
print(sum-max)

Buggy submission (verdict: Runtime Error):
sum=0
max=0
list=[int(input()) for i in range(5)]
for i in list:
  x = int(input()）
  y = -(-x//10)*10
  sum+=y
  max=(y-x, max)
print(sum-max)

Buggy submission (verdict: Runtime Error):
for i in range(5):

Buggy submission (verdict: Runtime Error):
sum=0
max=0
for i in range(5):

Buggy submission (verdict: Runtime Error):
sum=0
max=0
for i in range(5):
  x = int(input()）

Buggy submission (verdict: Runtime Error):
sum=0
max=0
for i in range(5):
  x = int(input()）
  y = -(-x//10)*10

Buggy submission (verdict: Runtime Error):
sum=0
max=0
for i in range(5):
  x = int(input()）
  y = -(-x//10)*10
  sum+=y
  max=(y-x, max)
print(sum-max)

Buggy submission (verdict: Runtime Error):
sum=0
max=0
for i in range(5):
  x = int(input()）
  y = -(-x//10)

Buggy submission (verdict: Runtime Error):
sum=0
max=0
for i in range(5):
  x = int(input()）
  y = -(-x//10)
  sum+=y
  max=(y-x, max)
print(sum-max)

Buggy submission (verdict: Runtime Error):
sum=0
max=0
for i in range(5):
  x = int(input()）
  y = -(-x)//10
  sum+=y
  max=(y-x, max)
print(sum-max)

Buggy submission (verdict: Runtime Error):
sum=0
min=9
for i in range(5):
  y=int(input())
  x=y%10
  if x==0:
    sum+=y
  else:
    min=min(x, min)
    if x==min:

Buggy submission (verdict: Runtime Error):
sum=0
min=9
for i in range(5):
  y=int(input())
  x=y%10
  if x==0:
    sum+=y
  else:
    min=min(x, min)
    if x==min:
      sum+=y
    else:
      sum+=(y+10-x)
print(sum)

Buggy submission (verdict: Runtime Error):
sum=0
for i in range(5):
  y=int(input())
  x=y%10
  if x==0:
    sum+=y
  else:
    min=min(x, 9)

Buggy submission (verdict: Runtime Error):
sum=0
for i in range(5):
  y=int(input())
  x=y%10
  if x==0:
    sum+=y
  else:
    min=min(x, 9)
    if x==min:
      sum+=y
    else:
      sum+=(y+10-x)
print(sum)

Buggy submission (verdict: Runtime Error):
sum=0
for i in range(5):
  y=int(input())
  x=y%10
  if x==0:
    sum+=y
  else:
    min=min(x, 9)
    if x==min:
      sum+=y

Buggy submission (verdict: Runtime Error):
sum=0
for i in range(5):
  y=int(input())
  x=y%10
  if x==0:
    sum+=y
  else:
    min=min(x, 9)
    if x==min:
      sum+=y
    else:
      sum+=y+10-x
print(sum)

Buggy submission (verdict: Runtime Error):
min=10
sum=0
for i in range(5):
  y=int(input())
  x=y%10
  if x==0:
    sum+=y
  else:
    min=min(x, 9)
    if x==min:
      sum+=y
    else:
      sum+=y+10-x
print(sum)

Buggy submission (verdict: Runtime Error):
min=10
sum=0
for i in range(5):
  y=int(input())
  x=y%10
  min != 0
  min=min(min, x)
  if x==min:
    sum+=y
  else:
    sum+=y+10-x
print(sum)

Buggy submission (verdict: Runtime Error):
min=10
sum=0
for i in range(5):
  y=int(input())
  x=10-y%10
  min=min(min, x)
  if x==min:
    sum+=y
  else:
    sum+=y+x
print(sum)

Buggy submission (verdict: Runtime Error):
sum=0
for i in range(5):
  y=int(input())
  x=10-y%10
  min=min(10, x)
  if x==min:
    sum+=y
  else:
    sum+=y+x
print(sum)

Buggy submission (verdict: Runtime Error):
sum=0
for i in range(5):
  y=int(input())
  x=10-y%10
  min=min(min, 10)
  if x=min:
    sum+=y
  else:
    sum+=y+x
print(sum)

Buggy submission (verdict: Runtime Error):
x=10
sum=0
for i in range(5):
  y=int(input())
  x=10-y%10
  min=min(min, x)
  if x=min:
    sum+=y
  else:
    sum+=y+x
print(sum)