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 2, 2021 14:48Yuriy LyfenkoYuriy LyfenkoScore: 5,080Success
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 14:485,04734,553,77715,142,0001,009,0002,396,160
2Jun 2, 2021 14:485,04930,423,81515,149,0001,009,0002,265,088
3Jun 2, 2021 14:485,05336,009,88815,160,0001,010,0002,527,232
4Jun 2, 2021 14:485,05635,568,81815,168,0001,011,0002,265,088
5Jun 2, 2021 14:485,05946,126,39515,177,0001,011,0002,396,160
6Jun 2, 2021 14:485,07130,221,38914,200,0002,028,0002,510,848
7Jun 2, 2021 14:485,08041,342,07714,224,0002,032,0002,392,064
8Jun 2, 2021 14:485,08432,552,25414,235,0002,033,0002,392,064
9Jun 2, 2021 14:485,09132,985,50415,274,0001,018,0002,265,088
10Jun 2, 2021 14:485,23385,340,60116,746,90902,281,472
11Jun 2, 2021 14:485,24691,165,80116,788,15602,277,376
12Jun 2, 2021 14:485,27685,839,33616,882,37402,265,088