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:17wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 22:07Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 22:08040,240,53131,340,0001,054,0002,113,536expected "74600294196621100 ", got "68033752730699308 "
2Jul 6, 2026 22:08039,512,47230,431,0001,075,0002,113,536expected "74600294196621100 ", got "72385535145237036 "
3Jul 6, 2026 22:08041,665,41732,513,0001,106,0002,113,536expected "74600294196621100 ", got "74096231519487276 "
4Apr 14, 2026 05:184,10656,801,81932,072,0002,004,0002,277,376
5Apr 14, 2026 05:184,11261,234,65332,121,0002,007,0002,498,560
6Apr 14, 2026 05:184,17159,690,46733,600,0001,018,0002,535,424
7Apr 14, 2026 05:184,23056,673,37933,100,0002,006,0002,277,376
8Apr 14, 2026 05:174,23953,232,55133,177,0002,010,0002,535,424
9Apr 14, 2026 05:174,24059,792,56333,183,0002,011,0002,277,376
10Apr 14, 2026 05:184,24458,274,32933,216,0002,013,0002,494,464
11Apr 14, 2026 05:174,24658,756,72433,228,0002,013,0002,494,464
12Apr 14, 2026 05:184,25860,588,81834,329,0001,009,0002,277,376
13Apr 14, 2026 05:184,27558,748,58534,470,0001,013,0002,277,376
14Apr 14, 2026 05:174,29357,851,21134,611,0001,017,0002,277,376
15Apr 14, 2026 05:184,29965,707,40034,659,0001,019,0002,277,376
16Apr 14, 2026 05:184,29959,917,79134,661,0001,019,0002,490,368
17Apr 14, 2026 05:174,31763,405,22133,844,0001,990,0002,277,376
18Apr 14, 2026 05:174,31764,157,98333,843,0001,990,0002,494,464