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 4, 2023 04:07matsuoka-601matsuoka-601Score: 7,888Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 4, 2023 04:077,56689,062,56661,801,000996,0002,486,272
2Dec 4, 2023 04:077,63986,713,63563,401,00002,297,856
3Dec 4, 2023 04:077,77490,837,02163,513,0001,008,0002,486,272
4Dec 4, 2023 04:077,78992,874,30363,637,0001,010,0002,494,464
5Dec 4, 2023 04:077,84388,742,16663,098,0002,003,0002,523,136
6Dec 4, 2023 04:077,85393,381,12163,177,0002,005,0002,519,040
7Dec 4, 2023 04:077,85789,489,91463,205,0002,006,0002,486,272
8Dec 4, 2023 04:077,88887,712,32064,467,0001,007,0002,514,944
9Dec 4, 2023 04:077,94788,842,30063,958,0001,998,0002,494,464
10Dec 4, 2023 04:078,02499,121,44565,594,0001,009,0002,523,136
11Dec 4, 2023 04:078,05788,802,96864,880,0001,996,0002,486,272
12Dec 4, 2023 04:078,069146,136,02066,968,68802,232,320
13Dec 4, 2023 04:078,115130,185,27167,350,46502,248,704
14Dec 4, 2023 04:078,20691,978,81966,107,0002,003,0002,478,080
15Dec 4, 2023 04:078,467127,678,61870,278,01502,240,512