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 23, 2023 23:15Andranik ChakiryanAndranik ChakiryanScore: 5,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 23, 2023 23:155,61844,296,60415,979,0001,997,0002,342,912
2Feb 23, 2023 23:155,62243,096,06416,990,000999,0002,351,104
3Feb 23, 2023 23:155,62242,425,08516,992,000999,0002,342,912
4Feb 23, 2023 23:155,62535,265,33816,000,0002,000,0002,338,816
5Feb 23, 2023 23:155,63745,654,54315,032,0003,006,0002,338,816
6Feb 23, 2023 23:155,64742,960,43517,067,0001,003,0002,342,912
7Feb 23, 2023 23:155,65047,669,58715,068,0003,013,0002,478,080
8Feb 23, 2023 23:155,65745,884,10416,092,0002,011,0002,342,912
9Feb 23, 2023 23:155,66879,269,78618,138,71402,179,072
10Feb 23, 2023 23:155,68342,325,70316,167,0002,020,0002,338,816
11Feb 23, 2023 23:155,72262,286,58818,310,87302,183,168
12Feb 23, 2023 23:155,79463,924,43618,539,67302,191,360