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 11, 2026 20:08Daniel MastalerzDaniel MastalerzScore: 5,520Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 11, 2026 20:065,38769,028,59242,680,0002,032,0002,420,736
2Mar 11, 2026 20:065,40171,415,61441,842,0002,988,0002,285,568
3Mar 11, 2026 20:055,40569,977,19641,873,0002,990,0002,285,568
4Mar 11, 2026 20:065,41870,504,35041,974,0002,998,0002,285,568
5Mar 11, 2026 20:055,41970,459,43641,980,0002,998,0002,285,568
6Mar 11, 2026 20:055,46367,973,35842,319,0003,022,0002,420,736
7Mar 11, 2026 20:065,50169,361,33444,644,0001,014,0002,412,544
8Mar 11, 2026 20:065,50273,344,17944,651,0001,014,0002,285,568
9Mar 11, 2026 20:055,50967,876,21443,739,0001,988,0002,416,640
10Mar 11, 2026 20:055,52075,702,06242,828,0002,988,0002,412,544
11Mar 11, 2026 20:055,52974,496,79042,901,0002,993,0002,412,544
12Mar 11, 2026 20:065,57877,561,31843,281,0003,019,0002,285,568
13Mar 11, 2026 20:088,55495,647,32468,002,0003,000,0002,523,136
14Mar 11, 2026 20:088,65596,142,44268,845,0002,993,0002,502,656
15Mar 11, 2026 20:088,69295,381,75669,135,0003,005,0002,510,848
16Mar 11, 2026 20:088,894102,537,87170,829,0002,992,0002,433,024
17Mar 11, 2026 20:088,906100,735,37970,920,0002,996,0002,519,040
18Mar 11, 2026 20:089,709110,431,56977,564,0003,022,0002,519,040