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 14, 2024 04:03zielajzielajScore: 4,222Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 14, 2024 04:004,17861,123,60734,676,00002,363,392
2Nov 14, 2024 04:034,19760,668,41033,838,000995,0002,523,136
3Nov 14, 2024 04:034,19864,960,91132,850,0001,990,0002,359,296
4Nov 14, 2024 04:034,20060,731,43033,863,000995,0002,514,944
5Nov 14, 2024 04:004,20161,615,49833,871,000996,0002,371,584
6Nov 14, 2024 04:004,20160,316,39632,877,0001,992,0002,367,488
7Nov 14, 2024 04:004,20459,887,84732,898,0001,993,0002,367,488
8Nov 14, 2024 04:034,21157,280,04732,954,0001,997,0002,519,040
9Nov 14, 2024 04:004,21155,933,52533,955,000998,0002,359,296
10Nov 14, 2024 04:004,21156,610,47733,957,000998,0002,514,944
11Nov 14, 2024 04:004,21460,977,16232,976,0001,998,0002,514,944
12Nov 14, 2024 04:034,22155,359,05933,035,0002,002,0002,514,944
13Nov 14, 2024 04:034,22256,586,92734,045,0001,001,0002,375,680
14Nov 14, 2024 04:034,24057,973,69533,185,0002,011,0002,461,696
15Nov 14, 2024 04:034,24156,955,74533,188,0002,011,0002,523,136
16Nov 14, 2024 04:004,24356,524,66034,211,0001,006,0002,514,944
17Nov 14, 2024 04:004,24561,988,08133,221,0002,013,0002,371,584
18Nov 14, 2024 04:034,25557,540,17433,300,0002,018,0002,514,944
19Nov 14, 2024 04:004,86062,602,20339,330,0001,008,0002,379,776
20Nov 14, 2024 04:004,88065,955,21540,508,00002,265,088
21Nov 14, 2024 04:034,89470,493,94640,617,00002,265,088
22Nov 14, 2024 04:034,91865,633,83339,828,000995,0002,265,088
23Nov 14, 2024 04:034,96372,607,91040,193,0001,004,0002,527,232
24Nov 14, 2024 04:004,97960,904,81040,318,0001,007,0002,375,680