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 7, 2026 05:16Victor MerckléVictor MerckléScore: 4,128Success
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:25wn10.00RecheckSolution Held
Jul 7, 2026 05:23wn10.00CustomSolution Held
Jul 7, 2026 05:18wn10.00CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:174,06841,856,93332,641,0001,129,0002,117,632stderr
2Jul 7, 2026 05:174,08741,989,92832,816,0001,109,0002,117,632stderr
3Jul 7, 2026 05:174,08942,004,46832,821,0001,124,0002,117,632stderr
4Jul 7, 2026 05:174,09142,013,09832,831,0001,125,0002,117,632stderr
5Jul 7, 2026 05:264,12142,304,70133,102,0001,110,0002,117,632stderr
6Jul 7, 2026 05:264,12542,279,67733,223,0001,022,0002,117,632stderr
7Jul 7, 2026 05:174,12842,423,01533,254,0001,011,0002,117,632stderr
8Jul 7, 2026 05:264,13442,423,69933,192,0001,125,0002,117,632stderr
9Jul 7, 2026 05:174,13842,351,17233,316,0001,037,0002,117,632stderr
10Jul 7, 2026 05:174,14544,363,46333,299,0001,105,0002,117,632stderr
11Jul 7, 2026 05:174,16742,693,21033,440,0001,147,0002,117,632stderr
12Jul 7, 2026 05:174,20442,949,42233,783,0001,112,0002,117,632stderr