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 31, 2026 11:09KefelleKefelleScore: 2,067,920Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 31, 2026 11:092,063,21317,158,543,29517,057,703,00066,963,0002,293,760
2Mar 31, 2026 11:092,066,38517,186,419,28817,084,032,00066,964,0002,281,472
3Mar 31, 2026 11:092,067,14417,193,317,41817,085,323,00071,971,0002,281,472
4Mar 31, 2026 11:092,067,14617,191,544,02817,077,348,00079,964,0002,281,472
5Mar 31, 2026 11:092,067,39117,188,325,99817,099,373,00059,973,0002,281,472
6Mar 31, 2026 11:092,067,51817,196,388,88217,096,436,00063,967,0002,281,472
7Mar 31, 2026 11:092,067,55917,190,577,84617,102,766,00057,972,0002,281,472
8Mar 31, 2026 11:092,067,60917,195,693,37617,090,194,00070,963,0002,293,760
9Mar 31, 2026 11:092,067,77017,197,182,79517,102,522,00059,970,0002,293,760
10Mar 31, 2026 11:092,067,92017,195,227,86317,101,762,00061,973,0002,281,472
11Mar 31, 2026 11:092,069,10417,204,652,80717,114,589,00058,971,0002,289,664
12Mar 31, 2026 11:092,069,77417,214,103,55017,112,167,00066,961,0002,281,472
13Mar 31, 2026 11:092,070,95617,226,529,27517,127,965,00060,971,0002,281,472
14Mar 31, 2026 11:092,072,36617,234,137,77317,137,664,00062,973,0002,281,472
15Mar 31, 2026 11:092,073,90917,247,521,23617,143,473,00069,973,0002,281,472
16Mar 31, 2026 11:092,074,41217,251,491,78417,151,655,00065,967,0002,281,472
17Mar 31, 2026 11:092,160,60517,968,458,49517,879,040,00053,978,0002,281,472
18Mar 31, 2026 11:092,244,01418,658,237,39918,568,343,00056,973,0002,281,472