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 listJul 26, 2024 21:02Vilya HarveyVilya HarveyScore: 13,818Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 20:5913,019102,286,01941,660,86902,306,048
2Jul 26, 2024 20:5913,164107,049,17742,123,99902,179,072
3Jul 26, 2024 20:5913,679112,418,39843,773,15802,301,952
4Jul 26, 2024 20:5713,816115,133,93744,210,53802,179,072
5Jul 26, 2024 20:5713,818106,676,40244,218,72602,179,072
6Jul 26, 2024 20:5713,892114,392,13844,455,75602,174,976
7Jul 26, 2024 21:0218,238129,098,47658,361,64102,183,168
8Jul 26, 2024 21:0218,255115,017,64458,415,81502,179,072
9Jul 26, 2024 21:0218,296128,139,37958,546,04202,306,048