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 14, 2026 05:26wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 20:38Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 20:39037,391,73428,403,0001,084,0002,113,536expected "74600294196621100 ", got "72476720017637164 "
2Jul 6, 2026 20:39038,420,01929,520,0001,073,0002,113,536expected "74600294196621100 ", got "72385527547112492 "
3Jul 6, 2026 20:39040,388,93231,504,0001,074,0002,113,536expected "74600294196621100 ", got "73675985472417836 "
4Apr 14, 2026 05:254,07563,229,46031,837,0001,989,0002,490,368
5Apr 14, 2026 05:244,07757,185,84332,812,0001,025,0002,277,376
6Apr 14, 2026 05:254,08559,664,63131,911,0001,994,0002,494,464
7Apr 14, 2026 05:264,09555,598,91531,989,0001,999,0002,490,368
8Apr 14, 2026 05:254,11359,477,59032,132,0002,008,0002,494,464
9Apr 14, 2026 05:244,11557,920,92832,149,0002,009,0002,277,376
10Apr 14, 2026 05:254,12258,251,17832,199,0002,012,0002,490,368
11Apr 14, 2026 05:244,15562,237,24833,470,0001,014,0002,277,376
12Apr 14, 2026 05:244,19562,641,00032,827,0001,989,0002,490,368
13Apr 14, 2026 05:244,25954,035,99734,341,0001,010,0002,531,328
14Apr 14, 2026 05:254,26061,976,63734,350,0001,010,0002,486,272
15Apr 14, 2026 05:264,26857,682,73534,412,0001,012,0002,498,560
16Apr 14, 2026 05:254,27758,626,47234,481,0001,014,0002,277,376
17Apr 14, 2026 05:244,27759,186,52234,484,0001,014,0002,486,272
18Apr 14, 2026 05:264,28058,177,84234,513,0001,015,0002,277,376