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, 2021 18:45Yurkov AlekseyYurkov AlekseyScore: 6,567Success
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, 2021 18:456,48098,707,24420,735,85602,174,976
2May 17, 2021 18:456,50691,166,65520,818,31402,289,664
3May 17, 2021 18:456,55882,913,18220,986,73402,293,760
4May 17, 2021 18:456,56787,256,21421,014,74502,285,568
5May 17, 2021 18:456,57091,895,81621,025,29602,297,856
6May 17, 2021 18:456,58360,283,77521,065,19802,174,976