repo.or.cz
/
and.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding some more judges, here and there.
[and.git]
/
NEERC
/
xtra
/
xtra_as.dpr
blob
747bb3b113194e8e9c4700d3d62181bb94052174
1
var
\r
2
sum: int64;
\r
3
x: longint;
\r
4
begin
\r
5
sum := 0;
\r
6
while true do begin
\r
7
readln(x);
\r
8
if x = 0 then break;
\r
9
sum := sum + x;
\r
10
writeln(sum);
\r
11
flush(output);
\r
12
end;
\r
13
end.