链接:https://ac.nowcoder.com/acm/contest/881/A来源:牛客网 Two arrays u and v each with m distinct elements are called equivalent if and only if RMQ(u,l,r)=RMQ(v,l,r)输入描述:The input consists of several test cases and is terminated by end-of-file. The first line of each test case contains an integer n.The sec...