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 22, 2026 05:16wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:14Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:15035,420,75826,498,0001,020,0002,113,536expected "74600294196621100 ", got "74924955998902128 "
2Jul 6, 2026 17:15037,160,54028,184,0001,036,0002,113,536expected "74600294196621100 ", got "74593899376204467 "
3Jul 6, 2026 17:15037,100,26428,318,0001,011,0002,113,536expected "74600294196621100 ", got "74594626111234387 "
4Apr 22, 2026 05:173,53945,331,08528,366,0001,013,0002,490,368
5Apr 22, 2026 05:173,54545,577,16828,415,0001,014,0002,490,368
6Apr 22, 2026 05:173,55145,002,67428,458,0001,016,0002,486,272
7Apr 22, 2026 05:173,56842,311,58128,601,0001,021,0002,494,464
8Apr 22, 2026 05:173,56846,683,98328,601,0001,021,0002,482,176
9Apr 22, 2026 05:173,58545,953,27427,777,0001,984,0002,330,624
10Apr 22, 2026 05:173,59144,688,56527,824,0001,987,0002,330,624
11Apr 22, 2026 05:173,69645,930,61929,656,0001,022,0002,551,808
12Apr 22, 2026 05:173,73643,565,74329,011,0002,000,0002,490,368