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 19, 2024 07:13matsuoka-601matsuoka-601Error
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2024 07:1300000Error: expected "977913 ", got "977914"
2Jul 19, 2024 07:144,83477,811,14915,468,44702,179,072
3Jul 19, 2024 07:144,83472,714,51215,470,07102,301,952
4Jul 19, 2024 07:304,83681,996,37615,474,10302,301,952
5Jul 19, 2024 07:304,83887,164,49415,483,01902,297,856
6Jul 19, 2024 07:144,841104,652,84715,492,17102,301,952
7Jul 19, 2024 07:304,88086,056,53115,614,75302,293,760