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 17, 2025 17:32Aniruddha DebAniruddha DebError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2025 17:3200000Error: expected "977619 ", got "976683 975699 975331 976663 975845 975233 978327 976446 976119 975789 977337 975826 977708 978553 974976 977902 976775 977243 976394 977301 975924 976867 976081 978323 976174 976888 977384 977020 975469 977408 974344 977...stderr