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 29, 2022 11:48Jack FrigaardJack FrigaardScore: 5,586Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 29, 2022 12:035,359100,500,07044,481,29302,174,976
2Dec 29, 2022 11:595,363112,696,23344,515,20102,293,760
3Dec 29, 2022 12:035,365104,838,01344,531,04502,297,856
4Dec 29, 2022 11:595,379101,854,27444,648,08202,297,856
5Dec 29, 2022 11:585,382106,100,38244,669,68902,179,072
6Dec 29, 2022 12:035,387114,804,74944,709,12602,179,072
7Dec 29, 2022 11:595,401107,578,99844,831,85402,297,856
8Dec 29, 2022 11:585,408113,528,27844,883,66202,179,072
9Dec 29, 2022 11:585,434110,264,18845,098,46902,301,952
10Dec 29, 2022 12:025,442106,150,42045,164,98702,179,072
11Dec 29, 2022 12:025,472112,374,39245,417,93702,297,856
12Dec 29, 2022 12:025,481134,304,65445,491,72202,293,760
13Dec 29, 2022 12:015,533119,786,76345,927,46202,293,760
14Dec 29, 2022 12:015,536116,222,44945,948,66902,301,952
15Dec 29, 2022 12:015,544113,530,37346,018,12402,301,952
16Dec 29, 2022 12:015,556123,847,67846,118,76802,293,760
17Dec 29, 2022 12:015,586109,972,01846,360,34302,293,760
18Dec 29, 2022 12:015,603128,279,41646,507,89602,306,048
19Dec 29, 2022 11:585,841118,317,79248,483,07602,293,760
20Dec 29, 2022 11:585,852109,001,51148,568,11602,179,072
21Dec 29, 2022 11:485,857133,139,88048,615,01902,179,072
22Dec 29, 2022 11:485,858112,194,92048,620,71702,301,952
23Dec 29, 2022 11:485,879105,270,88548,795,00802,297,856
24Dec 29, 2022 12:025,890106,910,63648,883,77602,289,664
25Dec 29, 2022 11:585,912119,162,71749,065,66202,297,856
26Dec 29, 2022 12:025,929109,193,55549,211,01502,289,664
27Dec 29, 2022 12:025,940104,424,93349,302,04602,289,664
28Dec 29, 2022 12:007,513143,120,94462,361,07802,293,760
29Dec 29, 2022 12:007,599135,990,34863,073,18302,301,952
30Dec 29, 2022 12:007,600122,918,37763,082,50002,297,856
31Dec 29, 2022 12:0011,267148,939,69593,518,64802,179,072
32Dec 29, 2022 12:0011,293151,091,79593,730,33002,293,760
33Dec 29, 2022 12:0011,371146,316,29494,381,77902,174,976