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 listMar 15, 2026 02:35zielajzielajError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 19, 2024 02:1500000Error: Killed by timeoutstderr
2Mar 15, 2026 02:353,52857,940,96729,283,00002,342,912
3Mar 15, 2026 02:353,53156,141,01128,301,0001,010,0002,519,040
4Nov 19, 2024 02:163,53754,526,83529,353,00002,342,912
5Nov 19, 2024 02:163,53847,755,87029,363,00002,338,816
6Nov 19, 2024 02:163,55553,197,19729,510,00002,514,944
7Mar 15, 2026 02:353,55650,381,62329,517,00002,519,040