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 FrigaardScore: 4,732Success
Source Code

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

Challenge History

No challenges yet.

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