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 15:58Yuriy LyfenkoYuriy LyfenkoScore: 5,085Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 15:585,026539,088,01115,078,0001,005,0002,273,280
2Jun 3, 2021 15:585,031544,385,27315,093,0001,006,0002,273,280
3Jun 3, 2021 15:585,053541,984,71414,149,0002,021,0002,273,280
4Jun 3, 2021 15:585,059542,642,27115,178,0001,011,0002,273,280
5Jun 3, 2021 15:585,078538,976,36014,219,0002,031,0002,273,280
6Jun 3, 2021 15:585,080543,544,27215,240,0001,016,0002,273,280
7Jun 3, 2021 15:585,085539,357,95716,272,00002,273,280
8Jun 3, 2021 15:585,099540,009,20015,299,0001,019,0002,273,280
9Jun 3, 2021 15:585,101541,667,40515,302,0001,020,0002,400,256
10Jun 3, 2021 15:585,181585,499,19116,579,50902,289,664
11Jun 3, 2021 15:585,187588,598,95216,597,82502,256,896
12Jun 3, 2021 15:585,227588,519,77716,727,38302,293,760