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 25, 2021 15:46Yuriy LyfenkoYuriy LyfenkoScore: 5,158Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 15:465,09538,373,98015,286,0001,019,0002,387,968
2May 25, 2021 15:465,11737,141,87216,375,00002,392,064
3May 25, 2021 15:465,11736,224,95916,375,00002,400,256
4May 25, 2021 15:465,12432,055,17015,372,0001,024,0002,265,088
5May 25, 2021 15:465,12634,215,05415,377,0001,025,0002,400,256
6May 25, 2021 15:465,14736,017,60816,469,00002,265,088
7May 25, 2021 15:465,15834,939,32016,506,00002,510,848
8May 25, 2021 15:465,17241,020,02416,549,00002,265,088
9May 25, 2021 15:465,17334,759,90615,519,0001,034,0002,265,088
10May 25, 2021 15:465,30796,419,20716,982,04402,285,568
11May 25, 2021 15:465,34139,995,46617,090,71002,277,376
12May 25, 2021 15:465,35359,674,03017,129,08002,277,376