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 listAug 22, 2023 07:08matsuoka-601matsuoka-601Score: 27,117Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2023 07:0825,468270,106,765211,388,46402,281,472
2Aug 22, 2023 07:0825,476271,987,834211,451,00602,281,472
3Aug 22, 2023 06:5625,478277,337,938211,468,79402,281,472
4Aug 22, 2023 06:5625,479266,894,562211,475,09502,277,376
5Aug 22, 2023 07:0825,494268,683,507211,596,69402,273,280
6Aug 22, 2023 07:0825,494289,013,423211,599,47402,289,664
7Aug 22, 2023 07:0825,496280,416,810211,620,42302,289,664
8Aug 22, 2023 06:5625,499279,195,485211,637,66802,277,376
9Aug 22, 2023 07:0825,503270,279,367211,679,01402,285,568
10Aug 22, 2023 06:5627,098248,115,254222,918,0001,999,0002,285,568
11Aug 22, 2023 06:5627,102254,087,753223,951,000999,0002,260,992
12Aug 22, 2023 07:0827,104252,415,524223,967,000999,0002,285,568
13Aug 22, 2023 06:5627,104253,234,855222,967,0001,999,0002,260,992
14Aug 22, 2023 07:0827,105247,565,013222,976,0001,999,0002,260,992
15Aug 22, 2023 06:5627,106254,453,367222,979,0001,999,0002,519,040
16Aug 22, 2023 07:0827,112253,835,997223,029,0002,000,0002,285,568
17Aug 22, 2023 06:5627,113248,484,517224,035,0001,000,0002,285,568
18Aug 22, 2023 07:0827,116246,390,019223,066,0002,000,0002,265,088
19Aug 22, 2023 07:0827,117253,403,647224,069,0001,000,0002,285,568
20Aug 22, 2023 07:0827,118251,865,095223,078,0002,000,0002,285,568
21Aug 22, 2023 07:0827,122247,783,436223,109,0002,000,0002,285,568
22Aug 22, 2023 07:0827,127246,837,501224,151,0001,000,0002,523,136
23Aug 22, 2023 06:5627,128245,473,311223,162,0002,001,0002,285,568
24Aug 22, 2023 07:0827,134248,344,222223,214,0002,001,0002,514,944
25Aug 22, 2023 07:0827,136248,513,739223,226,0002,002,0002,285,568
26Aug 22, 2023 07:0827,137252,020,372224,236,0001,001,0002,285,568
27Aug 22, 2023 07:0827,137249,064,998223,236,0002,002,0002,523,136
28Aug 22, 2023 07:0827,141251,455,133224,270,0001,001,0002,277,376
29Aug 22, 2023 06:5627,142251,299,212223,275,0002,002,0002,277,376
30Aug 22, 2023 07:0827,143247,555,154223,285,0002,002,0002,260,992
31Aug 22, 2023 07:0827,151252,671,522223,353,0002,003,0002,285,568
32Aug 22, 2023 07:0827,152245,505,484225,363,00002,334,720
33Aug 22, 2023 07:0827,154252,455,521223,375,0002,003,0002,510,848
34Aug 22, 2023 07:0827,169251,882,252223,496,0002,004,0002,277,376
35Aug 22, 2023 06:5627,172255,566,758224,527,0001,002,0002,359,296
36Aug 22, 2023 06:5627,210250,442,937223,846,0001,998,0002,277,376