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 listSep 8, 2022 18:05Bernard TeoBernard TeoScore: 5,478Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 8, 2022 18:055,46898,641,25817,496,04902,293,760
2Sep 8, 2022 18:105,47480,472,98617,516,39502,293,760
3Sep 8, 2022 18:055,47694,316,52317,524,62602,297,856
4Sep 8, 2022 18:055,47679,815,75517,523,18402,289,664
5Sep 8, 2022 18:105,47864,718,65917,529,80602,293,760
6Sep 8, 2022 18:055,48977,839,38317,563,62602,285,568
7Sep 8, 2022 18:055,49299,682,57817,573,24602,285,568
8Sep 8, 2022 18:055,49290,504,94417,575,71402,301,952
9Sep 8, 2022 18:105,50485,302,40617,611,46402,265,088