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 listJan 31, 2026 11:49olliecrowolliecrowScore: 6,725Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 31, 2026 11:496,40182,556,78551,125,0002,004,0002,392,064
2Jan 31, 2026 11:496,41779,814,58751,250,0002,009,0002,412,544
3Jan 31, 2026 11:496,43777,703,14951,412,0002,016,0002,392,064
4Jan 31, 2026 11:496,72580,348,03754,806,0001,014,0002,519,040
5Jan 31, 2026 11:496,80081,192,34654,427,0002,015,0002,506,752
6Jan 31, 2026 11:496,80183,148,98452,418,0004,032,0002,416,640