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 28, 2022 17:07Robert BurkeRobert BurkeScore: 7,781Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 28, 2022 17:077,75988,158,87164,399,00002,424,832
2Dec 28, 2022 17:187,76596,129,31164,448,00002,433,024
3Dec 28, 2022 17:077,76687,240,84163,448,0001,007,0002,433,024
4Dec 28, 2022 17:187,76784,830,64364,467,00002,420,736
5Dec 28, 2022 17:187,76885,399,70864,478,00002,428,928
6Dec 28, 2022 17:077,76890,056,36863,465,0001,007,0002,539,520
7Dec 28, 2022 17:187,77398,112,33264,515,00002,428,928
8Dec 28, 2022 17:187,77489,006,03564,524,00002,433,024
9Dec 28, 2022 17:077,77586,983,73464,530,00002,277,376
10Dec 28, 2022 17:187,77690,353,68464,539,00002,277,376
11Dec 28, 2022 17:187,77790,386,30863,544,0001,008,0002,277,376
12Dec 28, 2022 17:077,77891,540,41063,551,0001,008,0002,424,832
13Dec 28, 2022 17:077,77989,562,89563,560,0001,008,0002,277,376
14Dec 28, 2022 17:077,78088,941,50464,576,00002,428,928
15Dec 28, 2022 17:077,78089,138,34364,578,00002,277,376
16Dec 28, 2022 17:187,78192,592,15763,571,0001,009,0002,277,376
17Dec 28, 2022 17:077,78189,068,76063,570,0001,009,0002,535,424
18Dec 28, 2022 17:187,78499,567,68263,600,0001,009,0002,437,120
19Dec 28, 2022 17:187,78496,511,90863,597,0001,009,0002,539,520
20Dec 28, 2022 17:077,79691,719,25264,707,00002,424,832
21Dec 28, 2022 17:187,80693,367,55862,799,0001,993,0002,433,024
22Dec 28, 2022 17:077,82482,957,73563,937,000999,0002,277,376
23Dec 28, 2022 17:077,83087,903,82962,988,0001,999,0002,433,024
24Dec 28, 2022 17:187,83188,490,08262,995,0001,999,0002,428,928
25Dec 28, 2022 17:187,921126,022,52865,741,79002,170,880
26Dec 28, 2022 17:077,934115,262,21465,851,96802,179,072
27Dec 28, 2022 17:077,942115,284,38765,920,49002,301,952
28Dec 28, 2022 17:187,944129,345,27165,936,99502,297,856
29Dec 28, 2022 17:077,945115,627,00565,944,50202,293,760
30Dec 28, 2022 17:187,957120,431,59266,045,92802,170,880