The code is running in dev c++ with given testcases with right output,but not submitting here for any of cases. Plz tell where I did wrong?

#include
using namespace std;
int main()
{
int m,n,t;
int arr[100][100];
cin>>m;
cin>>n;
for(int i=0;i<m;i++)
{
for(int j=0;j<n;j++)
{
cin>>arr[i][j];
}
}
for(int j=0;j<n;j++)
{
if(j%2==0)
{
for(int i=0;i<m;i++)
{
cout<<arr[i][j]<<", β€œ;
}
}
else
{
for(int i=m-1;i>=0;i–)
{
cout<<arr[i][j]<<”, ";
}
}
}cout<<β€œEND”;

return 0;

}

@divyanshnigam1612
hello divyansh,
ur code is correct, pls submit after sometime