2 solutions

  • -1
    @ 2023-6-10 12:17:48

    模拟即可。

    • -3
      @ 2023-6-16 11:12:32

      很好,直接 axyaxa_x - y \to a_x 即可。

      • 1

      Information

      ID
      8109
      Time
      2000ms
      Memory
      512MiB
      Difficulty
      1
      Tags
      # Submissions
      6
      Accepted
      1
      Uploaded By