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 11, 2026 06:47wnwnError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 3, 2026 18:35Victor Mercklé10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 3, 2026 18:35035,412,22526,672,0001,028,0002,113,536expected "74600294196621100 ", got "74534755595117078 "
2Jul 3, 2026 18:35036,666,85327,712,0001,031,0002,113,536expected "74600294196621100 ", got "74534755146873978 "
3Jul 3, 2026 18:35035,424,07026,674,0001,002,0002,113,536expected "74600294196621100 ", got "74534753188759409 "
4May 11, 2026 06:473,28634,570,30427,274,00002,113,536
5May 11, 2026 06:473,28634,827,48727,277,00002,113,536
6May 11, 2026 06:473,31534,777,38727,522,00002,113,536
7May 11, 2026 06:473,35537,159,49727,854,00002,113,536
8May 11, 2026 06:473,37936,568,84727,024,0001,023,0002,113,536
9May 11, 2026 06:473,38135,311,29226,930,0001,140,0002,113,536
10May 11, 2026 06:473,38638,317,34828,110,00002,113,536
11May 11, 2026 06:473,43838,033,14928,538,00002,113,536
12May 11, 2026 06:473,47038,690,46028,802,00002,113,536