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 listAug 19, 2023 22:58sliceteamsliceteamScore: 10,602Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 19, 2023 22:5810,560119,703,56586,639,0001,007,0002,260,992
2Aug 19, 2023 22:5810,577117,324,12885,794,0001,995,0002,260,992
3Aug 19, 2023 22:5810,582113,137,85886,835,000998,0002,260,992
4Aug 19, 2023 22:5810,584119,614,95485,848,0001,996,0002,256,896
5Aug 19, 2023 22:5810,589110,961,66485,890,0001,997,0002,506,752
6Aug 19, 2023 22:5810,595114,477,34685,941,0001,998,0002,387,968
7Aug 19, 2023 22:5810,599115,665,46985,973,0001,999,0002,260,992
8Aug 19, 2023 22:5810,602119,258,91785,995,0001,999,0002,260,992
9Aug 19, 2023 22:5810,609113,240,26686,053,0002,001,0002,392,064
10Aug 19, 2023 22:5810,609109,819,26687,056,0001,000,0002,383,872
11Aug 19, 2023 22:5810,642148,048,84088,327,05702,265,088
12Aug 19, 2023 22:5810,694117,440,09586,769,0001,994,0002,392,064
13Aug 19, 2023 22:5810,707113,095,83186,869,0001,997,0002,383,872
14Aug 19, 2023 22:5810,765147,932,17289,345,95702,269,184
15Aug 19, 2023 22:5811,051150,741,55491,720,45202,265,088