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

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 22:58Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 22:58038,063,38128,789,0001,077,0002,113,536expected "74600294196621100 ", got "72475369744690220 "
2Jul 6, 2026 22:58037,645,43828,603,0001,139,0002,113,536expected "74600294196621100 ", got "71101450390563628 "
3Jul 6, 2026 22:58042,433,93632,703,0001,075,0002,113,536expected "74600294196621100 ", got "73974257807051820 "
4Apr 14, 2026 05:364,12754,282,33133,244,0001,007,0002,502,656
5Apr 14, 2026 05:364,13257,310,93632,282,0002,017,0002,490,368
6Apr 14, 2026 05:354,16665,029,94733,559,0001,016,0002,527,232
7Apr 14, 2026 05:364,19757,695,29132,849,0001,990,0002,498,560
8Apr 14, 2026 05:364,20255,960,28832,885,0001,993,0002,277,376
9Apr 14, 2026 05:364,23958,309,46133,170,0002,010,0002,494,464
10Apr 14, 2026 05:354,25655,803,95634,314,0001,009,0002,531,328
11Apr 14, 2026 05:354,27257,019,18334,448,0001,013,0002,535,424
12Apr 14, 2026 05:344,27564,040,15534,472,0001,013,0002,494,464
13Apr 14, 2026 05:354,28155,632,51134,519,0001,015,0002,490,368
14Apr 14, 2026 05:344,31659,561,68533,836,0001,990,0002,535,424
15Apr 14, 2026 05:354,31763,518,98734,839,000995,0002,277,376
16Apr 14, 2026 05:344,31961,942,39233,860,0001,991,0002,482,176
17Apr 14, 2026 05:364,32062,635,06833,862,0001,991,0002,277,376
18Apr 14, 2026 05:354,34556,134,95234,057,0002,003,0002,277,376