fork download
  1. #include<bits/stdc++.h>
  2. using namespace std;
  3. const int MaxN=2e5;
  4. const int MaxA=1e9;
  5. int N,M;
  6. int A[MaxN];
  7. int B[MaxN];
  8. int main(){
  9. cin>>N>>M;
  10. for(int n=0; n<N; n+=1)
  11. cin>>A[n];
  12. for(int m=0; m<M; m+=1){
  13. cin>>B[m];
  14. B[m]+=1;
  15. }
  16. }
Success #stdin #stdout 0.01s 5280KB
stdin
13
1 2
1 3
1 1
1 3
1 2
2 3
1 3
1 3
2 3
1 3
2 2
2 3
2 1
stdout
Standard output is empty