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 16:19Yuriy LyfenkoYuriy LyfenkoScore: 5,091Success
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 16:195,028540,059,40514,078,0002,011,0002,273,280
2Jun 3, 2021 16:195,028541,280,48514,078,0002,011,0002,281,472
3Jun 3, 2021 16:195,051538,602,87814,143,0002,020,0002,273,280
4Jun 3, 2021 16:195,060542,596,50715,180,0001,012,0002,273,280
5Jun 3, 2021 16:195,063541,800,75914,175,0002,025,0002,273,280
6Jun 3, 2021 16:195,079539,280,32916,253,00002,281,472
7Jun 3, 2021 16:195,091542,701,78315,272,0001,018,0002,273,280
8Jun 3, 2021 16:195,097540,714,28716,310,00002,281,472
9Jun 3, 2021 16:195,098546,253,97016,315,00002,273,280
10Jun 3, 2021 16:195,188572,410,87416,602,49002,256,896
11Jun 3, 2021 16:195,202585,557,36916,645,04102,289,664
12Jun 3, 2021 16:195,232583,157,28116,742,49102,293,760