4720: P9422 [蓝桥杯 2023 国 B] 合并数列
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description

Input

Output

Sample Input Copy
4 3
1 2 3 4
1 5 4
Sample Output Copy
1
HINT
