Problem 28505 --K 大数查询

28505: K 大数查询

Time Limit: 2 Sec  Memory Limit: 512 MB
Submit: 1  Solved: 1
[Submit][Status][Web Board][Creator:][下载FPS0元][添加到购物车][下载测试数据0元][7460kb]

Description

Input

Output

Sample Input

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

Sample Output

1
2
1

HINT

Source

[Submit][Status]