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 6, 2022 18:07Bernard TeoBernard TeoScore: 7,447Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2022 18:077,39883,577,69660,397,0001,006,0002,273,280
2Sep 6, 2022 18:067,40084,551,28760,417,0001,006,0002,273,280
3Sep 6, 2022 18:067,40382,190,17960,440,0001,007,0002,510,848
4Sep 6, 2022 18:067,40388,455,18860,441,0001,007,0002,273,280
5Sep 6, 2022 18:067,40481,984,79560,449,0001,007,0002,396,160
6Sep 6, 2022 18:067,40680,153,51160,459,0001,007,0002,273,280
7Sep 6, 2022 18:077,40681,872,68160,461,0001,007,0002,273,280
8Sep 6, 2022 18:067,40888,794,34760,482,0001,008,0002,273,280
9Sep 6, 2022 18:067,40982,693,29860,485,0001,008,0002,396,160
10Sep 6, 2022 18:077,41085,260,96861,506,00002,404,352
11Sep 6, 2022 18:067,41287,522,18160,509,0001,008,0002,404,352
12Sep 6, 2022 18:077,41784,131,95561,564,00002,510,848
13Sep 6, 2022 18:067,42185,293,69661,592,00002,273,280
14Sep 6, 2022 18:077,42186,916,56761,593,00002,490,368
15Sep 6, 2022 18:067,42192,741,57361,592,00002,396,160
16Sep 6, 2022 18:067,42287,428,48661,603,00002,273,280
17Sep 6, 2022 18:067,42489,439,93361,622,00002,273,280
18Sep 6, 2022 18:067,42687,277,80160,623,0001,010,0002,273,280
19Sep 6, 2022 18:077,42791,188,91460,630,0001,010,0002,273,280
20Sep 6, 2022 18:067,42787,887,78861,640,00002,392,064
21Sep 6, 2022 18:077,42991,844,24261,662,00002,400,256
22Sep 6, 2022 18:067,44689,333,82559,808,0001,993,0002,273,280
23Sep 6, 2022 18:077,44790,862,92760,815,000996,0002,273,280
24Sep 6, 2022 18:077,44894,640,40460,820,000997,0002,404,352
25Sep 6, 2022 18:067,44890,492,95760,818,000997,0002,273,280
26Sep 6, 2022 18:067,45889,845,24559,908,0001,996,0002,273,280
27Sep 6, 2022 18:067,82687,672,49962,960,0001,998,0002,273,280
28Sep 6, 2022 18:078,200128,822,13968,056,66402,285,568
29Sep 6, 2022 18:068,254128,099,31768,512,17002,256,896
30Sep 6, 2022 18:068,364135,390,71069,421,80702,277,376
31Sep 6, 2022 18:068,409134,612,33669,791,40202,285,568
32Sep 6, 2022 18:068,410130,034,71869,802,50302,256,896
33Sep 6, 2022 18:078,412134,818,65069,822,24102,281,472
34Sep 6, 2022 18:068,418130,723,57169,865,64602,281,472
35Sep 6, 2022 18:078,432132,290,21869,986,43802,281,472
36Sep 6, 2022 18:068,444167,679,34770,083,29202,273,280
37Sep 6, 2022 18:068,606100,699,61471,433,00002,273,280
38Sep 6, 2022 18:068,60992,934,08870,450,0001,006,0002,400,256
39Sep 6, 2022 18:078,61092,721,75670,459,0001,006,0002,400,256
40Sep 6, 2022 18:068,61198,145,53070,479,000992,0002,273,280
41Sep 6, 2022 18:068,61597,789,58971,506,00002,273,280
42Sep 6, 2022 18:078,620100,548,40870,537,0001,007,0002,396,160
43Sep 6, 2022 18:068,64794,114,11070,777,000996,0002,387,968
44Sep 6, 2022 18:068,64895,652,84969,786,0001,993,0002,273,280
45Sep 6, 2022 18:078,656100,155,46270,850,000997,0002,273,280