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 listNov 10, 2023 10:16matsuoka-601matsuoka-601Score: 8,098Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 10, 2023 10:167,92593,186,86663,782,0001,993,0002,519,040
2Nov 10, 2023 10:167,96290,483,66164,084,0002,002,0002,486,272
3Nov 10, 2023 10:167,96389,148,55364,094,0002,002,0002,519,040
4Nov 10, 2023 10:168,07589,478,25465,020,0002,000,0002,519,040
5Nov 10, 2023 10:168,08796,051,34665,117,0002,003,0002,514,944
6Nov 10, 2023 10:168,09488,490,63765,174,0002,005,0002,494,464
7Nov 10, 2023 10:168,09795,689,97665,196,0002,006,0002,490,368
8Nov 10, 2023 10:168,09894,899,25865,211,0002,006,0002,514,944
9Nov 10, 2023 10:168,10092,633,24566,223,0001,003,0002,519,040
10Nov 10, 2023 10:168,11890,003,54865,365,0002,011,0002,494,464
11Nov 10, 2023 10:168,12389,371,65567,422,00002,514,944
12Nov 10, 2023 10:168,172121,144,47567,830,76102,244,608
13Nov 10, 2023 10:168,207138,015,99868,118,49902,244,608
14Nov 10, 2023 10:168,367124,245,36269,445,81902,244,608
15Nov 10, 2023 10:168,42494,030,63767,925,0001,997,0002,514,944