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 listJul 7, 2026 03:32wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 03:51Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 03:51043,806,77133,294,0001,096,0002,113,536expected "45500920872920091 ", got "45382131589574204 "
2Jul 7, 2026 03:51044,106,44233,576,0001,076,0002,113,536expected "45499271241214040 ", got "45379336892246916 "
3Jul 7, 2026 03:51044,923,03433,801,0001,044,0002,113,536expected "45494353070135049 ", got "45375055723786051 "
4Jul 7, 2026 03:353,64639,702,97529,117,0001,147,0002,113,536
5Jul 7, 2026 03:353,64839,678,08729,094,0001,192,0002,113,536
6Jul 7, 2026 03:353,66039,828,20029,370,0001,011,0002,113,536
7Jul 7, 2026 03:353,66239,809,23129,219,0001,176,0002,113,536
8Jul 7, 2026 03:353,69840,254,66029,686,0001,012,0002,113,536
9Jul 7, 2026 03:353,74040,482,42329,917,0001,132,0002,113,536
10Jul 7, 2026 03:353,81141,078,65430,470,0001,163,0002,113,536
11Jul 7, 2026 03:353,83941,834,24130,707,0001,163,0002,113,536
12Jul 7, 2026 03:353,85441,389,81430,819,0001,172,0002,113,536