Run id: 128334

Main.cc: In function 'int main()':
Main.cc:4:7: error: 'n' was not declared in this scope
 int a[n],b[n];
       ^
Main.cc:6:7: error: 'a' was not declared in this scope
  cin>>a[i];
       ^
Main.cc:8:2: error: 'b' was not declared in this scope
  b[i]=a[a[i]];
  ^
Main.cc:8:7: error: 'a' was not declared in this scope
  b[i]=a[a[i]];
       ^
Main.cc:10:8: error: 'b' was not declared in this scope
  cout<