Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <vector>
- #include <iostream>
- using namespace std;
- int N, i;
- int tempo;
- vector<vector<int>> P;
- vector<int> vertici;
- bool cver(int s){
- for (i=0; i<N; i++){
- if(P[0][i]==s) return false;
- }
- return true;
- }
- int main() {cin>>N;
- for(i=0; i<N; i++){
- cin>>P[0][i];
- P[0][i]--;
- }
- for(i=0; i<N; i++){
- cin>>P[1][i];
- P[1][i]--;
- }
- cout<<0;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement