Guys i have been meaning to ask that there are some codes that i went through for the question here, and the solution code is not running in my normal online compiler. What shall be the reason and how can i solve this problem to avoid this in future ?
What exactly happens? Can you maybe post your code?
My code ;
Don't know why the online compiler isn't showing any output, and also there was a code that i came across and the same problem happened again, the online compiler wasn't showing any output for that code too.
Here's the code of that person that i came across ;
I understood the code but couldn't understand why these codes show no output on the compiler ?
maybe consider not inputing the number of test cases
thanks man! both codes were accepted