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 27, 2026 05:40wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 16:06Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 16:06037,655,96428,613,0001,039,0002,113,536expected "74600294196621100 ", got "74535198885781120 "
2Jul 6, 2026 16:06037,280,28828,345,0001,006,0002,113,536expected "74600294196621100 ", got "74534679387512564 "
3Jul 6, 2026 16:06037,649,03028,665,0001,004,0002,113,536expected "74600294196621100 ", got "74535198153597120 "
4Apr 27, 2026 05:403,42146,143,93527,387,0001,014,0002,490,368
5Apr 27, 2026 05:403,43042,778,63027,453,0001,016,0002,478,080
6Apr 27, 2026 05:403,44641,720,58427,582,0001,021,0002,486,272
7Apr 27, 2026 05:403,45145,677,46927,627,0001,023,0002,330,624
8Apr 27, 2026 05:403,47149,710,44126,828,0001,987,0002,490,368
9Apr 27, 2026 05:403,48244,111,49226,909,0001,993,0002,478,080
10Apr 27, 2026 05:403,50347,082,43527,076,0002,005,0002,478,080
11Apr 27, 2026 05:403,60752,216,28827,946,0001,996,0002,330,624
12Apr 27, 2026 05:403,60748,343,07627,944,0001,996,0002,494,464