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 listDec 15, 2023 13:31matsuoka-601matsuoka-601Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 15, 2023 14:0600000Error: expected "53681753326145027 ", got "53681750766145027 "stderr
2Dec 15, 2023 13:366,78982,246,28054,339,0002,012,0002,523,136
3Dec 15, 2023 13:366,84282,994,55456,788,00002,404,352
4Dec 15, 2023 13:366,84386,926,22854,807,0001,992,0002,404,352
5Dec 15, 2023 13:366,85584,607,20655,897,000998,0002,404,352
6Dec 15, 2023 13:316,880122,282,31257,099,93002,277,376
7Dec 15, 2023 13:536,882116,691,58457,118,32702,289,664
8Dec 16, 2023 09:546,893116,569,02957,214,66302,281,472
9Dec 15, 2023 13:396,893119,917,94757,208,81602,285,568
10Dec 15, 2023 13:396,895138,036,46057,224,61902,281,472
11Dec 15, 2023 13:316,901117,982,17457,279,89802,277,376
12Dec 15, 2023 13:366,90181,355,90455,266,0002,009,0002,523,136
13Dec 16, 2023 09:546,903139,946,78357,295,13402,285,568
14Dec 15, 2023 13:376,906119,777,03657,316,44902,285,568
15Dec 15, 2023 13:536,918109,846,10257,422,06902,269,184
16Dec 15, 2023 13:536,920126,910,20957,433,36402,273,280
17Dec 15, 2023 13:366,92479,592,01656,464,0001,008,0002,523,136
18Dec 15, 2023 14:126,925141,547,27557,474,96102,281,472
19Dec 15, 2023 13:376,929124,173,08657,508,98102,228,224
20Dec 15, 2023 14:176,929108,857,12757,514,76302,277,376
21Dec 15, 2023 13:536,931129,766,27257,524,66802,277,376
22Dec 15, 2023 14:066,939120,624,96957,597,73102,281,472
23Dec 16, 2023 09:516,940111,053,99857,599,79202,289,664
24Dec 15, 2023 13:366,94589,236,52656,630,0001,011,0002,523,136
25Dec 15, 2023 14:126,961120,478,98157,773,43102,273,280
26Dec 16, 2023 09:516,967115,827,56657,822,80902,232,320
27Dec 15, 2023 13:316,975118,364,56757,893,77702,285,568
28Dec 15, 2023 13:536,984108,978,50357,965,33202,285,568
29Dec 15, 2023 14:176,990128,521,45358,020,75202,297,856
30Dec 15, 2023 14:126,991118,747,51958,025,84002,277,376
31Dec 15, 2023 13:397,007135,150,31858,157,92102,277,376
32Dec 15, 2023 13:527,011111,980,30758,193,45702,273,280
33Dec 15, 2023 13:367,027132,968,45258,327,28002,285,568
34Dec 15, 2023 13:537,027131,177,36058,323,54202,277,376
35Dec 15, 2023 13:527,040121,206,36958,431,04502,232,320
36Dec 15, 2023 13:377,054135,110,89758,551,26202,281,472
37Dec 15, 2023 13:527,056124,377,33158,568,81402,285,568
38Dec 16, 2023 09:547,058111,952,68158,579,50402,273,280
39Dec 16, 2023 09:517,068117,008,91058,663,92502,277,376
40Dec 15, 2023 14:067,069123,099,28458,669,62302,281,472
41Dec 15, 2023 14:177,072118,756,38158,699,96602,289,664
42Dec 15, 2023 13:367,079128,843,33758,754,59102,281,472
43Dec 15, 2023 13:367,08184,172,54556,777,0001,992,0002,404,352
44Dec 15, 2023 13:367,110146,270,43459,013,61602,260,992
45Dec 15, 2023 14:067,224128,899,25559,957,48802,281,472
46Dec 15, 2023 13:367,27787,339,34258,383,0002,013,0002,514,944