#include <stdio.h> int main() { //得到n,m两个数 int m, n; scanf("%d %d\n", &n, &m); //扫描第一个序列数组 int sequencearray1[1000]; for (int i = 1; i <= n; i++) { int index = 0; scanf("%d", &index); sequencearray1[i] = index; ...