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 24, 2024 02:48MatthiasMatthiasScore: 8,439Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 24, 2024 02:488,40896,157,25467,795,0001,993,0002,285,568
2Nov 24, 2024 02:488,41392,916,68767,836,0001,995,0002,523,136
3Nov 24, 2024 02:488,415100,908,33968,848,000997,0002,269,184
4Nov 24, 2024 02:488,41596,096,06567,850,0001,995,0002,289,664
5Nov 24, 2024 02:488,41996,139,49167,882,0001,996,0002,289,664
6Nov 24, 2024 02:438,42194,629,38367,899,0001,997,0002,285,568
7Nov 24, 2024 02:438,42290,706,85967,902,0001,997,0002,289,664
8Nov 24, 2024 02:488,42295,214,21467,908,0001,997,0002,273,280
9Nov 24, 2024 02:438,42895,735,88367,956,0001,998,0002,265,088
10Nov 24, 2024 02:488,43195,256,91367,977,0001,999,0002,285,568
11Nov 24, 2024 02:488,43195,341,82367,978,0001,999,0002,289,664
12Nov 24, 2024 02:438,43291,956,50467,984,0001,999,0002,273,280
13Nov 24, 2024 02:438,43396,618,51167,991,0001,999,0002,514,944
14Nov 24, 2024 02:488,43594,154,81068,012,0002,000,0002,289,664
15Nov 24, 2024 02:488,43694,749,90868,017,0002,000,0002,269,184
16Nov 24, 2024 02:438,43792,737,67468,031,0002,000,0002,289,664
17Nov 24, 2024 02:488,43897,454,14569,033,0001,000,0002,289,664
18Nov 24, 2024 02:438,43995,168,80468,039,0002,001,0002,289,664
19Nov 24, 2024 02:438,43990,126,95669,044,0001,000,0002,289,664
20Nov 24, 2024 02:488,44092,962,46669,050,0001,000,0002,269,184
21Nov 24, 2024 02:438,443101,431,06268,079,0002,002,0002,371,584
22Nov 24, 2024 02:488,44698,534,19670,105,00002,527,232
23Nov 24, 2024 02:488,45796,068,36068,192,0002,005,0002,289,664
24Nov 24, 2024 02:488,55195,666,53068,978,0001,999,0002,273,280
25Nov 24, 2024 02:488,56796,895,28970,106,0001,001,0002,285,568
26Nov 24, 2024 02:488,56799,262,12369,105,0002,003,0002,265,088
27Nov 24, 2024 02:438,57094,343,07370,133,0001,001,0002,519,040
28Nov 24, 2024 02:438,57594,545,34369,169,0002,004,0002,289,664
29Nov 24, 2024 02:438,57795,245,32170,191,0001,002,0002,523,136
30Nov 24, 2024 02:488,58291,574,13969,225,0002,006,0002,277,376
31Nov 24, 2024 02:488,59093,998,11771,299,00002,281,472
32Nov 24, 2024 02:488,59698,652,97270,343,0001,004,0002,265,088
33Nov 24, 2024 02:488,607102,105,38170,428,0001,006,0002,527,232
34Nov 24, 2024 02:488,61393,542,37570,478,0001,006,0002,285,568
35Nov 24, 2024 02:488,61496,123,95170,491,0001,007,0002,523,136
36Nov 24, 2024 02:488,63298,445,23470,635,0001,009,0002,285,568