c语言实现 #include <stdio.h> int main() { int n,m,i,t; while(scanf("%d %d",&n,&m)!=EOF) { int a[n],b[m]; &n...