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 27, 2026 08:58limanjun99limanjun99Score: 11,479Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 27, 2026 09:2511,351116,294,25292,212,0002,004,0002,367,488
2Mar 27, 2026 09:2511,388118,804,95693,514,0001,005,0002,527,232
3Mar 27, 2026 09:2511,433124,043,26392,898,0001,997,0002,269,184
4Mar 27, 2026 08:5811,479116,989,96593,267,0002,005,0002,523,136
5Mar 27, 2026 08:5811,483116,247,13993,303,0002,006,0002,285,568
6Mar 27, 2026 08:5811,593119,600,26894,220,0002,004,0002,523,136