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 23, 2021 18:52Yuriy LyfenkoYuriy LyfenkoScore: 5,420Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 18:525,35643,423,02215,123,0002,016,0002,523,136
2May 23, 2021 18:525,37245,345,60116,178,0001,011,0002,265,088
3May 23, 2021 18:525,39337,012,10616,243,0001,015,0002,527,232
4May 23, 2021 18:525,39334,223,50116,244,0001,015,0002,265,088
5May 23, 2021 18:525,39935,499,11716,262,0001,016,0002,265,088
6May 23, 2021 18:525,40344,614,89617,289,00002,396,160
7May 23, 2021 18:525,42041,027,62316,323,0001,020,0002,265,088
8May 23, 2021 18:525,42443,997,31416,337,0001,021,0002,265,088
9May 23, 2021 18:525,44042,864,74517,408,00002,392,064
10May 23, 2021 18:525,61596,093,67317,966,58302,277,376
11May 23, 2021 18:525,61975,986,71617,982,15802,285,568
12May 23, 2021 18:525,654108,983,83318,092,93302,281,472