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 10, 2026 16:38caandocaandoScore: 5,069Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 10, 2026 16:385,03867,507,10439,825,0001,991,0002,285,568
2Mar 10, 2026 16:385,04172,575,27339,851,0001,992,0002,285,568
3Mar 10, 2026 16:385,06366,324,21139,025,0003,001,0002,285,568
4Mar 10, 2026 16:385,06963,526,43941,068,0001,001,0002,519,040
5Mar 10, 2026 16:385,07471,579,57440,111,0002,005,0002,523,136
6Mar 10, 2026 16:385,08366,512,42540,178,0002,008,0002,523,136