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 listAug 11, 2024 01:54Yuriy LyfenkoYuriy LyfenkoScore: 4,389Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 11, 2024 01:544,355535,922,98011,945,0001,990,0002,285,568
2Aug 11, 2024 01:544,357541,570,82711,951,0001,991,0002,273,280
3Aug 11, 2024 01:544,359534,150,08111,956,0001,992,0002,461,696
4Aug 11, 2024 01:544,367533,037,88711,979,0001,996,0002,273,280
5Aug 11, 2024 01:544,373536,880,16111,996,0001,999,0002,449,408
6Aug 11, 2024 01:544,381533,233,00912,016,0002,002,0002,535,424
7Aug 11, 2024 01:544,389532,585,18412,039,0002,006,0002,535,424
8Aug 11, 2024 01:544,390536,312,99712,042,0002,007,0002,535,424
9Aug 11, 2024 01:544,394536,951,66012,052,0002,008,0002,535,424
10Aug 11, 2024 01:544,582573,344,78414,660,87202,256,896
11Aug 11, 2024 01:544,606567,074,03714,739,97402,195,456
12Aug 11, 2024 01:544,612575,497,92214,757,56202,256,896