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 listJun 12, 2024 23:24джулисджулисScore: 5,574Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 23:245,50441,631,23817,614,00002,375,680
2Jun 12, 2024 23:245,50836,039,41616,589,0001,036,0002,293,760
3Jun 12, 2024 23:245,53044,712,16717,697,00002,293,760
4Jun 12, 2024 23:245,54145,924,36216,688,0001,043,0002,293,760
5Jun 12, 2024 23:245,54247,794,50117,735,00002,375,680
6Jun 12, 2024 23:245,54544,120,59516,700,0001,043,0002,293,760
7Jun 12, 2024 23:245,57434,557,31115,855,0001,981,0002,293,760
8Jun 12, 2024 23:245,57645,297,47315,861,0001,982,0002,293,760
9Jun 12, 2024 23:245,58046,885,54615,872,0001,984,0002,293,760
10Jun 12, 2024 23:245,77782,480,98918,485,97502,248,704
11Jun 12, 2024 23:245,78478,507,91018,510,38402,240,512
12Jun 12, 2024 23:245,82295,164,45618,631,48802,252,800