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 10, 2026 02:26Victor MerckléVictor MerckléError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Sep 5, 2026 01:01Tomislav Tunkovic10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2026 02:45052,667,39343,084,0001,026,0002,138,112expected "53673568218543274 ", got "53674334936852881 "
2Sep 5, 2026 02:45054,669,23445,020,0001,031,0002,138,112expected "53668669571371405 ", got "53669372582867766 "
3Sep 5, 2026 02:45052,035,90542,280,0001,023,0002,138,112expected "106148030171958604 ", got "106148438130640307 "
4Jun 10, 2026 02:275,25251,252,40742,565,0001,032,0002,138,112
5Jun 10, 2026 02:275,25451,258,76542,588,0001,026,0002,138,112
6Jun 10, 2026 02:275,25651,358,67442,600,0001,026,0002,138,112
7Jun 10, 2026 02:275,27151,421,85842,725,0001,028,0002,138,112
8Jun 10, 2026 02:275,27251,501,60642,734,0001,027,0002,138,112
9Jun 10, 2026 02:275,27951,522,70442,782,0001,034,0002,138,112
10Jun 10, 2026 02:275,29351,563,05242,907,0001,027,0002,138,112
11Jun 10, 2026 02:275,30352,036,82342,991,0001,026,0002,138,112
12Jun 10, 2026 02:275,31252,858,37643,071,0001,024,0002,138,112