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:08Bernard TeoBernard TeoScore: 6,979Success
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:086,96781,497,48356,816,0001,014,0002,273,280
2Sep 6, 2022 18:416,96883,437,67355,839,0001,994,0002,273,280
3Sep 6, 2022 18:416,96983,425,54956,830,0001,014,0002,273,280
4Sep 6, 2022 18:416,96987,275,83855,851,0001,994,0002,273,280
5Sep 6, 2022 18:416,96984,425,22556,846,000997,0002,273,280
6Sep 6, 2022 18:416,97086,677,47955,853,0001,994,0002,273,280
7Sep 6, 2022 18:416,97083,812,93555,860,0001,995,0002,404,352
8Sep 7, 2022 14:586,97086,455,39856,856,000997,0002,506,752
9Sep 6, 2022 18:416,97087,735,70055,856,0001,994,0002,273,280
10Sep 7, 2022 14:586,97181,862,04755,863,0001,995,0002,273,280
11Sep 7, 2022 14:586,97190,679,77056,861,000997,0002,387,968
12Sep 6, 2022 18:416,97280,457,10555,874,0001,995,0002,404,352
13Sep 6, 2022 18:416,97382,997,04555,883,0001,995,0002,273,280
14Sep 7, 2022 15:086,97379,093,49655,882,0001,995,0002,404,352
15Sep 7, 2022 14:586,97383,681,95555,880,0001,995,0002,273,280
16Sep 6, 2022 18:416,97379,119,92455,884,0001,995,0002,396,160
17Sep 7, 2022 15:086,97480,546,66255,891,0001,996,0002,273,280
18Sep 6, 2022 18:416,97482,449,40856,887,000998,0002,400,256
19Sep 7, 2022 14:586,97585,907,48455,897,0001,996,0002,273,280
20Sep 7, 2022 15:086,97580,108,92056,897,000998,0002,273,280
21Sep 7, 2022 14:586,97580,907,42556,898,000998,0002,273,280
22Sep 6, 2022 18:416,97577,248,53456,892,000998,0002,273,280
23Sep 6, 2022 18:416,97681,051,78455,904,0001,996,0002,273,280
24Sep 6, 2022 18:416,97683,113,54555,901,0001,996,0002,404,352
25Sep 7, 2022 15:086,97785,891,00455,915,0001,996,0002,273,280
26Sep 7, 2022 15:086,97781,287,90255,912,0001,996,0002,273,280
27Sep 6, 2022 18:416,97878,661,36055,921,0001,997,0002,273,280
28Sep 6, 2022 18:416,97879,731,82756,921,000998,0002,273,280
29Sep 6, 2022 18:416,97878,732,44056,922,000998,0002,387,968
30Sep 6, 2022 18:416,97979,787,95856,930,000998,0002,273,280
31Sep 6, 2022 18:416,97980,385,26655,928,0001,997,0002,396,160
32Sep 7, 2022 14:586,98083,235,18256,939,000998,0002,273,280
33Sep 7, 2022 14:586,98085,811,54155,936,0001,997,0002,396,160
34Sep 6, 2022 18:416,98081,291,90055,938,0001,997,0002,396,160
35Sep 7, 2022 14:586,98179,928,02855,943,0001,997,0002,273,280
36Sep 7, 2022 14:586,98185,188,49455,945,0001,998,0002,273,280
37Sep 6, 2022 18:416,98284,703,48355,952,0001,998,0002,273,280
38Sep 7, 2022 14:586,98288,598,91756,953,000999,0002,273,280
39Sep 7, 2022 14:586,98281,849,01855,956,0001,998,0002,396,160
40Sep 7, 2022 15:086,98479,498,36055,971,0001,998,0002,404,352
41Sep 7, 2022 15:086,98482,864,78857,966,00002,400,256
42Sep 6, 2022 18:416,98579,761,14956,974,000999,0002,273,280
43Sep 6, 2022 18:416,98777,266,89755,991,0001,999,0002,273,280
44Sep 6, 2022 18:416,98882,577,75756,003,0002,000,0002,273,280
45Sep 7, 2022 15:086,98882,173,16456,003,0002,000,0002,396,160
46Sep 7, 2022 15:086,98981,457,45056,007,0002,000,0002,273,280
47Sep 7, 2022 15:086,99180,058,89557,029,0001,000,0002,396,160
48Sep 7, 2022 15:086,99287,205,71058,036,00002,273,280
49Sep 6, 2022 18:417,792124,943,48564,673,80502,277,376
50Sep 6, 2022 18:417,932118,011,41665,831,49102,281,472
51Sep 6, 2022 18:417,953135,887,73766,012,39302,273,280
52Sep 7, 2022 15:087,974147,117,80666,186,86202,281,472
53Sep 6, 2022 18:417,975122,616,57466,194,39202,256,896
54Sep 7, 2022 14:587,980127,188,99366,234,81002,285,568
55Sep 7, 2022 15:087,989120,437,52866,306,46202,252,800
56Sep 6, 2022 18:418,038133,084,59966,713,62502,269,184
57Sep 7, 2022 14:588,063138,343,16866,920,97202,277,376
58Sep 6, 2022 18:418,063144,256,17066,921,36902,277,376
59Sep 7, 2022 15:088,079143,833,11367,059,47702,269,184
60Sep 7, 2022 14:588,085140,930,72467,108,12202,281,472