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 18:27Yuriy LyfenkoYuriy LyfenkoScore: 5,116Success
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 18:275,05944,715,99614,167,0002,023,0002,265,088
2May 25, 2021 18:275,09039,323,62015,271,0001,018,0002,265,088
3May 25, 2021 18:275,09431,827,85914,263,0002,037,0002,392,064
4May 25, 2021 18:275,09730,834,12715,292,0001,019,0002,506,752
5May 25, 2021 18:275,09733,587,26216,311,00002,383,872
6May 25, 2021 18:275,10131,971,36915,304,0001,020,0002,265,088
7May 25, 2021 18:275,11639,284,60415,349,0001,023,0002,265,088
8May 25, 2021 18:275,12232,769,53416,391,00002,265,088
9May 25, 2021 18:275,13239,058,79615,396,0001,026,0002,482,176
10May 25, 2021 18:275,28461,675,53316,907,35602,273,280
11May 25, 2021 18:275,34965,729,73417,118,11702,240,512
12May 25, 2021 18:275,58356,803,09117,866,46202,273,280