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 listMay 7, 2026 08:30wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:26Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:26037,343,04128,320,0001,031,0002,113,536expected "74600294196621100 ", got "74534749374700219 "
2Jul 6, 2026 17:26037,026,54728,019,0001,035,0002,113,536expected "74600294196621100 ", got "74534745818887548 "
3Jul 6, 2026 17:26036,300,35527,293,0001,009,0002,113,536expected "74600294196621100 ", got "74534747732408749 "
4May 7, 2026 08:313,38744,910,14027,058,0001,055,0002,486,272
5May 7, 2026 08:313,39942,658,23027,128,0001,085,0002,486,272
6May 7, 2026 08:313,41141,370,61027,252,0001,062,0002,473,984
7May 7, 2026 08:313,56846,294,09128,550,0001,072,0002,486,272
8May 7, 2026 08:313,59446,009,41428,740,0001,098,0002,494,464
9May 7, 2026 08:313,59547,036,58528,730,0001,110,0002,486,272
10May 7, 2026 08:313,59954,913,81728,738,0001,138,0002,473,984
11May 7, 2026 08:313,60646,631,57528,852,0001,086,0002,473,984
12May 7, 2026 08:313,61948,030,62928,962,0001,081,0002,494,464