这道题非常卡常这儿有个方法
for(int i=1;i<=n;i++){ const int len=a[i].size(); for(int j=0;j<len*5/8.0;j++){ //删边 } }
这里的len*5/8.0可以减少枚举量但是有点赌数据