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 15, 2023 20:17sliceteamsliceteamScore: 9,017Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 15, 2023 20:178,98299,334,22073,546,0001,007,0002,256,896
2Oct 15, 2023 20:178,995102,441,61573,648,0001,008,0002,396,160
3Oct 15, 2023 20:178,997107,415,94273,669,0001,009,0002,260,992
4Oct 15, 2023 20:179,00199,294,24374,711,00002,523,136
5Oct 15, 2023 20:179,010102,610,58472,788,0001,994,0002,260,992
6Oct 15, 2023 20:179,011100,911,83873,794,000997,0002,260,992
7Oct 15, 2023 20:179,012100,846,12073,802,000997,0002,383,872
8Oct 15, 2023 20:179,017103,472,79473,845,000997,0002,375,680
9Oct 15, 2023 20:179,022104,022,82672,889,0001,996,0002,260,992
10Oct 15, 2023 20:179,025101,964,74572,911,0001,997,0002,260,992
11Oct 15, 2023 20:179,026103,765,79172,915,0001,997,0002,256,896
12Oct 15, 2023 20:179,092100,931,15874,458,0001,006,0002,392,064
13Oct 15, 2023 20:179,181136,464,89676,206,41402,265,088
14Oct 15, 2023 20:179,212128,044,38276,457,82502,260,992
15Oct 15, 2023 20:179,582159,718,63579,532,99202,265,088