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 7, 2026 10:46wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 15:39Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 15:39037,199,90928,398,0001,029,0002,113,536expected "74600294196621100 ", got "74534751722621409 "
2Jul 6, 2026 15:39036,037,92327,132,0001,004,0002,113,536expected "74600294196621100 ", got "74534684156894073 "
3Jul 6, 2026 15:39037,341,15128,436,0001,015,0002,113,536expected "74600294196621100 ", got "74535199896046810 "
4May 7, 2026 10:473,43345,592,49527,428,0001,067,0002,486,272
5May 7, 2026 10:473,43643,546,84727,455,0001,066,0002,490,368
6May 7, 2026 10:473,44043,652,03527,473,0001,080,0002,494,464
7May 7, 2026 10:473,45045,843,26427,576,0001,065,0002,482,176
8May 7, 2026 10:473,45245,281,40927,600,0001,055,0002,486,272
9May 7, 2026 10:473,45742,590,68527,637,0001,061,0002,478,080
10May 7, 2026 10:473,45747,026,04327,598,0001,098,0002,330,624
11May 7, 2026 10:473,46444,996,05327,669,0001,090,0002,494,464
12May 7, 2026 10:473,46643,866,91127,701,0001,068,0002,498,560