Just a query, not asking for any hints or solutions. In the Unit GCD problem of Div 2 does the problem really accept ONE of the many solutions because I have tried a lot and my code did pass some sample test cases correctly but still I am getting WA on submission. Anybody else facing the same issue?
Did you ever consider the possibility that your code might be wrong?
I think after seeing the number of submissions, it’s obvious that the question is correct.
Tried hard ? Try harder
Ya. Many times. But after going through many sample test cases, it came out to be correct. But maybe I am missing some edge case.
Your code is wrong. Nothing to discuss here