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 21, 2022 15:22Gubin DmitryGubin DmitryScore: 113,375Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2022 15:22113,1991,006,705,925939,550,07802,211,840
2Dec 21, 2022 15:21113,2711,001,852,217940,148,33902,203,648
3Dec 21, 2022 15:21113,3331,007,324,957940,664,03502,269,184
4Dec 21, 2022 15:22113,3751,005,361,588941,008,50102,269,184
5Dec 21, 2022 15:22113,3931,026,823,324941,161,01602,269,184
6Dec 21, 2022 15:21113,395996,071,000941,178,18802,203,648