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 listOct 7, 2023 21:59Serge SmirnovSerge SmirnovScore: 44,428Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2023 21:5944,404429,598,719368,552,29002,285,568
2Oct 7, 2023 21:5944,404432,107,405368,556,92702,260,992
3Oct 7, 2023 22:0044,422428,239,101368,700,69202,281,472
4Oct 7, 2023 22:0044,424438,983,527368,716,11802,297,856
5Oct 7, 2023 21:5944,428426,833,491368,754,34502,301,952
6Oct 7, 2023 21:5944,429426,954,990368,757,02302,285,568
7Oct 7, 2023 21:5944,434432,827,899368,801,24502,281,472
8Oct 7, 2023 22:0044,441436,680,893368,863,09602,289,664
9Oct 7, 2023 21:5944,453426,615,471368,957,38802,293,760