bdfz_2024_summer/day2/P7514/P7514.cpp

33 lines
520 B
C++
Raw Normal View History

2024-08-03 08:09:49 +00:00
#include <bits/stdc++.h>
using namespace std;
2024-08-03 08:41:01 +00:00
//DEBUG
#define PRINT_VEC(vec) {\
cout<<"\n"<<#vec<<" [";\
for (size_t i=0; i<vec.size(); i++) {\
cout<<vec[i]<<(i!=vec.size()-1?",":"]\n");\
}\
}
2024-08-03 08:09:49 +00:00
#define int long long
2024-08-03 08:41:01 +00:00
// #define p_vec(n) cout<<"n"<<endl;
2024-08-03 08:09:49 +00:00
const int MAX_N = 1e6+6;
2024-08-03 08:41:01 +00:00
int n,m;
2024-08-03 08:09:49 +00:00
signed main(){
cin>>n>>m;
2024-08-03 08:41:01 +00:00
vector<int> a(n),b(n);
for (int i=0; i<n; i++) {
2024-08-03 08:09:49 +00:00
cin>>a[i];
}
2024-08-03 08:41:01 +00:00
PRINT_VEC(a)
for (int i=0; i<n; i++) {
2024-08-03 08:09:49 +00:00
cin>>b[i];
}
2024-08-03 08:41:01 +00:00
PRINT_VEC(b)
2024-08-03 08:09:49 +00:00
}