参考网址
https://www.luogu.com.cn/problem/P2556
#include<iostream>
#include<stdio.h>
using namespace std;
//《黑白图像压缩》
//https://www.luogu.com.cn/problem/P2556
namespace BitMap{
//处理中中间的位图(补充说明:题目中提到连续1或0的个数不超过128即可以用7个位来存,所以不用考虑count>128的情况)
void HandleBitMap(unsigned char &x,unsigned char &head,unsigned char &count)
{
for(int i=0;i<8;i++,x=x<<1)
{
if(head==0x80)
{
if( (x & 0x80) =&