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 listDec 4, 2024 01:36Abilmansur YeshmuratovAbilmansur YeshmuratovScore: 357,429Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 4, 2024 01:36357,1782,995,297,5492,864,663,00099,918,0002,547,712
2Dec 4, 2024 01:36357,4293,002,509,4202,882,730,00083,933,0002,547,712
3Dec 4, 2024 01:36357,5872,998,869,2802,899,020,00068,952,0002,433,024