Main.cc: In function 'int main()':
Main.cc:9:5: error: 'vector' was not declared in this scope
vector arr(N);
^
Main.cc:9:12: error: expected primary-expression before 'int'
vector arr(N);
^
Main.cc:11:16: error: 'arr' was not declared in this scope
cin >> arr[i];
^
Main.cc:16:17: error: 'arr' was not declared in this scope
if (arr[j] > arr[j + 1]) {
^
Main.cc:21:21: error: 'arr' was not declared in this scope
cout << arr[k];
^