第二行包含N个整数,表示A1,A2,…,AN。
数据范围 1≤N≤100, 1≤M≤10000, 1≤Ai≤1000
4 4 1 1 2 2
3
注册一个 Turing 通用账户,您就可以在我们提供的所有在线评测服务上提交代码、参与讨论。
使用您的 Turing 通用账户