Cod sursa(job #308607)
Utilizator | Data | 27 aprilie 2009 22:07:34 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | fpc | Status | done |
Runda | tot | Marime | 0.21 kb |
Program P1;
var a,b,c : longint;
f : text;
begin
assign(f,'adunare.in');
reset(f);
readln(f,a);
readln(f,b);
close(f);
c:=a+b;
assign(f,'adunare.out');
rewrite(f);
writeln(f,c);
close(f);
end.