atcoder#CF17FINALF. Distribute Numbers
Distribute Numbers
Score : points
Problem Statement
Select any integer between and (inclusive), and any integer not less than , then solve the problem below.
Problem
We have sheets of paper. Write integers on each of them to satisfy the following conditions:
- Each integer written must be between and (inclusive).
- The integers written on the same sheet must be all different.
- Each of the integers between and must be written on exactly sheets.
- For any two sheet, there is exactly one integer that appears on both.
Input
There is no input in this problem.
Output
In the first line, print and separated by a space.
In the subsequent lines, print your solution. The -th of these lines must contain the integers written on the -th sheet, with spaces in between.
Sample Output
3 2
1 2
2 3
3 1
This is an example of a solution for and .
Note that this output will be judged as incorrect, since the constraint on is not satisfied.