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 listJul 3, 2026 19:21Josu San MartinJosu San MartinError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 19:21086,265,33968,150,0006,697,0002,121,728expected "53690226156398569 ", got "53690226156396009 "
2Jul 3, 2026 19:21084,616,26268,413,0006,816,0002,121,728expected "53690012615008086 ", got "53690012589100886 "
3Jul 3, 2026 19:219,05984,664,24168,479,0006,718,0002,121,728