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 listJun 30, 2026 09:21Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:16wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:16031,184,11820,970,0001,036,0002,117,632expected "99999999752353173 ", got "99999999950000000 "stderr
2Jul 7, 2026 05:16029,607,72120,962,0001,018,0002,117,632expected "99999999915432469 ", got "99999999950000000 "stderr
3Jul 7, 2026 05:16029,451,38121,864,00002,117,632expected "99999998177785005 ", got "99999999950000000 "stderr
4Jun 30, 2026 09:224,13142,087,36333,185,0001,107,0002,117,632stderr
5Jun 30, 2026 09:224,13542,136,15033,213,0001,108,0002,117,632stderr
6Jun 30, 2026 09:224,14142,265,07433,282,0001,095,0002,117,632stderr
7Jun 30, 2026 09:224,14242,136,25033,298,0001,085,0002,117,632stderr
8Jun 30, 2026 09:224,15142,257,38733,344,0001,113,0002,117,632stderr
9Jun 30, 2026 09:224,15642,355,13133,390,0001,109,0002,117,632stderr
10Jun 30, 2026 09:224,16042,439,87933,429,0001,104,0002,117,632stderr
11Jun 30, 2026 09:224,18142,569,14933,604,0001,105,0002,117,632stderr
12Jun 30, 2026 09:224,30943,555,05234,709,0001,059,0002,117,632stderr