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 listAug 13, 2025 13:05Andrija ZarićAndrija ZarićScore: 402,910Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2025 13:05402,3943,369,758,2413,271,918,00067,956,0002,281,472
2Aug 13, 2025 13:05402,9103,375,690,3023,271,194,00072,959,0002,285,568
3Aug 13, 2025 13:05414,3323,465,511,9413,382,990,00055,966,0002,359,296