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 9, 2021 11:23Andrey TsvetkovAndrey TsvetkovScore: 43,551Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 9, 2021 11:2343,545425,895,244361,420,78302,232,320
2Sep 9, 2021 11:2343,550423,823,387361,465,55402,220,032
3Sep 9, 2021 11:2443,550420,504,521361,464,80202,232,320
4Sep 9, 2021 11:2443,551422,971,794361,469,42802,224,128
5Sep 9, 2021 11:2443,561421,114,982361,553,16602,224,128
6Sep 9, 2021 11:2343,563430,265,932361,570,89002,232,320