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 listOct 8, 2024 14:44matsuoka-601matsuoka-601Score: 3,986Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 8, 2024 14:453,95764,581,64330,850,0001,990,0002,510,848
2Oct 8, 2024 14:453,95857,924,92631,825,0001,026,0002,514,944
3Oct 8, 2024 14:443,96057,072,51229,884,0002,988,0002,297,856
4Oct 8, 2024 14:443,96956,400,22230,943,0001,996,0002,502,656
5Oct 8, 2024 14:443,97458,579,20330,987,0001,999,0002,506,752
6Oct 8, 2024 14:453,97459,886,34330,983,0001,998,0002,506,752
7Oct 8, 2024 14:443,97956,272,82331,023,0002,001,0002,297,856
8Oct 8, 2024 14:453,97956,627,43230,022,0003,002,0002,297,856
9Oct 8, 2024 14:443,98460,788,51631,064,0002,004,0002,297,856
10Oct 8, 2024 14:453,98660,296,09732,082,0001,002,0002,502,656
11Oct 8, 2024 14:453,99061,492,28531,109,0002,007,0002,297,856
12Oct 8, 2024 14:443,99459,073,93030,135,0003,013,0002,510,848
13Oct 8, 2024 14:453,99558,449,05531,151,0002,009,0002,297,856
14Oct 8, 2024 14:453,99561,543,81030,147,0003,014,0002,297,856
15Oct 8, 2024 14:444,00260,111,06831,202,0002,013,0002,506,752
16Oct 8, 2024 14:444,01555,651,80530,299,0003,029,0002,297,856
17Oct 8, 2024 14:454,03454,086,18432,469,0001,014,0002,510,848
18Oct 8, 2024 14:444,04463,994,17531,530,0002,034,0002,297,856