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 23, 2021 17:48Yuriy LyfenkoYuriy LyfenkoScore: 5,376Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 17:485,32534,088,30115,037,0002,004,0002,527,232
2May 23, 2021 17:485,33233,967,63316,058,0001,003,0002,392,064
3May 23, 2021 17:485,33239,413,34916,058,0001,003,0002,527,232
4May 23, 2021 17:485,33837,950,79416,078,0001,004,0002,265,088
5May 23, 2021 17:485,34142,021,72316,086,0001,005,0002,506,752
6May 23, 2021 17:485,34142,405,39216,087,0001,005,0002,265,088
7May 23, 2021 17:485,37638,680,68516,192,0001,012,0002,265,088
8May 23, 2021 17:485,38547,493,18216,218,0001,013,0002,265,088
9May 23, 2021 17:485,40043,061,26715,248,0002,033,0002,265,088
10May 23, 2021 17:485,59579,849,24317,904,90802,265,088
11May 23, 2021 17:485,60688,308,13217,939,83902,285,568
12May 23, 2021 17:485,65382,266,34818,089,92402,281,472