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 listSep 8, 2023 14:13Kevin HeaveyKevin HeaveyScore: 47,203Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 8, 2023 14:1147,166461,483,586391,477,00502,224,128
2Sep 8, 2023 14:1347,178454,141,824391,578,84502,228,224
3Sep 8, 2023 14:1147,200467,707,109391,760,64202,228,224
4Sep 8, 2023 14:1147,203473,004,824391,787,96202,256,896
5Sep 8, 2023 14:1347,246470,087,764392,143,45402,211,840
6Sep 8, 2023 14:1347,250457,034,700392,174,20302,220,032