要习惯用vector代替数组

cin>>n>>m;

vector<int>a(n),b(m);

或者:

vector<int>a(n,0),b(m,0);

原文地址:https://www.cnblogs.com/zwx7616/p/11188556.html