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 14, 2021 11:14glebarezglebarezScore: 25,499Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 14, 2021 11:1425,475134,973,19581,521,01102,228,224
2May 14, 2021 11:1425,499152,007,44681,596,85202,232,320
3May 14, 2021 11:1425,588146,119,48981,882,91602,228,224