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 listJan 16, 2022 00:16MansurMansurScore: 7,626Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 16, 2022 00:167,56389,660,04224,203,12502,174,976
2Jan 16, 2022 00:177,58696,948,13324,276,30502,301,952
3Jan 16, 2022 00:177,61789,045,08624,374,56802,293,760
4Jan 16, 2022 00:167,626100,008,92824,404,10102,301,952
5Jan 16, 2022 00:177,65091,925,18924,481,12602,174,976
6Jan 16, 2022 00:167,71489,251,50124,685,07002,297,856