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 25, 2023 22:30Andranik ChakiryanAndranik ChakiryanScore: 5,652Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 25, 2023 22:305,61544,043,24516,971,000998,0002,342,912
2Feb 25, 2023 22:305,61836,142,44415,979,0001,997,0002,355,200
3Feb 25, 2023 22:305,62744,125,23917,006,0001,000,0002,342,912
4Feb 25, 2023 22:305,62843,673,12517,011,0001,000,0002,342,912
5Feb 25, 2023 22:305,63247,679,62916,021,0002,002,0002,342,912
6Feb 25, 2023 22:305,64741,517,55516,063,0002,007,0002,342,912
7Feb 25, 2023 22:305,65240,620,84815,073,0003,014,0002,338,816
8Feb 25, 2023 22:305,65746,493,45317,097,0001,005,0002,359,296
9Feb 25, 2023 22:305,66647,553,57816,118,0002,014,0002,342,912
10Feb 25, 2023 22:305,67882,103,30818,170,06102,191,360
11Feb 25, 2023 22:305,73475,982,83618,348,88502,191,360
12Feb 25, 2023 22:305,73864,306,64318,362,43502,179,072