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 listOct 23, 2025 19:03caandocaandoScore: 6,005Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 23, 2025 19:035,89172,120,40546,899,0001,995,0002,285,568
2Oct 23, 2025 19:035,90371,751,94847,999,000999,0002,285,568
3Oct 23, 2025 19:035,91269,054,62147,067,0002,002,0002,285,568
4Oct 23, 2025 19:036,00574,294,18547,848,0001,993,0002,285,568
5Oct 23, 2025 19:036,01573,841,52648,923,000998,0002,285,568
6Oct 23, 2025 19:036,02677,782,96549,013,0001,000,0002,285,568