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 listJan 2, 2023 22:00Jack FrigaardJack FrigaardScore: 4,825Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 22:004,77644,511,58014,265,0001,018,0002,285,568
2Jan 2, 2023 22:004,79736,963,37513,304,0002,046,0002,285,568
3Jan 2, 2023 22:004,81831,362,76213,362,0002,055,0002,285,568
4Jan 2, 2023 22:004,82135,732,87013,370,0002,057,0002,285,568
5Jan 2, 2023 22:004,82233,852,07214,401,0001,028,0002,285,568
6Jan 2, 2023 22:004,82333,260,77014,406,0001,029,0002,285,568
7Jan 2, 2023 22:004,82538,832,44314,412,0001,029,0002,269,184
8Jan 2, 2023 22:004,85331,288,30213,461,0002,070,0002,527,232
9Jan 2, 2023 22:005,00242,962,82613,006,0003,001,0002,285,568
10Jan 2, 2023 22:005,08489,805,05416,268,48502,297,856
11Jan 2, 2023 22:005,10177,049,50916,324,61602,301,952
12Jan 2, 2023 22:005,12285,777,39416,388,93102,293,760