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 listJun 5, 2024 13:59zhuang zhigangzhuang zhigangScore: 157,766Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2024 13:59157,6341,364,792,1781,308,366,24602,195,456
2Jun 5, 2024 13:59157,6971,373,084,3581,308,885,39902,191,360
3Jun 5, 2024 13:59157,7151,375,858,6671,309,030,94102,199,552
4Jun 5, 2024 13:59157,7241,363,559,5611,309,110,64402,187,264
5Jun 5, 2024 13:59157,7661,375,361,1901,309,456,50702,195,456
6Jun 5, 2024 13:59157,7721,379,152,5221,309,507,22902,187,264
7Jun 5, 2024 13:59157,8541,371,113,4051,310,187,16302,187,264
8Jun 5, 2024 13:59157,9731,375,976,0751,311,178,18802,191,360
9Jun 5, 2024 13:59158,2031,383,441,0491,313,085,45802,195,456