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:17Bernard TeoBernard TeoScore: 7,235Success
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:177,163131,104,93359,451,56202,281,472
2Sep 7, 2022 15:177,182137,590,75259,609,96002,289,664
3Sep 7, 2022 15:177,186126,695,98359,641,29202,281,472
4Sep 7, 2022 15:177,187121,284,87159,652,49102,277,376
5Sep 7, 2022 15:177,188130,088,85459,658,47302,277,376
6Sep 7, 2022 15:177,189117,232,95359,664,94802,281,472
7Sep 7, 2022 15:177,189115,772,44159,671,53702,277,376
8Sep 7, 2022 15:177,195134,205,21059,718,46202,273,280
9Sep 7, 2022 15:177,205131,269,44859,802,48702,273,280
10Sep 7, 2022 15:177,22385,913,95357,951,0001,998,0002,400,256
11Sep 7, 2022 15:177,22583,362,08057,967,0001,998,0002,273,280
12Sep 7, 2022 15:177,22581,837,28758,970,000999,0002,396,160
13Sep 7, 2022 15:177,22686,366,37457,974,0001,999,0002,273,280
14Sep 7, 2022 15:177,22885,241,13157,997,0001,999,0002,273,280
15Sep 7, 2022 15:177,22883,067,68157,995,0001,999,0002,396,160
16Sep 7, 2022 15:177,23186,447,92658,021,0002,000,0002,400,256
17Sep 7, 2022 15:177,23185,477,58659,017,0001,000,0002,273,280
18Sep 7, 2022 15:177,23185,930,74559,015,0001,000,0002,273,280
19Sep 7, 2022 15:177,23281,528,68558,023,0002,000,0002,273,280
20Sep 7, 2022 15:177,23382,751,35858,030,0002,001,0002,273,280
21Sep 7, 2022 15:177,23483,502,03758,039,0002,001,0002,273,280
22Sep 7, 2022 15:177,23487,052,62058,042,0002,001,0002,396,160
23Sep 7, 2022 15:177,23585,489,23658,050,0002,001,0002,400,256
24Sep 7, 2022 15:177,23583,995,52959,051,0001,000,0002,408,448
25Sep 7, 2022 15:177,23584,957,00058,050,0002,001,0002,400,256
26Sep 7, 2022 15:177,23586,537,27758,048,0002,001,0002,273,280
27Sep 7, 2022 15:177,23681,975,56258,054,0002,001,0002,392,064
28Sep 7, 2022 15:177,23684,181,70358,056,0002,001,0002,273,280
29Sep 7, 2022 15:177,23684,892,49858,058,0002,002,0002,273,280
30Sep 7, 2022 15:177,23781,312,03858,063,0002,002,0002,273,280
31Sep 7, 2022 15:177,23783,418,98459,065,0001,001,0002,273,280
32Sep 7, 2022 15:177,23885,459,55359,077,0001,001,0002,400,256
33Sep 7, 2022 15:177,23982,952,28159,085,0001,001,0002,396,160
34Sep 7, 2022 15:177,23983,192,82559,079,0001,001,0002,510,848
35Sep 7, 2022 15:177,23982,892,92859,081,0001,001,0002,404,352
36Sep 7, 2022 15:177,24085,628,36159,095,0001,001,0002,400,256
37Sep 7, 2022 15:177,24088,115,88658,087,0002,003,0002,273,280
38Sep 7, 2022 15:177,24187,705,69558,098,0002,003,0002,273,280
39Sep 7, 2022 15:177,24387,983,68159,113,0001,001,0002,273,280
40Sep 7, 2022 15:177,24486,318,12459,123,0001,002,0002,400,256
41Sep 7, 2022 15:177,24484,922,45158,122,0002,004,0002,404,352
42Sep 7, 2022 15:177,24686,164,91758,141,0002,004,0002,273,280
43Sep 7, 2022 15:177,24685,198,36958,138,0002,004,0002,269,184
44Sep 7, 2022 15:177,24784,642,75758,148,0002,005,0002,396,160
45Sep 7, 2022 15:177,28484,091,83860,458,00002,273,280