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 20, 2024 15:35Matt StuchlikMatt StuchlikError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 15:3500000Error: expected "975094 ", got "974838"
2Jul 20, 2024 15:3800000Error: expected "975490 ", got "974978"
3Jul 20, 2024 15:3900000Error: expected "975869 ", got "975613"
4Jul 20, 2024 15:3900000Error: expected "977774 ", got "977262"
5Jul 20, 2024 15:3900000Error: expected "978433 ", got "978177"
6Jul 20, 2024 15:3900000Error: expected "976039 ", got "975783"
7Jul 20, 2024 15:354,93195,065,07715,778,85202,293,760
8Jul 20, 2024 15:354,95664,619,22115,858,80902,297,856
9Jul 20, 2024 15:354,98680,677,23915,956,25002,293,760