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 15:52wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 24, 2026 02:12Kevin Heavey10.00CustomSolution Broken
Jul 24, 2026 01:00Kevin Heavey10.00CustomSolution Broken
May 18, 2026 12:50Victor Mercklé10.00CustomSolution Broken
May 18, 2026 12:39Victor Mercklé10.00CustomSolution Held
May 18, 2026 12:12Victor Mercklé10.00CustomSolution Held
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 18, 2026 12:50040,562,63428,084,0001,008,0002,113,536expected "42766894322755483 ", got "42290175002729455 "
2May 18, 2026 12:50038,465,27728,034,0001,008,0002,113,536expected "42766549120645738 ", got "42289294538664490 "
3May 18, 2026 12:50039,714,63827,925,0001,007,0002,113,536expected "42764549979662291 ", got "42287771137113717 "
4Jul 24, 2026 01:00016,891,3128,543,000016,384No answer to stdout. Died or killed?
5Jul 24, 2026 02:12036,264,23727,451,00002,113,536expected "27489338149034199 ", got "27116713934805054 "
6Jul 24, 2026 02:12037,547,38229,519,00002,113,536expected "27501944449034199 ", got "27129149380056018 "
7Jul 24, 2026 02:12036,436,96826,604,0001,011,0002,113,536expected "27479170299034199 ", got "27106683890899321 "
8May 11, 2026 15:543,27034,401,55427,149,00002,113,536
9May 11, 2026 15:543,27835,811,44927,208,00002,113,536
10May 11, 2026 15:543,28334,397,85526,238,0001,015,0002,113,536
11May 11, 2026 15:543,29334,550,95327,337,00002,113,536
12May 11, 2026 15:543,29434,853,35826,313,0001,035,0002,113,536
13May 11, 2026 15:543,29537,365,22126,329,0001,023,0002,113,536
14May 11, 2026 15:543,29935,733,09227,382,00002,113,536
15May 11, 2026 15:543,31137,098,79027,488,00002,113,536
16May 11, 2026 15:543,31436,783,87426,501,0001,010,0002,113,536