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 21:37alex3dalex3dScore: 11,793Success
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 21:3711,6672,146,784,71537,332,87802,256,896
2May 14, 2021 21:3711,7092,619,919,35837,467,87802,256,896
3May 14, 2021 21:3711,7301,757,045,15537,537,11002,256,896
4May 14, 2021 21:3711,793988,676,53637,736,32602,252,800
5May 14, 2021 21:3711,861789,103,29237,954,56502,256,896
6May 14, 2021 21:3711,909206,007,85438,109,41602,256,896