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 listFeb 24, 2026 21:55Mikołaj UzarskiMikołaj UzarskiError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 04:02Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 04:02053,718,33040,032,0001,198,0002,113,536expected "74600294196621100 ", got "74601000460423477 "
2Jul 7, 2026 04:024,97550,876,10740,089,0001,207,0002,113,536
3Jul 7, 2026 04:024,98351,053,63040,235,0001,131,0002,113,536
4Feb 24, 2026 21:555,10664,966,98440,359,0002,017,0002,506,752
5Feb 24, 2026 21:555,11068,159,32641,405,0001,009,0002,285,568
6Feb 24, 2026 21:555,11564,206,47840,433,0002,021,0002,285,568
7Feb 24, 2026 21:565,11570,062,99440,435,0002,021,0002,285,568
8Feb 24, 2026 21:555,11866,055,09941,472,0001,011,0002,506,752
9Feb 24, 2026 21:555,11867,472,94041,467,0001,011,0002,285,568
10Feb 24, 2026 21:555,12068,242,46340,471,0002,023,0002,502,656
11Feb 24, 2026 21:555,12265,153,65240,492,0002,024,0002,277,376
12Feb 24, 2026 21:565,12365,685,01041,506,0001,012,0002,285,568
13Feb 24, 2026 21:565,12473,381,13740,504,0002,025,0002,502,656
14Feb 24, 2026 21:565,13275,379,07841,581,0001,014,0002,502,656
15Feb 24, 2026 21:555,13477,048,14340,586,0002,029,0002,498,560
16Feb 24, 2026 21:565,13575,502,49041,606,0001,014,0002,506,752
17Feb 24, 2026 21:565,15867,746,54340,818,0001,991,0002,285,568
18Feb 24, 2026 21:555,99278,862,30746,688,0003,044,0002,514,944