https://twitter.com/atcoder/status/1044494418617626624
https://beta.atcoder.jp/contests/abc110/tasks/abc110_b

これは
x1, ... ,xn < Y < X < Z <= y1, ... ,ym
x1, ... ,xn < Y <= Z < X < y1, ... ,ym
x1, ... ,xn < Z <= Y < X < y1, ... ,ym
のようなケースってこと?

競プロ詳しい人おしえて><
https://twitter.com/5chan_nel (5ch newer account)