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 16, 2021 14:43Yuriy LyfenkoYuriy LyfenkoScore: 6,163Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 14:436,10048,106,49418,494,0001,027,0002,527,232
2May 16, 2021 14:436,11347,779,17418,533,0001,029,0002,326,528
3May 16, 2021 14:436,12647,170,40118,573,0001,031,0002,326,528
4May 16, 2021 14:436,14443,784,74518,626,0001,034,0002,326,528
5May 16, 2021 14:436,14737,016,89317,601,0002,070,0002,326,528
6May 16, 2021 14:436,15745,821,94318,666,0001,037,0002,326,528
7May 16, 2021 14:436,16347,900,32819,721,00002,514,944
8May 16, 2021 14:436,17294,517,80619,751,59502,224,128
9May 16, 2021 14:436,20946,038,21716,890,0002,980,0002,326,528
10May 16, 2021 14:436,21044,191,90018,880,000993,0002,510,848
11May 16, 2021 14:436,21896,912,34419,896,88102,220,032
12May 16, 2021 14:436,25180,949,57920,003,04502,232,320