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 24, 2021 18:39Yuriy LyfenkoYuriy LyfenkoScore: 5,146Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:395,09932,948,16314,277,0002,039,0002,400,256
2May 24, 2021 18:395,10042,840,21015,300,0001,020,0002,265,088
3May 24, 2021 18:395,10833,753,07616,344,00002,265,088
4May 24, 2021 18:395,12334,714,33416,392,00002,527,232
5May 24, 2021 18:395,12639,089,97715,377,0001,025,0002,265,088
6May 24, 2021 18:395,13931,395,79315,419,0001,027,0002,392,064
7May 24, 2021 18:395,14639,975,03316,468,00002,506,752
8May 24, 2021 18:395,15638,147,79716,500,00002,265,088
9May 24, 2021 18:395,16838,651,25116,537,00002,265,088
10May 24, 2021 18:395,33144,555,53117,060,12802,269,184
11May 24, 2021 18:395,34167,292,91017,091,80302,285,568
12May 24, 2021 18:395,67471,949,29918,155,29202,289,664