Advertisement
Saverix339

Untitled

Apr 5th, 2021
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.45 KB | None | 0 0
  1. #include <vector>
  2. #include <iostream>
  3.  
  4. using namespace std;
  5.  
  6. int N, i;
  7. int tempo;
  8. vector<vector<int>> P;
  9. vector<int> vertici;
  10.  
  11. bool cver(int s){
  12.     for (i=0; i<N; i++){
  13.         if(P[0][i]==s) return false;
  14.     }
  15.     return true;
  16. }
  17.  
  18. int main() {cin>>N;
  19.     for(i=0; i<N; i++){
  20.         cin>>P[0][i];
  21.         P[0][i]--;
  22.     }
  23.     for(i=0; i<N; i++){
  24.         cin>>P[1][i];
  25.         P[1][i]--;
  26.     }
  27.  
  28.    
  29.    
  30.     cout<<0;
  31.     return 0;
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement