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:29matsuoka-601matsuoka-601Score: 7,010Success
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 13:296,90285,535,02755,275,0002,010,0002,523,136
2Dec 15, 2023 13:296,92281,402,91656,443,0001,007,0002,523,136
3Dec 15, 2023 13:296,92481,543,04956,461,0001,008,0002,523,136
4Dec 15, 2023 13:296,92585,229,32456,470,0001,008,0002,392,064
5Dec 15, 2023 13:296,94489,263,88456,622,0001,011,0002,523,136
6Dec 15, 2023 13:296,94585,806,23456,634,0001,011,0002,523,136
7Dec 15, 2023 13:296,95083,776,68556,674,0001,012,0002,523,136
8Dec 15, 2023 13:296,96384,919,43555,803,0001,992,0002,404,352
9Dec 15, 2023 13:296,97088,555,67155,854,0001,994,0002,400,256
10Dec 15, 2023 13:296,97780,858,50455,911,0001,996,0002,523,136
11Dec 15, 2023 13:297,00881,559,83756,163,0002,005,0002,404,352
12Dec 15, 2023 13:297,009119,058,08458,178,19702,289,664
13Dec 15, 2023 13:297,01085,445,66457,182,0001,003,0002,523,136
14Dec 15, 2023 13:297,017116,687,34858,237,45602,285,568
15Dec 15, 2023 13:297,022114,454,90358,279,41602,281,472
16Dec 15, 2023 13:297,02384,154,62957,284,0001,004,0002,523,136
17Dec 15, 2023 13:297,02586,855,09556,296,0002,010,0002,404,352
18Dec 15, 2023 13:297,03080,984,59957,345,0001,006,0002,400,256
19Dec 15, 2023 13:297,08685,099,10756,820,0001,993,0002,392,064
20Dec 15, 2023 13:297,08785,853,61956,826,0001,993,0002,396,160
21Dec 15, 2023 13:297,095136,873,96358,888,44202,281,472
22Dec 15, 2023 13:297,103139,313,92658,954,59102,273,280
23Dec 15, 2023 13:297,324112,698,04960,790,44902,277,376
24Dec 15, 2023 13:297,39084,607,09760,334,0001,005,0002,523,136