Find the mistake in my code

#include
#include
using namespace std;
int main() {
int m;
cin >> m;
int n;
cin >> n;

vector<vector<int>> arrr(m,vector<int>(n));
for(int i=0;i<m;i++){
	for(int j=0;j<n;j++){
		cin>>arrr[i][j];
	}
}
for(int col=0;col<n;col++){
	if(col%2==0){
		for(int i=0;i<m;i++){

cout<<arrr[i][col]<<" ";
}

	}
	else{
		for(int i=m-1;i>=0;i--){
			cout<<arrr[i][col]<<" ";
		}
	}
}
cout<<"END";
return 0;

} what is error in my code