Cod sursa(job #2308870)

Utilizator andu23Macoveanu Andrei Gabriel andu23 Data 27 decembrie 2018 21:12:55
Problema A+B Scor 100
Compilator py Status done
Runda Arhiva de probleme Marime 0.18 kb
fin = open ("adunare.in", "r")
fout = open ("adunare.out", "w")
lines = fin.readlines()
k = 0
for line in lines:
    c = int(line)
    k = k + c
fout.write (str(k))