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 listMar 27, 2026 14:04Sergey SerebryakovSergey SerebryakovError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
May 17, 2026 14:27M-Rochat10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2026 15:20071,041,22160,207,0001,110,0002,121,728expected "11318049299365247 ", got "11318049188447103 "stderr
2May 17, 2026 15:20072,910,03160,079,0001,071,0002,117,632expected "11318049299365247 ", got "11318049188447103 "stderr
3May 17, 2026 15:20070,544,80660,028,0001,070,0002,121,728expected "11318049299365247 ", got "11318049188447103 "stderr
4Mar 27, 2026 14:046,55084,112,46553,362,0001,006,0002,400,256
5Mar 27, 2026 14:046,55775,819,94254,422,00002,396,160
6Mar 27, 2026 14:046,56076,696,51753,436,0001,008,0002,277,376
7Mar 27, 2026 14:046,56076,972,58353,436,0001,008,0002,277,376
8Mar 27, 2026 14:046,56078,657,87253,437,0001,008,0002,277,376
9Mar 27, 2026 14:046,56080,402,18454,452,00002,277,376
10Mar 27, 2026 14:046,56183,179,76054,453,00002,392,064
11Mar 27, 2026 14:046,56383,038,42954,472,00002,277,376
12Mar 27, 2026 14:046,56477,865,28854,480,00002,396,160