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 20:15Jack FrigaardJack FrigaardError
Source Code

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

Challenge History
DateChallengerCostTypeStatus
Jul 7, 2026 21:50Adam Folwarczny10.00CustomSolution Broken
Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 21:53046,597,32635,990,0001,020,0002,113,536expected "27617841214539459 ", got "158608166194558529 "
2Jul 7, 2026 21:53047,056,11636,396,0001,019,0002,113,536expected "27617841214539459 ", got "158608166194558529 "
3Jul 7, 2026 21:53046,745,72936,092,0001,019,0002,113,536expected "27617841214539459 ", got "158608166194558529 "
4Aug 2, 2025 20:154,64970,307,55537,570,0001,015,0002,519,040
5Aug 2, 2025 20:154,65169,267,13436,572,0002,031,0002,519,040
6Aug 2, 2025 20:154,65568,654,31436,604,0002,033,0002,449,408
7Aug 2, 2025 20:154,65566,388,08537,623,0001,016,0002,510,848
8Aug 2, 2025 20:154,67667,236,61036,819,0001,990,0002,510,848
9Aug 2, 2025 20:154,67869,485,29135,842,0002,986,0002,519,040
10Aug 2, 2025 20:154,67866,223,55736,838,0001,991,0002,519,040
11Aug 2, 2025 20:154,67869,745,06836,836,0001,991,0002,457,600
12Aug 2, 2025 20:154,71364,964,28836,109,0003,009,0002,441,216
13Aug 2, 2025 20:154,73259,242,95537,260,0002,014,0002,519,040
14Aug 2, 2025 20:154,73462,021,17538,288,0001,007,0002,449,408
15Aug 2, 2025 20:154,73664,639,84738,301,0001,007,0002,445,312
16Aug 2, 2025 20:154,74359,685,78837,351,0002,018,0002,445,312
17Aug 2, 2025 20:154,74958,981,96936,386,0003,032,0002,519,040
18Aug 2, 2025 20:154,75162,783,61436,397,0003,033,0002,449,408
19Aug 2, 2025 20:154,75463,638,78336,422,0003,035,0002,461,696
20Aug 2, 2025 20:154,80065,938,80036,850,0002,987,0002,293,760
21Aug 2, 2025 20:154,98165,161,00939,324,0002,016,0002,514,944