警示后人
查看原帖
警示后人
760291
zhangbo1000楼主2024/12/18 07:04

不离散化的话 l+r 可能爆 int,建议写成:

  • unsigned int
  • long long
  • l+(r-l)/2
2024/12/18 07:04
加载中...