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 26, 2026 16:03wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:24Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:24036,011,13526,991,0001,029,0002,113,536expected "74600294196621100 ", got "74534754711170079 "
2Jul 6, 2026 15:24037,445,60828,002,0001,003,0002,113,536expected "74600294196621100 ", got "74534755619757419 "
3Jul 6, 2026 15:24039,384,60529,903,0001,040,0002,113,536expected "74600294196621100 ", got "74535198250580790 "
4Apr 26, 2026 16:053,40043,958,61327,214,0001,007,0002,490,368
5Apr 26, 2026 16:053,42942,111,59927,447,0001,016,0002,330,624
6Apr 26, 2026 16:053,43146,026,99027,467,0001,017,0002,490,368
7Apr 26, 2026 16:053,43443,608,74027,487,0001,018,0002,330,624
8Apr 26, 2026 16:053,44346,022,20227,560,0001,020,0002,330,624
9Apr 26, 2026 16:053,45046,509,74327,615,0001,022,0002,486,272
10Apr 26, 2026 16:053,50449,267,87527,082,0002,006,0002,490,368
11Apr 26, 2026 16:053,52545,031,52628,251,0001,008,0002,490,368
12Apr 26, 2026 16:053,54846,113,06029,452,00002,486,272