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 10, 2026 19:07Josu San MartinJosu San MartinError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 6, 2026 18:23Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2026 18:23042,308,46932,763,0001,018,0002,113,536expected "74600294196621100 ", got "35358177826467628 "
2Jul 6, 2026 18:23041,839,06832,754,0001,020,0002,113,536expected "74600294196621100 ", got "35363911040328492 "
3Jul 6, 2026 18:23041,730,87032,554,0001,010,0002,113,536expected "74600294196621100 ", got "35358177647267628 "
4May 10, 2026 19:073,88139,835,21331,091,0001,129,0002,113,536
5May 10, 2026 19:073,88340,563,38231,115,0001,119,0002,113,536
6May 10, 2026 19:073,88441,662,04931,126,0001,114,0002,113,536
7May 10, 2026 19:073,88642,392,96231,161,0001,100,0002,113,536
8May 10, 2026 19:073,89540,587,64331,186,0001,147,0002,113,536
9May 10, 2026 19:073,90142,022,98931,250,0001,131,0002,113,536
10May 10, 2026 19:073,90240,284,45531,244,0001,146,0002,113,536
11May 10, 2026 19:073,90741,662,28631,283,0001,151,0002,113,536
12May 10, 2026 19:073,90940,055,63731,435,0001,016,0002,113,536