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 24, 2021 20:09Yuriy LyfenkoYuriy LyfenkoScore: 5,152Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 20:095,10437,488,81414,291,0002,041,0002,527,232
2May 24, 2021 20:095,11033,631,34516,352,00002,400,256
3May 24, 2021 20:095,11440,591,08215,344,0001,022,0002,265,088
4May 24, 2021 20:095,13246,714,97815,395,0001,026,0002,269,184
5May 24, 2021 20:095,13345,186,43915,398,0001,026,0002,396,160
6May 24, 2021 20:095,14032,297,21315,420,0001,028,0002,265,088
7May 24, 2021 20:095,15233,200,63415,455,0001,030,0002,265,088
8May 24, 2021 20:095,18737,494,93215,562,0001,037,0002,396,160
9May 24, 2021 20:095,19331,517,60416,618,00002,265,088
10May 24, 2021 20:095,32157,778,26717,026,32902,281,472
11May 24, 2021 20:095,35681,308,88517,139,83102,285,568
12May 24, 2021 20:095,37778,251,53117,205,06802,277,376