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 listJun 30, 2026 10:45Adam FolwarcznyAdam FolwarcznyError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 05:28Victor Mercklé14.44CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 05:28062,310,32742,560,0002,072,0002,113,536expected "74600294196621100 ", got "61628983703287885 "
2Jul 7, 2026 05:28054,047,88042,268,0002,256,0002,113,536expected "74600294196621100 ", got "61641822943388891 "
3Jul 7, 2026 05:28053,867,51142,220,0002,053,0002,113,536expected "74600294196621100 ", got "61629369926378900 "
4Jun 30, 2026 10:455,63356,097,80644,551,0002,210,0002,113,536
5Jun 30, 2026 10:455,63656,031,39544,721,0002,062,0002,113,536
6Jun 30, 2026 10:455,67656,469,34344,873,0002,245,0002,113,536
7Jun 30, 2026 10:455,67756,502,53045,038,0002,085,0002,113,536
8Jun 30, 2026 10:455,69467,209,82645,192,0002,074,0002,117,632
9Jun 30, 2026 10:455,69856,597,89745,216,0002,080,0002,113,536
10Jun 30, 2026 10:455,72358,477,36145,415,0002,088,0002,113,536
11Jun 30, 2026 10:455,73465,441,37745,489,0002,107,0002,113,536
12Jun 30, 2026 10:455,75557,072,41045,685,0002,088,0002,113,536