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 28, 2021 14:44Yuriy LyfenkoYuriy LyfenkoScore: 5,208Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 28, 2021 14:445,15633,621,30315,469,0001,031,0002,392,064
2May 28, 2021 14:445,17538,832,40816,559,00002,392,064
3May 28, 2021 14:445,18242,156,61716,583,00002,265,088
4May 28, 2021 14:445,19332,502,32016,616,00002,392,064
5May 28, 2021 14:445,19742,646,11116,629,00002,387,968
6May 28, 2021 14:445,20446,024,42716,654,00002,400,256
7May 28, 2021 14:445,20843,038,27515,626,0001,041,0002,392,064
8May 28, 2021 14:445,21433,789,49216,686,00002,510,848
9May 28, 2021 14:445,22242,467,27815,666,0001,044,0002,265,088
10May 28, 2021 14:445,36784,273,64817,174,29002,277,376
11May 28, 2021 14:445,38195,673,10217,220,16502,277,376
12May 28, 2021 14:445,39443,953,29917,259,90502,240,512