TIME LIMIT EXCEED

hi @Rama when using nested loops, make sure you are using different variable names for each loop

https://ide.codingblocks.com/s/331944 .I have made changes in my code again it is showing TLE,

hi @Rama where have you made the changes?
image
the code is still the same

for nested loops dont use the variable “row” for each loop, you can use different names such as i,j,k etc

@Rama for eg

for (i = 0; i < n; i++) {
    for (j = 0; j < n; j++) {
        cout << "*";
    }
}

https://ide.codingblocks.com/s/330034.Only one test case is passing .can you fix it

@Rama what is the error message in other test cases?

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.