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 10, 2026 04:14Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 00:30Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 00:30045,395,90136,145,0001,137,0002,113,536expected "74600294196621100 ", got "35436197302128940 "
2Jul 7, 2026 00:30045,290,82236,087,0001,104,0002,113,536expected "74600294196621100 ", got "35430219702128940 "
3Jul 7, 2026 00:30043,738,93534,588,0001,044,0002,113,536expected "74600294196621100 ", got "32667677605282092 "
4May 10, 2026 04:144,33052,309,09234,854,0001,092,0002,547,712
5May 10, 2026 04:144,33751,756,94934,877,0001,122,0002,547,712
6May 10, 2026 04:144,33951,869,24934,867,0001,147,0002,560,000
7May 10, 2026 04:144,36152,077,44835,164,0001,035,0002,551,808
8May 10, 2026 04:144,36854,436,06835,206,0001,053,0002,551,808
9May 10, 2026 04:144,36951,738,49235,224,0001,045,0002,555,904
10May 10, 2026 04:144,38354,763,86335,273,0001,107,0002,555,904
11May 10, 2026 04:144,41555,312,51435,591,0001,056,0002,547,712
12May 10, 2026 04:144,69654,694,92937,945,0001,033,0002,543,616