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 7, 2022 15:56Bernard TeoBernard TeoScore: 6,407Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 7, 2022 15:556,39375,452,66151,059,0002,002,0002,273,280
2Sep 7, 2022 15:556,39377,648,80051,059,0002,002,0002,273,280
3Sep 7, 2022 15:566,39374,645,37751,060,0002,002,0002,400,256
4Sep 7, 2022 15:566,39376,960,80652,060,0001,001,0002,392,064
5Sep 7, 2022 15:556,39573,786,01452,074,0001,001,0002,273,280
6Sep 7, 2022 15:556,39781,510,62151,092,0002,003,0002,404,352
7Sep 7, 2022 15:556,39775,887,43252,097,0001,001,0002,404,352
8Sep 7, 2022 15:556,39874,543,59752,099,0001,001,0002,273,280
9Sep 7, 2022 15:556,40081,455,11752,117,0001,002,0002,400,256
10Sep 7, 2022 15:566,40178,008,05752,126,0001,002,0002,273,280
11Sep 7, 2022 15:556,40273,988,25951,131,0002,005,0002,273,280
12Sep 7, 2022 15:566,40277,026,58352,134,0001,002,0002,273,280
13Sep 7, 2022 15:556,40378,808,88951,141,0002,005,0002,400,256
14Sep 7, 2022 15:556,40372,324,77151,142,0002,005,0002,273,280
15Sep 7, 2022 15:556,40376,807,74752,139,0001,002,0002,273,280
16Sep 7, 2022 15:566,40375,565,43351,136,0002,005,0002,273,280
17Sep 7, 2022 15:566,40479,220,85052,152,0001,002,0002,396,160
18Sep 7, 2022 15:566,40473,546,65051,148,0002,005,0002,273,280
19Sep 7, 2022 15:556,40475,726,85152,150,0001,002,0002,273,280
20Sep 7, 2022 15:556,40575,286,08051,157,0002,006,0002,404,352
21Sep 7, 2022 15:566,40682,260,50151,166,0002,006,0002,273,280
22Sep 7, 2022 15:556,40674,062,13351,165,0002,006,0002,404,352
23Sep 7, 2022 15:556,40775,649,63151,173,0002,006,0002,273,280
24Sep 7, 2022 15:556,40776,964,49452,173,0001,003,0002,400,256
25Sep 7, 2022 15:556,40777,230,73951,175,0002,006,0002,273,280
26Sep 7, 2022 15:556,40881,052,93952,187,0001,003,0002,273,280
27Sep 7, 2022 15:566,40978,088,42752,192,0001,003,0002,273,280
28Sep 7, 2022 15:556,41074,887,22752,198,0001,003,0002,273,280
29Sep 7, 2022 15:556,41084,295,07651,198,0002,007,0002,273,280
30Sep 7, 2022 15:556,41277,761,14252,218,0001,004,0002,392,064
31Sep 7, 2022 15:566,41376,845,15251,223,0002,008,0002,396,160
32Sep 7, 2022 15:556,41575,273,44652,244,0001,004,0002,273,280
33Sep 7, 2022 15:566,42073,317,05152,285,0001,005,0002,273,280
34Sep 7, 2022 15:566,42079,404,64351,277,0002,010,0002,273,280
35Sep 7, 2022 15:556,42275,675,32652,299,0001,005,0002,273,280
36Sep 7, 2022 15:556,43174,986,01952,374,0001,007,0002,396,160
37Sep 7, 2022 15:566,587124,044,36954,671,24402,285,568
38Sep 7, 2022 15:556,588129,077,73754,681,46402,277,376
39Sep 7, 2022 15:556,590128,938,32054,700,79802,289,664
40Sep 7, 2022 15:566,593126,973,84854,721,12202,273,280
41Sep 7, 2022 15:556,594116,175,67554,729,38002,281,472
42Sep 7, 2022 15:566,597122,892,10454,753,04002,281,472
43Sep 7, 2022 15:556,597121,184,07154,756,85602,281,472
44Sep 7, 2022 15:556,600116,344,99354,780,68502,281,472
45Sep 7, 2022 15:556,611123,952,10854,869,68402,281,472