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 listApr 27, 2026 04:58wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:54Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:54036,199,61727,170,0001,033,0002,113,536expected "74600294196621100 ", got "74534753698584408 "
2Jul 6, 2026 15:54038,820,09929,847,0001,003,0002,113,536expected "74600294196621100 ", got "74535208348909380 "
3Jul 6, 2026 15:54037,354,20428,335,0001,023,0002,113,536expected "74600294196621100 ", got "74534750636013548 "
4Apr 27, 2026 04:593,39742,386,91826,182,0002,014,0002,486,272
5Apr 27, 2026 04:593,40046,947,22627,217,0001,008,0002,486,272
6Apr 27, 2026 04:593,44348,346,90627,560,0001,020,0002,482,176
7Apr 27, 2026 04:593,44945,131,07127,612,0001,022,0002,478,080
8Apr 27, 2026 04:593,46340,919,53227,719,0001,026,0002,494,464
9Apr 27, 2026 04:593,57651,157,56929,687,00002,330,624
10Apr 27, 2026 04:593,58647,196,68127,782,0001,984,0002,486,272
11Apr 27, 2026 04:593,62949,606,66130,124,00002,490,368
12Apr 27, 2026 04:593,67046,302,77529,450,0001,015,0002,478,080