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 22, 2021 17:12Andrey TsvetkovAndrey TsvetkovScore: 6,185Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 17:126,10044,088,35818,493,0001,027,0002,326,528
2May 22, 2021 17:126,11340,345,02718,533,0001,029,0002,527,232
3May 22, 2021 17:126,11441,924,20918,536,0001,029,0002,330,624
4May 22, 2021 17:126,12645,163,57019,602,00002,527,232
5May 22, 2021 17:126,13446,072,02319,630,00002,535,424
6May 22, 2021 17:126,13539,494,22218,600,0001,033,0002,326,528
7May 22, 2021 17:126,15245,162,86617,615,0002,072,0002,527,232
8May 22, 2021 17:126,18593,877,54319,791,20202,236,416
9May 22, 2021 17:126,20041,926,39417,856,0001,984,0002,523,136
10May 22, 2021 17:126,20743,154,19116,884,0002,979,0002,383,872
11May 22, 2021 17:126,22390,104,13819,915,05102,236,416
12May 22, 2021 17:126,24094,879,35319,966,72602,244,608
13May 22, 2021 17:126,28863,273,26420,120,44202,224,128
14May 22, 2021 17:126,33687,072,49020,274,89702,240,512
15May 22, 2021 17:126,34292,173,42420,294,16502,228,224