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 2, 2025 20:03Jack FrigaardJack FrigaardScore: 4,934Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 2, 2025 20:034,91766,322,31238,821,0001,990,0002,285,568
2Aug 2, 2025 20:034,91866,772,56137,834,0002,986,0002,285,568
3Aug 2, 2025 20:034,91873,595,56538,832,0001,991,0002,285,568
4Aug 2, 2025 20:034,91870,034,80537,832,0002,986,0002,285,568
5Aug 2, 2025 20:034,91867,051,62339,822,000995,0002,285,568
6Aug 2, 2025 20:034,91968,029,96438,834,0001,991,0002,478,080
7Aug 2, 2025 20:034,92267,736,02737,861,0002,989,0002,473,984
8Aug 2, 2025 20:034,93066,510,12737,929,0002,994,0002,285,568
9Aug 2, 2025 20:034,93263,517,80538,938,0001,996,0002,478,080
10Aug 2, 2025 20:034,93463,426,83438,957,0001,997,0002,285,568
11Aug 2, 2025 20:034,94661,372,56439,051,0002,002,0002,285,568
12Aug 2, 2025 20:034,94669,062,32438,051,0003,004,0002,285,568
13Aug 2, 2025 20:034,94762,759,15638,056,0003,004,0002,285,568
14Aug 2, 2025 20:034,94766,046,83238,058,0003,004,0002,285,568
15Aug 2, 2025 20:034,95362,566,70438,102,0003,008,0002,473,984
16Aug 2, 2025 20:034,96262,163,52839,174,0002,008,0002,285,568
17Aug 2, 2025 20:034,96967,161,88440,238,0001,005,0002,285,568
18Aug 2, 2025 20:035,01770,194,43241,640,00002,285,568