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 listApr 10, 2026 19:27Danylo MocherniukDanylo MocherniukScore: 4,617Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 10, 2026 19:264,52662,849,81736,547,0001,015,0002,379,776
2Apr 10, 2026 19:264,52861,748,14735,555,0002,031,0002,297,856
3Apr 10, 2026 19:274,55965,520,06334,849,0002,987,0002,387,968
4Apr 10, 2026 19:264,56665,201,33135,900,0001,994,0002,392,064
5Apr 10, 2026 19:274,57164,520,73934,944,0002,995,0002,297,856
6Apr 10, 2026 19:264,58859,695,29535,073,0003,006,0002,297,856
7Apr 10, 2026 19:274,61564,407,75635,281,0003,024,0002,297,856
8Apr 10, 2026 19:264,61765,132,16136,306,0002,017,0002,297,856
9Apr 10, 2026 19:264,61962,029,13936,317,0002,017,0002,387,968
10Apr 10, 2026 19:274,80165,779,17336,858,0002,988,0002,297,856
11Apr 10, 2026 19:274,80265,965,61937,861,0001,992,0002,514,944
12Apr 10, 2026 19:264,81168,412,08336,934,0002,994,0002,297,856
13Apr 10, 2026 19:264,83363,023,14438,106,0002,005,0002,297,856
14Apr 10, 2026 19:264,86563,066,73937,352,0003,028,0002,383,872
15Apr 10, 2026 19:274,95566,638,24038,117,0003,009,0002,400,256