#18844. 历史
历史
说明
输入格式
输出格式
5 3
1 1 1 1 1
1 2
1 3
2 4
2 5
2 1
3 1
4 1
6
7
9
10
5 3
1 1 1 1 1
1 2
1 3
2 4
2 5
2 1
3 1
4 1
6
7
9
10
By signing up a 算道OJ universal account, you can submit code and join discussions in all online judging services provided by us.