Main.cc: In function 'int main()':
Main.cc:17:18: error: invalid types 'int[int]' for array subscript
cout << b[i[j] << " ";
^
Main.cc:17:26: error: expected ']' before ';' token
cout << b[i[j] << " ";
^