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 listJan 3, 2026 02:07Josu San MartinJosu San MartinScore: 5,780Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2026 02:055,43864,291,78143,127,0002,005,0002,281,472
2Jan 3, 2026 02:075,46568,369,92344,350,0001,007,0002,363,392
3Jan 3, 2026 02:055,57071,741,35645,230,0001,005,0002,293,760
4Jan 3, 2026 02:065,65380,744,52645,924,000998,0002,363,392
5Jan 3, 2026 02:055,67176,662,75845,070,0002,003,0002,359,296
6Jan 3, 2026 02:065,72972,479,89947,552,00002,371,584
7Jan 3, 2026 02:065,72975,925,08147,551,00002,289,664
8Jan 3, 2026 02:055,75874,936,10246,799,000995,0002,293,760
9Jan 3, 2026 02:055,77679,867,86146,940,000998,0002,281,472
10Jan 3, 2026 02:075,78077,493,41745,979,0001,999,0002,457,600
11Jan 3, 2026 02:075,78880,010,81046,038,0002,001,0002,285,568
12Jan 3, 2026 02:065,79077,204,91946,059,0002,002,0002,289,664
13Jan 3, 2026 02:075,79873,888,14946,122,0002,005,0002,281,472
14Jan 3, 2026 02:065,81273,206,79446,230,0002,010,0002,293,760
15Jan 3, 2026 02:055,81769,351,05847,278,0001,005,0002,289,664
16Jan 3, 2026 02:075,83372,142,96548,410,00002,514,944
17Jan 3, 2026 02:075,84982,044,99947,534,0001,011,0002,285,568
18Jan 3, 2026 02:065,88375,963,80747,831,000996,0002,514,944