cf/mirror

Game on Ranges

CF
1623B1100· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
1
1 1
3
1 3
2 3
2 2
6
1 1
3 5
4 4
3 6
4 5
1 6
5
1 5
1 2
4 5
2 2
4 4
Output
1 1 1
 
1 3 1
2 2 2
2 3 3
 
1 1 1
3 5 3
4 4 4
3 6 6
4 5 5
1 6 2
 
1 5 3
1 2 1
4 5 5
2 2 2
4 4 4
1623B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…