#include
using namespace std;
int main()
{
int a[10][10];
int M,N;
cin>>M>>N;
for(int i=0;i<M;i++)
{
for(int j=0;j<N;j++)
{
cin>>a[i][j];
}
}
for(int i=0;i<N;i++)
{
for(int j=0;j<M;j++)
{
cout<<a[j][i]<<",";
}
}
cout<<“END”;
return 0;
}
Now why is this code not submitting???
I have run this code multiple times on my pc it is working well but why it is not submitting here?
And also what are these test cases ?