秋招模拟赛第二十六场|华为春招实习|2023.05.17
- Status
- Done
- Rule
- IOI
- Problem
- 3
- Start at
- 2023-6-9 19:00
- End at
- 2023-6-9 21:00
- Duration
- 2 hour(s)
- Host
- Partic.
- 32
No testdata at current.
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
首先,我们发现只要给定n和m,那么一整张图就会被固定。因此,我们不需要尝试去构造整个图。
对于每次对于给定ID(数值记为x),询问方块组,具体做法如下:
本题属于以下题库,请选择所需题库进行购买