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 30, 2022 16:00Jack FrigaardJack FrigaardScore: 5,297Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 30, 2022 16:015,27875,762,17242,816,000995,0002,289,664
2Dec 30, 2022 16:165,28072,576,15641,835,0001,992,0002,297,856
3Dec 30, 2022 16:015,28168,802,38641,838,0001,992,0002,301,952
4Dec 30, 2022 16:015,28173,813,72441,838,0001,992,0002,289,664
5Dec 30, 2022 16:005,28170,302,51040,846,0002,988,0002,289,664
6Dec 30, 2022 16:165,28174,877,14842,838,000996,0002,289,664
7Dec 30, 2022 16:015,28270,463,16140,851,0002,989,0002,289,664
8Dec 30, 2022 16:015,28268,650,55041,804,0002,039,0002,289,664
9Dec 30, 2022 16:015,28369,485,53543,846,00002,289,664
10Dec 30, 2022 16:015,28370,625,07741,858,0001,993,0002,297,856
11Dec 30, 2022 16:165,28469,097,56940,870,0002,990,0002,289,664
12Dec 30, 2022 16:015,28568,643,42841,870,0001,993,0002,289,664
13Dec 30, 2022 16:165,28567,061,75740,873,0002,990,0002,289,664
14Dec 30, 2022 16:015,28568,776,19041,825,0002,040,0002,306,048
15Dec 30, 2022 16:005,28672,916,53641,878,0001,994,0002,297,856
16Dec 30, 2022 16:005,28668,278,78542,874,000997,0002,289,664
17Dec 30, 2022 16:015,29267,267,22641,924,0001,996,0002,301,952
18Dec 30, 2022 16:015,29366,039,48041,937,0001,997,0002,301,952
19Dec 30, 2022 16:165,29367,113,02240,933,0002,995,0002,285,568
20Dec 30, 2022 16:165,29474,053,29340,944,0002,995,0002,289,664
21Dec 30, 2022 16:015,29571,388,83539,955,0003,995,0002,289,664
22Dec 30, 2022 16:005,29565,793,68840,955,0002,996,0002,289,664
23Dec 30, 2022 16:005,29667,724,68940,962,0002,997,0002,301,952
24Dec 30, 2022 16:165,29777,045,70641,964,0001,998,0002,289,664
25Dec 30, 2022 16:015,29767,892,62041,964,0001,998,0002,289,664
26Dec 30, 2022 16:005,29872,337,86340,974,0002,998,0002,289,664
27Dec 30, 2022 16:015,30872,764,15841,054,0003,004,0002,289,664
28Dec 30, 2022 16:165,31169,570,14841,079,0003,005,0002,289,664
29Dec 30, 2022 16:165,31769,484,65140,121,0004,012,0002,297,856
30Dec 30, 2022 16:005,32267,304,81942,164,0002,007,0002,289,664
31Dec 30, 2022 16:015,33368,275,14041,249,0003,018,0002,289,664
32Dec 30, 2022 16:005,33968,920,75043,306,0001,007,0002,289,664
33Dec 30, 2022 16:015,34465,809,74941,334,0003,024,0002,293,760
34Dec 30, 2022 16:015,34766,796,21542,367,0002,017,0002,281,472
35Dec 30, 2022 16:005,35570,314,38342,430,0002,020,0002,289,664
36Dec 30, 2022 16:015,38570,983,97243,679,0001,015,0002,289,664
37Dec 30, 2022 16:015,414105,054,73944,939,60202,174,976
38Dec 30, 2022 16:015,423104,018,22645,010,58902,297,856
39Dec 30, 2022 16:005,423114,074,16945,009,24102,179,072
40Dec 30, 2022 16:015,425118,955,75445,027,96802,179,072
41Dec 30, 2022 16:005,429111,435,10145,061,05302,297,856
42Dec 30, 2022 16:165,436118,906,30345,120,55102,179,072
43Dec 30, 2022 16:015,452109,989,38545,254,56102,293,760
44Dec 30, 2022 16:165,458108,928,87945,299,25002,183,168
45Dec 30, 2022 16:165,460110,296,66945,318,59902,306,048
46Dec 30, 2022 16:005,466115,253,91645,365,17002,301,952
47Dec 30, 2022 16:015,485109,097,62045,527,92502,179,072
48Dec 30, 2022 16:015,491102,379,26445,578,27502,174,976