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 4, 2026 00:35Josu 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 4, 2026 00:35059,788,07847,203,0003,284,0002,113,536expected "53684996716952887 ", got "53529279972224823 "
2Jul 4, 2026 00:35059,020,11946,473,0003,249,0002,113,536expected "53686392014579196 ", got "53536983721846268 "
3Jul 4, 2026 00:35060,217,07147,571,0003,286,0002,113,536expected "53680480798789494 ", got "53528160784391030 "