Parse integers Sergey Svistunov

Compute the sum of integers read from STDIN as fast as possible.

Input: 50 000 000 lines, each containing one integer in the range [0; 2147483647].

629871117
2024562523
1372689083
1021777120
2111176472

Output: The uint64 sum of all numbers, printed as a decimal string.

Note: Integer overflow is expected – use a 64-bit accumulator.

Back to listAug 16, 2026 12:02marko1597marko1597Score: 136,010Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 16, 2026 12:10132,1231,106,685,2741,089,326,0007,296,0002,117,632stderr
2Aug 16, 2026 12:10133,3121,116,612,7961,098,777,0007,717,0002,117,632stderr
3Aug 16, 2026 12:10135,1011,131,516,2451,113,815,0007,530,0002,117,632stderr
4Aug 16, 2026 12:10135,8581,137,745,6771,120,207,0007,415,0002,117,632stderr
5Aug 16, 2026 12:10136,0101,138,986,5301,121,542,0007,342,0002,117,632stderr
6Aug 16, 2026 12:10137,0461,148,433,8911,129,666,0007,823,0002,117,632stderr
7Aug 16, 2026 12:10137,4571,158,810,3661,133,480,0007,419,0002,117,632stderr
8Aug 16, 2026 12:10141,1611,181,772,4581,163,957,0007,680,0002,117,632stderr
9Aug 16, 2026 12:10142,1081,189,622,7851,171,739,0007,763,0002,117,632stderr