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 2, 2026 04:33Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:17wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:18029,715,19420,968,0001,044,0002,117,632expected "99999999273398430 ", got "99999999950000000 "stderr
2Jul 7, 2026 05:18029,490,43521,900,00002,117,632expected "100000000060764339 ", got "99999999950000000 "stderr
3Jul 7, 2026 05:18029,592,04920,967,0001,031,0002,117,632expected "99999999253812211 ", got "99999999950000000 "stderr
4Jul 2, 2026 04:344,14742,339,88933,402,0001,026,0002,117,632stderr
5Jul 2, 2026 04:344,14942,196,59233,357,0001,081,0002,117,632stderr
6Jul 2, 2026 04:344,14942,189,66433,319,0001,123,0002,117,632stderr
7Jul 2, 2026 04:344,14942,313,64133,316,0001,122,0002,117,632stderr
8Jul 2, 2026 04:344,15142,233,99533,319,0001,136,0002,117,632stderr
9Jul 2, 2026 04:344,17342,419,46733,634,0001,005,0002,117,632stderr
10Jul 2, 2026 04:344,17642,411,03233,654,0001,010,0002,117,632stderr
11Jul 2, 2026 04:344,19342,617,48233,722,0001,086,0002,117,632stderr
12Jul 2, 2026 04:344,20942,975,01433,872,0001,068,0002,117,632stderr