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 listMar 16, 2026 13:26Eric CeglieEric CeglieScore: 8,866Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 16, 2026 13:268,80697,794,36971,085,0002,002,0002,506,752
2Mar 16, 2026 13:268,80994,179,97170,112,0003,004,0002,498,560
3Mar 16, 2026 13:268,81396,211,61170,143,0003,006,0002,289,664
4Mar 16, 2026 13:268,81494,227,84870,154,0003,006,0002,506,752
5Mar 16, 2026 13:268,820105,299,92971,204,0002,005,0002,289,664
6Mar 16, 2026 13:268,82894,239,67770,262,0003,011,0002,363,392
7Mar 16, 2026 13:268,84096,826,61470,361,0003,015,0002,498,560
8Mar 16, 2026 13:268,866100,439,48472,577,0001,008,0002,318,336
9Mar 16, 2026 13:268,90196,145,22170,887,0002,995,0002,502,656
10Mar 16, 2026 13:268,92399,647,97471,055,0003,002,0002,498,560
11Mar 16, 2026 13:268,92795,907,92671,088,0003,003,0002,289,664
12Mar 16, 2026 13:268,92897,992,15971,102,0003,004,0002,289,664
13Mar 16, 2026 13:268,93299,357,47871,134,0003,005,0002,289,664
14Mar 16, 2026 13:268,942104,097,30471,210,0003,008,0002,289,664
15Mar 16, 2026 13:269,01499,570,45171,828,0002,992,0002,490,368