Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJun 3, 2021 01:34Yuriy LyfenkoYuriy LyfenkoScore: 5,028Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 22:104,992538,784,50513,977,0001,996,0002,273,280
2Jun 2, 2021 22:104,993540,831,70414,980,000998,0002,273,280
3Jun 2, 2021 22:104,997541,956,09313,991,0001,998,0002,273,280
4Jun 2, 2021 22:104,997537,895,38214,991,000999,0002,273,280
5Jun 3, 2021 01:344,999540,645,19014,997,000999,0002,281,472
6Jun 2, 2021 22:105,004540,128,68614,011,0002,001,0002,273,280
7Jun 3, 2021 01:345,007539,204,88415,022,0001,001,0002,273,280
8Jun 3, 2021 01:345,008537,613,24714,021,0002,003,0002,273,280
9Jun 3, 2021 01:345,013541,679,05514,035,0002,005,0002,273,280
10Jun 3, 2021 01:345,016540,568,57514,044,0002,006,0002,273,280
11Jun 3, 2021 01:345,027543,507,18015,081,0001,005,0002,404,352
12Jun 2, 2021 22:105,027536,973,86915,081,0001,005,0002,273,280
13Jun 3, 2021 01:345,028542,323,79715,086,0001,005,0002,281,472
14Jun 3, 2021 01:345,031548,443,23915,094,0001,006,0002,273,280
15Jun 2, 2021 22:105,037538,674,75115,112,0001,007,0002,281,472
16Jun 3, 2021 01:345,049536,921,36015,148,0001,009,0002,527,232
17Jun 2, 2021 22:105,049547,817,91715,147,0001,009,0002,273,280
18Jun 2, 2021 22:105,054538,853,49714,152,0002,021,0002,273,280
19Jun 2, 2021 22:105,167579,238,94016,533,99202,293,760
20Jun 2, 2021 22:105,169598,092,03316,541,12002,297,856
21Jun 3, 2021 01:345,178572,516,07916,570,07402,293,760
22Jun 2, 2021 22:105,182574,361,98816,583,05202,256,896
23Jun 3, 2021 01:345,191570,673,62816,612,33502,252,800
24Jun 3, 2021 01:345,195571,188,65116,624,30102,285,568