My code is running with the customed testcases but it’s displaying wrong answer after submitting…I don’t know How do I deal with corner case .please check my code.
I don’t think there are corner cases in this problem, could you provide your code/link to the submission?
I have attached the code link
Should I try this sum using JAVA / python??
Go back to your first submission and add a new line after printing “Yes” or “No”. It’s a silly mistake you made.
There can be mutliple testcases, so essentially your output will look like:
I wrote it in JAVA nd it could run for the only reason I used println …I got it should have used endl in cpp …thankyou dude
Yes got it now .Thankyou