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 listSep 13, 2026 23:44drewbumpasdrewbumpasError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 13, 2026 23:44011,579,2751,482,00002,121,728expected "53687209304917916 ", got "5597246472 "
2Sep 13, 2026 23:44011,612,7581,494,00002,121,728expected "53692973459192114 ", got "5216067907 "
3Sep 13, 2026 23:44011,611,7701,511,00002,121,728expected "53688359352140914 ", got "5089139281 "