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 11, 2026 16:27Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 18:19Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 18:19043,116,68332,643,0001,133,0002,113,536expected "74600294196621100 ", got "35362018765130540 "
2Jul 6, 2026 18:19040,856,45731,640,0001,123,0002,113,536expected "74600294196621100 ", got "33280272020789569 "
3Jul 6, 2026 18:19040,081,20430,884,0001,121,0002,113,536expected "74600294196621100 ", got "33279945475489988 "
4May 11, 2026 16:273,84740,893,05030,911,0001,026,0002,113,536
5May 11, 2026 16:273,86241,677,70331,051,0001,004,0002,113,536
6May 11, 2026 16:273,86741,169,08831,077,0001,021,0002,113,536
7May 11, 2026 16:273,88041,359,36731,133,0001,076,0002,113,536
8May 11, 2026 16:273,88640,452,22731,167,0001,094,0002,113,536
9May 11, 2026 16:273,88739,608,07431,215,0001,053,0002,113,536
10May 11, 2026 16:273,89541,749,60031,252,0001,079,0002,113,536
11May 11, 2026 16:273,89841,139,14431,339,0001,018,0002,113,536
12May 11, 2026 16:273,90841,834,35831,373,0001,068,0002,113,536