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 listAug 2, 2025 16:36Jack FrigaardJack FrigaardError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
May 17, 2026 14:27M-Rochat10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2026 15:09026,200,35014,649,0001,223,0002,113,536expected "11318049299365247 ", got "107484372304868444 "
2May 17, 2026 15:09028,090,68014,701,0001,164,0002,113,536expected "11318049299365247 ", got "107484372304868444 "
3May 17, 2026 15:09026,511,81014,796,0001,195,0002,113,536expected "11318049299365247 ", got "107484372304868444 "
4Aug 2, 2025 16:364,64462,061,16636,521,0002,028,0002,519,040
5Aug 2, 2025 16:364,64759,903,01136,538,0002,029,0002,445,312
6Aug 2, 2025 16:364,65265,321,23736,581,0002,032,0002,293,760
7Aug 2, 2025 16:364,65263,463,82336,581,0002,032,0002,519,040
8Aug 2, 2025 16:364,65370,852,93136,587,0002,032,0002,519,040
9Aug 2, 2025 16:364,65667,393,01436,613,0002,034,0002,453,504
10Aug 2, 2025 16:364,66072,468,27436,640,0002,035,0002,437,120
11Aug 2, 2025 16:364,67662,094,60536,821,0001,990,0002,441,216
12Aug 2, 2025 16:364,71068,497,68436,084,0003,007,0002,437,120
13Aug 2, 2025 16:364,72869,188,22237,231,0002,012,0002,441,216
14Aug 2, 2025 16:364,73763,014,36936,295,0003,024,0002,519,040
15Aug 2, 2025 16:364,75161,903,85837,409,0002,022,0002,519,040