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 24, 2023 17:07Andranik ChakiryanAndranik ChakiryanScore: 5,705Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 24, 2023 17:075,62544,279,00516,000,0002,000,0002,342,912
2Feb 24, 2023 17:075,63638,344,79217,034,0001,002,0002,338,816
3Feb 24, 2023 17:075,65746,638,19416,091,0002,011,0002,342,912
4Feb 24, 2023 17:075,67248,341,03317,141,0001,008,0002,342,912
5Feb 24, 2023 17:075,67636,795,89316,144,0002,018,0002,338,816
6Feb 24, 2023 17:075,68092,694,49618,176,23602,256,896
7Feb 24, 2023 17:075,70543,776,67917,243,0001,014,0002,338,816
8Feb 24, 2023 17:075,74993,972,88718,397,95502,195,456
9Feb 24, 2023 17:075,90336,130,56816,902,0001,988,0002,342,912
10Feb 24, 2023 17:075,91744,241,23116,941,0001,993,0002,342,912
11Feb 24, 2023 17:075,92836,303,61316,972,0001,996,0002,342,912
12Feb 24, 2023 17:075,94383,703,31119,018,70602,191,360