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 listMay 5, 2025 11:35Aniruddha DebAniruddha DebScore: 4,780Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 5, 2025 11:354,76045,888,99414,216,0001,015,0002,269,184
2May 5, 2025 11:354,78046,195,82415,297,00002,428,928
3May 5, 2025 11:354,81755,352,42914,387,0001,027,0002,269,184