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 listMay 27, 2021 18:22Yuriy LyfenkoYuriy LyfenkoScore: 5,079Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:225,04833,574,23814,134,0002,019,0002,510,848
2May 27, 2021 18:225,04947,156,20614,137,0002,019,0002,265,088
3May 27, 2021 18:225,05343,392,83614,147,0002,021,0002,527,232
4May 27, 2021 18:225,05846,548,42614,162,0002,023,0002,265,088
5May 27, 2021 18:225,07435,756,19714,207,0002,029,0002,396,160
6May 27, 2021 18:225,07842,718,70814,219,0002,031,0002,265,088
7May 27, 2021 18:225,07946,127,65215,239,0001,015,0002,265,088
8May 27, 2021 18:225,09133,353,62214,254,0002,036,0002,269,184
9May 27, 2021 18:225,09840,145,46615,296,0001,019,0002,265,088
10May 27, 2021 18:225,23251,827,97616,743,29102,277,376
11May 27, 2021 18:225,26563,695,39016,847,17602,277,376
12May 27, 2021 18:225,29787,859,61716,949,69502,273,280