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:16Yuriy LyfenkoYuriy LyfenkoScore: 5,694Success
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:165,6481,046,480,05716,066,0002,008,0002,334,720
2Dec 22, 2021 04:165,6581,042,168,95817,041,0001,065,0002,334,720
3Dec 22, 2021 04:165,6631,043,900,94817,055,0001,065,0002,334,720
4Dec 22, 2021 04:165,6651,043,946,14816,114,0002,014,0002,334,720
5Dec 22, 2021 04:165,6681,041,096,92816,005,0002,134,0002,334,720
6Dec 22, 2021 04:165,6811,043,725,35117,110,0001,069,0002,334,720
7Dec 22, 2021 04:165,6941,042,400,25215,185,0003,037,0002,334,720
8Dec 22, 2021 04:165,6991,045,568,00217,225,0001,013,0002,334,720
9Dec 22, 2021 04:165,7171,044,964,99516,261,0002,032,0002,334,720
10Dec 22, 2021 04:165,7271,076,768,32218,326,33702,293,760
11Dec 22, 2021 04:165,7541,065,231,16018,413,35102,256,896
12Dec 22, 2021 04:165,7591,080,849,38518,427,81202,289,664