题面格式有误
  • 板块CF494E Sharti
  • 楼主Soulist
  • 当前回复2
  • 已保存回复2
  • 发布时间2020/11/2 20:59
  • 上次更新2023/11/5 09:10:49
查看原帖
题面格式有误
30036
Soulist楼主2020/11/2 20:59

输入格式处为题面描述。

下面的是原输入格式:


In this problem the initial board is specified as a set of $m$ rectangles. All cells that lie inside at least one of these rectangles are colored white and the rest are colored black.

In the first line of input three space-spereated integers $n,m,k(1\le k\le n\le 10^9,1\le m\le 5\times 10^4)$ follow, denoting size of the board, number of rectangles and maximum size of the turn square during the game, respectively.

In $i$ - th line of the next $m$ lines four space-seperated integers $a_i,b_i,c_i,d_i(1≤a_i≤c_i≤n, 1≤b_i≤d_i≤n)$ are given meaning that $i$ - th rectangle determining the initial board is a rectangle with upper-left cell at $(a_i,b_i)$ and lower-right cell at $(c_i,d_i)$.

In this problem the initial board is specified as a set of mm rectangles. All cells that lie inside at least one of these rectangles are colored white and the rest are colored black.

In the first line of input three space-spereated integers n,m,k(1kn109,1m5×104)n,m,k(1\le k\le n\le 10^9,1\le m\le 5\times 10^4) follow, denoting size of the board, number of rectangles and maximum size of the turn square during the game, respectively.

In ii - th line of the next mm lines four space-seperated integers ai,bi,ci,di(1aicin,1bidin)a_i,b_i,c_i,d_i(1≤a_i≤c_i≤n, 1≤b_i≤d_i≤n) are given meaning that ii - th rectangle determining the initial board is a rectangle with upper-left cell at (ai,bi)(a_i,b_i) and lower-right cell at (ci,di)(c_i,d_i).

2020/11/2 20:59
加载中...