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 8, 2026 06:19caandocaandoScore: 8,393Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 8, 2026 06:197,41690,767,54360,546,0001,009,0002,285,568
2Mar 8, 2026 06:197,44484,872,37059,796,0001,993,0002,285,568
3Mar 8, 2026 06:197,47185,040,60060,010,0002,000,0002,285,568
4Mar 8, 2026 06:198,393100,251,37668,655,0001,009,0002,277,376
5Mar 8, 2026 06:198,39795,084,08667,704,0001,991,0002,285,568
6Mar 8, 2026 06:198,41094,764,23567,808,0001,994,0002,519,040