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 listMay 25, 2024 13:51GraceGraceScore: 7,150Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2024 13:507,05085,902,79357,506,0001,008,0002,269,184
2May 25, 2024 13:517,05379,725,99857,532,0001,009,0002,269,184
3May 25, 2024 13:507,05376,660,24658,541,00002,379,776
4May 25, 2024 13:507,05484,962,32758,551,00002,285,568
5May 25, 2024 13:517,05580,072,54957,549,0001,009,0002,285,568
6May 25, 2024 13:517,05680,948,28758,566,00002,277,376
7May 25, 2024 13:507,05786,727,33757,560,0001,009,0002,269,184
8May 25, 2024 13:517,05890,747,34257,572,0001,010,0002,285,568
9May 25, 2024 13:507,05991,331,54257,577,0001,010,0002,285,568
10May 25, 2024 13:517,05987,543,78257,580,0001,010,0002,285,568
11May 25, 2024 13:517,06288,136,66357,605,0001,010,0002,265,088
12May 25, 2024 13:507,06489,227,78857,619,0001,010,0002,277,376
13May 25, 2024 13:517,06486,394,21857,620,0001,010,0002,260,992
14May 25, 2024 13:507,06689,736,30457,640,0001,011,0002,269,184
15May 25, 2024 13:517,06785,367,18456,670,0001,988,0002,531,328
16May 25, 2024 13:507,15083,266,21257,332,0002,011,0002,285,568
17May 25, 2024 13:507,18081,672,69058,580,0001,010,0002,285,568
18May 25, 2024 13:517,22285,835,75057,948,0001,998,0002,285,568
19May 25, 2024 13:507,292135,197,39560,519,56302,285,568
20May 25, 2024 13:517,293132,004,13060,535,14402,285,568
21May 25, 2024 13:517,300142,875,00060,593,46502,293,760
22May 25, 2024 13:517,301119,775,67160,598,19602,285,568
23May 25, 2024 13:507,312113,915,91160,689,00402,281,472
24May 25, 2024 13:507,361129,878,70861,093,59602,293,760
25May 25, 2024 13:508,62497,754,30771,580,00002,285,568
26May 25, 2024 13:508,63197,131,53271,641,00002,277,376
27May 25, 2024 13:518,64797,965,11970,773,000996,0002,269,184
28May 25, 2024 13:508,653102,445,58669,829,0001,995,0002,285,568
29May 25, 2024 13:518,654100,310,54971,826,00002,273,280
30May 25, 2024 13:518,67691,141,76870,014,0002,000,0002,285,568