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 listMay 7, 2026 10:37wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 3, 2026 18:49Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 18:49037,129,61228,166,0001,028,0002,113,536expected "74600294196621100 ", got "74535198436288790 "
2Jul 3, 2026 18:49035,798,16726,921,0001,011,0002,113,536expected "74600294196621100 ", got "74534897613093570 "
3Jul 3, 2026 18:49038,423,72529,444,0001,034,0002,113,536expected "74600294196621100 ", got "74535198318792130 "
4May 7, 2026 10:383,36042,766,28526,828,0001,066,0002,494,464
5May 7, 2026 10:383,37345,698,04826,936,0001,063,0002,482,176
6May 7, 2026 10:383,37843,607,64226,978,0001,060,0002,482,176
7May 7, 2026 10:383,38342,824,17027,013,0001,070,0002,482,176
8May 7, 2026 10:383,38643,344,96127,033,0001,077,0002,486,272
9May 7, 2026 10:383,39943,103,70227,153,0001,064,0002,486,272
10May 7, 2026 10:383,41044,272,22627,236,0001,071,0002,498,560
11May 7, 2026 10:383,54944,860,17628,347,0001,111,0002,473,984
12May 7, 2026 10:383,55744,992,49728,433,0001,092,0002,486,272