Advertisement
metalni

print[C++]

Nov 10th, 2020
1,024
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main(void){
  6.     int n;
  7.     cin>>n;
  8.     string rel[25];
  9.     string abs[25];
  10.  
  11.     for(int i=0; i<n; i++)
  12.         getline(cin, rel[i]);
  13.  
  14.     for(int i=0; i<n; i++)
  15.         getline(cin, abs[i]);
  16.  
  17.     for(int i=0; i<n; i++)
  18.         cout << "cp -as " << "\"$(pwd)" << abs[i] << "\"" << " " << rel[i] << "\n";
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement