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 30, 2021 16:09Yuriy LyfenkoYuriy LyfenkoScore: 5,067Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 16:095,02343,374,60114,065,0002,009,0002,265,088
2May 30, 2021 16:095,04840,907,52814,134,0002,019,0002,265,088
3May 30, 2021 16:095,05733,847,83514,160,0002,022,0002,400,256
4May 30, 2021 16:095,05846,624,67814,162,0002,023,0002,265,088
5May 30, 2021 16:095,06139,150,01315,182,0001,012,0002,392,064
6May 30, 2021 16:095,06637,659,39814,185,0002,026,0002,400,256
7May 30, 2021 16:095,06739,950,34614,188,0002,026,0002,527,232
8May 30, 2021 16:095,07941,727,90514,340,0001,912,0002,396,160
9May 30, 2021 16:095,09833,339,20315,293,0001,019,0002,400,256
10May 30, 2021 16:095,23063,359,23216,735,46702,228,224
11May 30, 2021 16:095,24370,991,57116,777,22602,281,472
12May 30, 2021 16:095,27063,666,72716,863,96502,277,376