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 19, 2026 04:20wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:47Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:47039,869,11030,841,0001,018,0002,113,536expected "74600294196621100 ", got "74535241223852970 "
2Jul 6, 2026 17:47038,692,78729,740,0001,010,0002,113,536expected "74600294196621100 ", got "74534439893258820 "
3Jul 6, 2026 17:47038,927,29429,900,0001,006,0002,113,536expected "74600294196621100 ", got "74534437835398060 "
4Apr 19, 2026 04:203,71659,890,59128,852,0001,989,0002,494,464
5Apr 19, 2026 04:203,72061,291,68929,844,0001,029,0002,277,376
6Apr 19, 2026 04:203,73061,337,20028,958,0001,997,0002,494,464
7Apr 19, 2026 04:203,74653,755,97529,085,0002,005,0002,269,184
8Apr 19, 2026 04:203,74956,378,12029,110,0002,007,0002,490,368
9Apr 19, 2026 04:203,78156,896,67530,374,0001,012,0002,531,328