#1684. K 大数查询

    ID: 1684 Type: Default 2000ms 512MiB Tried: 1 Accepted: 1 Difficulty: 10 Uploaded By: Tags>ZJOI2013 NOIP 省选 高级

K 大数查询

说明

样例

2 5
1 1 2 1
1 1 2 2
2 1 1 2
2 1 1 1
2 1 2 3
1
2
1