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 10:08Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:12wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:12029,601,33020,961,0001,009,0002,117,632expected "99999999895083306 ", got "99999999950000000 "stderr
2Jul 7, 2026 05:12029,621,34120,937,0001,007,0002,117,632expected "99999998047405469 ", got "99999999950000000 "stderr
3Jul 7, 2026 05:12029,505,58321,854,00002,117,632expected "99999998631674735 ", got "99999999950000000 "stderr
4Jul 2, 2026 10:094,06441,947,74432,638,0001,099,0002,117,632stderr
5Jul 2, 2026 10:094,06941,664,63932,640,0001,133,0002,117,632stderr
6Jul 2, 2026 10:094,09141,754,66932,927,0001,033,0002,117,632stderr
7Jul 2, 2026 10:094,10341,801,99332,944,0001,116,0002,117,632stderr
8Jul 2, 2026 10:094,10841,903,42333,006,0001,093,0002,117,632stderr
9Jul 2, 2026 10:094,11642,024,45833,083,0001,082,0002,117,632stderr
10Jul 2, 2026 10:094,11742,092,22233,136,0001,042,0002,117,632stderr
11Jul 2, 2026 10:094,12242,420,62733,116,0001,101,0002,117,632stderr
12Jul 2, 2026 10:094,13243,511,53233,247,0001,053,0002,117,632stderr