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 listJan 26, 2024 13:54AnSaAnSaScore: 8,714Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 26, 2024 13:548,572102,326,87627,430,55002,301,952
2Jan 26, 2024 13:548,71496,426,56827,884,44802,310,144
3Jan 26, 2024 13:548,77589,575,56428,080,94102,293,760