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 listDec 22, 2021 04:24Yuriy LyfenkoYuriy LyfenkoScore: 5,710Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2021 04:245,649546,644,69517,072,0001,004,0002,338,816
2Dec 22, 2021 04:245,650547,729,04417,018,0001,063,0002,334,720
3Dec 22, 2021 04:245,657541,335,91017,038,0001,064,0002,334,720
4Dec 22, 2021 04:245,674545,145,06117,089,0001,068,0002,338,816
5Dec 22, 2021 04:245,687577,841,02818,199,86602,256,896
6Dec 22, 2021 04:245,689549,686,59917,194,0001,011,0002,334,720
7Dec 22, 2021 04:245,710596,824,91818,272,34202,293,760
8Dec 22, 2021 04:245,727546,326,27215,433,0002,893,0002,334,720
9Dec 22, 2021 04:245,729546,175,04716,296,0002,037,0002,334,720
10Dec 22, 2021 04:245,733549,656,83214,268,0004,076,0002,334,720
11Dec 22, 2021 04:245,733545,347,89214,485,0003,862,0002,338,816
12Dec 22, 2021 04:245,754571,519,40818,412,18902,252,800