Mr. X is a school teacher. He teaches C programming to the students. In every class, he gives some s…
Click here to read the complete problem statement.
If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.
Hello,
I have attempted to solve this simple problem with JS and got WA in the last test case. I have solved it with C++ , though. Is there any catch? Or, is it just any simple error in the dataset?
Hi @shamin_asfaq, you guessed it right. There was an issue with the dataset. Thank you for bringing this to our attention. Your submissions have been rejudged.