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 11:12Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:14wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:14029,577,94321,873,00002,117,632expected "99999998793709878 ", got "99999999950000000 "stderr
2Jul 7, 2026 05:14029,494,70820,928,0001,020,0002,117,632expected "99999999340335342 ", got "99999999950000000 "stderr
3Jul 7, 2026 05:14029,976,56720,954,0001,008,0002,117,632expected "99999998057778661 ", got "99999999950000000 "stderr
4Jul 2, 2026 11:144,08741,671,90332,826,0001,101,0002,117,632stderr
5Jul 2, 2026 11:144,10441,801,54333,031,0001,034,0002,117,632stderr
6Jul 2, 2026 11:144,10941,790,06233,076,0001,034,0002,117,632stderr
7Jul 2, 2026 11:144,11441,836,99433,114,0001,036,0002,117,632stderr
8Jul 2, 2026 11:144,12041,903,11733,183,0001,016,0002,117,632stderr
9Jul 2, 2026 11:144,12241,924,04233,184,0001,034,0002,117,632stderr
10Jul 2, 2026 11:144,12842,090,01733,227,0001,043,0002,117,632stderr
11Jul 2, 2026 11:144,12841,980,82933,242,0001,024,0002,117,632stderr
12Jul 2, 2026 11:144,14442,209,19533,353,0001,047,0002,117,632stderr