有大佬会吗

2 comments

  • @ 2023-10-10 16:15:37

    二分答案,每次看 check(mid) 是否为真,如果是 l=mid 否则 r=mid

    • @ 2023-10-6 12:53:25

      二分答案

      • 1

      Information

      ID
      182
      Time
      1000ms
      Memory
      256MiB
      Difficulty
      3
      Tags
      # Submissions
      15
      Accepted
      6
      Uploaded By