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 18, 2026 02:49Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 04:31Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 04:32052,823,46342,093,0001,016,0002,113,536expected "74600294196621100 ", got "8731517020253996 "
2Jul 7, 2026 04:32052,770,01942,106,0001,014,0002,113,536expected "74600294196621100 ", got "8731517020253996 "
3Jul 7, 2026 04:32053,689,74842,449,0001,017,0002,113,536expected "74600294196621100 ", got "8731517020253996 "
4Mar 18, 2026 02:495,26073,617,24042,644,0001,015,0002,289,664
5Mar 18, 2026 02:495,26069,487,28441,630,0002,030,0002,285,568
6Mar 18, 2026 02:495,27869,953,30041,819,0001,991,0002,285,568
7Mar 18, 2026 02:495,27973,221,09840,827,0002,987,0002,301,952
8Mar 18, 2026 02:495,28372,476,32642,853,000996,0002,293,760
9Mar 18, 2026 02:495,30678,892,35642,036,0002,001,0002,297,856
10Mar 18, 2026 02:495,33672,310,36542,275,0002,013,0002,293,760
11Mar 18, 2026 02:495,43871,325,15243,132,0002,006,0002,285,568
12Mar 18, 2026 02:495,48869,043,63042,513,0003,036,0002,285,568