Union of Rectangles (large)

2 secs 1024 MB
Tonegawac

2_small_01.in


入力

出力