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

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

Challenge History
DateChallengerCostTypeStatus
Jul 3, 2026 21:14Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 21:14039,697,75029,953,0001,007,0002,113,536expected "74600294196621100 ", got "74535197789279120 "
2Jul 3, 2026 21:14035,759,67326,823,0001,017,0002,113,536expected "74600294196621100 ", got "74534688225365994 "
3Jul 3, 2026 21:14035,619,91726,693,0001,017,0002,113,536expected "74600294196621100 ", got "74534753909535297 "
4May 7, 2026 10:173,37442,875,33126,968,0001,043,0002,498,560
5May 7, 2026 10:173,39345,172,36127,083,0001,083,0002,482,176
6May 7, 2026 10:173,39646,895,69827,089,0001,104,0002,490,368
7May 7, 2026 10:173,39642,991,52727,129,0001,066,0002,482,176
8May 7, 2026 10:173,40146,758,03027,165,0001,068,0002,490,368
9May 7, 2026 10:173,51342,526,38228,089,0001,076,0002,482,176
10May 7, 2026 10:173,59043,704,14028,724,0001,079,0002,494,464
11May 7, 2026 10:173,60344,919,23828,837,0001,073,0002,486,272
12May 7, 2026 10:173,61545,023,96228,929,0001,076,0002,490,368