求一份通用的模板
具体来说,就是给出while(l opt r)中的opt是<还是<=,以及
while(l opt r)
opt
<
<=
if(chack(mid)) ... else ...
中的两个...分别应该写什么。
...
感谢。