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:22alex3dalex3dScore: 11,819Success
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:2211,80398,109,01437,769,11802,211,840
2May 15, 2021 19:2211,819112,042,33937,820,87802,228,224
3May 15, 2021 19:2211,846115,045,68237,907,25602,220,032