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 listFeb 15, 2023 22:20Andranik ChakiryanAndranik ChakiryanScore: 61,014Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 15, 2023 22:2061,009263,312,059195,229,91802,252,800
2Feb 15, 2023 22:0761,011265,224,531195,234,48702,252,800
3Feb 15, 2023 22:0761,012252,812,916195,236,84102,244,608
4Feb 15, 2023 22:2061,014264,659,412195,243,82002,256,896
5Feb 15, 2023 22:0761,026262,674,185195,282,01302,256,896
6Feb 15, 2023 22:2061,035256,231,800195,312,09502,252,800