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 listFeb 1, 2025 00:29mgildermgilderScore: 5,662Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 1, 2025 00:295,63147,135,58317,019,0001,001,0002,289,664
2Feb 1, 2025 00:295,66244,221,93517,112,0001,006,0002,359,296
3Feb 1, 2025 00:295,66639,891,35216,118,0002,014,0002,375,680