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 15, 2021 19:23alex3dalex3dScore: 12,298Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 19:2312,25299,592,26339,206,03302,179,072
2May 15, 2021 19:2312,298103,627,90139,352,29902,179,072
3May 15, 2021 19:2312,45098,536,13939,838,72702,301,952