二分完美石堆主函数求调

image

	l=0,r=1e9;
		while(l<r){
			mid=(l+r)/2;
			if(check())l=mid;
			else r=mid;
		}
2 个赞