##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
| # | Title | Points | Solved | Admin | |
|---|---|---|---|---|---|
You are given a grid with rows and columns. The cell in row and column has height .
You want to place a rectangular banner on the grid. A banner is determined by four integers such that and .
The score of this banner is:
where the minimum is taken over all cells satisfying and .
Let be the maximum possible score of a banner.
You do not need to find an optimal banner. You only need to output any banner whose score is at least half of .
In other words, if the score of your banner is , your output is accepted if .
For each test case, output four integers , describing the banner you choose.
The output must satisfy and .
If the score of your banner is , it must satisfy .
The output format is:
The chosen banner covers rows to and columns to .
All cells inside it have height , and its area is , so its score is .
The rectangle from row to row and column to column has score , so the shown output is not optimal. Still, a score of is enough because it is at least half of the optimal score.