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 9, 2026 12:50wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 17:19Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 17:19039,036,81630,045,0001,031,0002,113,536expected "74600294196621100 ", got "74535197546477120 "
2Jul 6, 2026 17:19038,996,76830,084,0001,039,0002,113,536expected "74600294196621100 ", got "74535197584192130 "
3Jul 6, 2026 17:19039,058,24830,077,0001,009,0002,113,536expected "74600294196621100 ", got "74535198115494460 "
4May 9, 2026 12:503,41442,600,09927,243,0001,100,0002,482,176
5May 9, 2026 12:503,51946,307,47328,139,0001,076,0002,486,272
6May 9, 2026 12:503,53343,729,92728,258,0001,070,0002,486,272
7May 9, 2026 12:503,56747,041,45228,540,0001,067,0002,482,176
8May 9, 2026 12:503,57244,931,34428,604,0001,050,0002,482,176
9May 9, 2026 12:503,57942,885,43728,607,0001,099,0002,486,272
10May 9, 2026 12:503,58542,190,44728,678,0001,079,0002,486,272
11May 9, 2026 12:503,58948,968,58828,715,0001,081,0002,478,080
12May 9, 2026 12:503,59947,256,54728,790,0001,086,0002,486,272