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 17:59Andrija ZarićAndrija ZarićScore: 72,245Success
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 17:5972,010625,501,945595,688,0001,998,0002,351,104
2Aug 13, 2025 17:5972,073624,469,490597,206,0001,000,0002,367,488
3Aug 13, 2025 17:5972,128624,526,636596,661,0001,998,0002,359,296
4Aug 13, 2025 17:5972,245627,320,691597,636,0001,998,0002,285,568
5Aug 13, 2025 17:5972,261626,736,608599,766,00002,281,472
6Aug 13, 2025 17:59129,7961,108,292,9361,075,307,0001,998,0002,285,568