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 26, 2026 16:13wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:07Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:07037,113,48726,747,0001,032,0002,113,536expected "74600294196621100 ", got "74534497776992509 "
2Jul 6, 2026 16:07036,079,11727,098,0001,003,0002,113,536expected "74600294196621100 ", got "74534495005543849 "
3Jul 6, 2026 16:07035,684,06726,735,0001,023,0002,113,536expected "74600294196621100 ", got "74534494295102499 "
4Apr 26, 2026 16:133,39344,639,41327,162,0001,006,0002,330,624
5Apr 26, 2026 16:133,45750,411,68726,716,0001,979,0002,486,272
6Apr 26, 2026 16:133,46045,166,54427,701,0001,025,0002,478,080
7Apr 26, 2026 16:133,46947,039,33026,812,0001,986,0002,486,272
8Apr 26, 2026 16:133,47244,452,46126,831,0001,987,0002,326,528
9Apr 26, 2026 16:133,54047,884,28728,373,0001,013,0002,330,624
10Apr 26, 2026 16:133,57344,319,04728,642,0001,022,0002,478,080
11Apr 26, 2026 16:133,60846,439,11427,956,0001,996,0002,494,464
12Apr 26, 2026 16:133,66547,758,80129,410,0001,014,0002,486,272