Can anyone please tell why this solution for todays encoding contest…problem 6 is showing WA?
Question-
Hey @shashank8989, your code is not working because of the lines 34 -36. There’s no need to check for that equality, without that your code is working fine.
Check this : Solution
Ohh ok… Actually i put that line coz i was getting WA before… Its weird that it works now maybe i messed up something thanks anyways bro