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 19, 2022 17:56Eugene ZhydzetskiEugene ZhydzetskiScore: 5,990Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 19, 2022 17:565,93446,769,35516,990,0001,998,0002,334,720
2Aug 19, 2022 17:565,95538,196,01518,054,0001,003,0002,334,720
3Aug 19, 2022 17:565,95642,597,36518,057,0001,003,0002,412,544
4Aug 19, 2022 17:565,96651,979,23518,087,0001,004,0002,285,568
5Aug 19, 2022 17:565,97644,984,25918,116,0001,006,0002,334,720
6Aug 19, 2022 17:565,98476,679,44019,150,31902,248,704
7Aug 19, 2022 17:565,99042,263,70518,161,0001,008,0002,334,720
8Aug 19, 2022 17:566,00046,137,26318,189,0001,010,0002,285,568
9Aug 19, 2022 17:566,00642,323,49917,195,0002,023,0002,334,720
10Aug 19, 2022 17:566,00741,526,99118,210,0001,011,0002,535,424
11Aug 19, 2022 17:566,131106,261,87519,617,93302,236,416
12Aug 19, 2022 17:566,15085,696,35319,679,16202,240,512