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 listApr 26, 2026 15:40wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:36Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:36038,579,84229,756,0001,009,0002,113,536expected "74600294196621100 ", got "74535192845655840 "
2Jul 6, 2026 17:36038,702,36129,649,0001,008,0002,113,536expected "74600294196621100 ", got "74525985764466254 "
3Jul 6, 2026 17:36037,474,26428,045,0001,034,0002,113,536expected "74600294196621100 ", got "74534753114195379 "
4Apr 26, 2026 15:403,44446,959,12827,567,0001,021,0002,486,272
5Apr 26, 2026 15:403,45642,248,70827,662,0001,024,0002,560,000
6Apr 26, 2026 15:403,53445,088,27528,322,0001,011,0002,482,176
7Apr 26, 2026 15:403,58346,040,23827,761,0001,982,0002,490,368
8Apr 26, 2026 15:403,65348,596,37629,312,0001,010,0002,490,368
9Apr 26, 2026 15:403,76246,759,81230,222,0001,007,0002,490,368
10Apr 26, 2026 15:403,83250,208,63529,819,0001,987,0002,314,240
11Apr 26, 2026 15:403,88147,298,06031,212,0001,006,0002,494,464
12Apr 26, 2026 15:404,27150,063,52831,399,0004,051,0002,297,856