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 27, 2026 10:49Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:07wn10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:09038,193,25526,840,0001,065,0002,138,112expected "100000000009039357 ", got "99999999950000000 "
2Jul 7, 2026 05:09037,721,76426,839,0001,179,0002,138,112expected "99999999488393987 ", got "99999999950000000 "
3Jul 7, 2026 05:09037,874,17726,694,0001,079,0002,138,112expected "99999999739096929 ", got "99999999950000000 "
4Jun 27, 2026 10:514,41744,430,39935,621,0001,042,0002,138,112
5Jun 27, 2026 10:514,41846,625,81435,616,0001,061,0002,138,112
6Jun 27, 2026 10:514,42946,661,30735,710,0001,054,0002,138,112
7Jun 27, 2026 10:514,43246,410,05035,752,0001,036,0002,138,112
8Jun 27, 2026 10:514,43246,033,57935,749,0001,041,0002,138,112
9Jun 27, 2026 10:514,43946,033,44535,812,0001,038,0002,138,112
10Jun 27, 2026 10:514,44046,391,86735,802,0001,054,0002,138,112
11Jun 27, 2026 10:514,44946,653,52935,871,0001,060,0002,138,112
12Jun 27, 2026 10:514,46446,700,24735,984,0001,069,0002,138,112