My issue
Failed on a hidden test case
My code
#include <stdio.h>
int main() {
int originalMatrix[3][3];
int transposeMatrix[3][3];
// Read the elements of the original matrix
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
scanf("%d", &originalMatrix[i][j]);
}
}
// Solution as follows - Calculate the transpose and print
return 0;
}
Learning course: Programming and Problem solving using C
Problem Link: https://www.codechef.com/learn/course/ciet-programming-c/CIETPC28A/problems/PPSC220