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 27, 2021 18:29Yuriy LyfenkoYuriy LyfenkoScore: 5,062Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:295,01436,927,53514,040,0002,005,0002,265,088
2May 27, 2021 18:295,01940,820,42615,057,0001,003,0002,396,160
3May 27, 2021 18:295,02232,985,25214,062,0002,008,0002,392,064
4May 27, 2021 18:295,03631,727,19215,108,0001,007,0002,265,088
5May 27, 2021 18:295,05237,883,74414,146,0002,020,0002,265,088
6May 27, 2021 18:295,05431,455,70815,164,0001,010,0002,265,088
7May 27, 2021 18:295,06239,421,03714,174,0002,024,0002,265,088
8May 27, 2021 18:295,06646,150,69515,198,0001,013,0002,400,256
9May 27, 2021 18:295,07033,222,88715,211,0001,014,0002,265,088
10May 27, 2021 18:295,22893,485,63316,729,14402,285,568
11May 27, 2021 18:295,25556,032,34116,814,75202,281,472
12May 27, 2021 18:295,29343,712,14216,938,48902,285,568