1.Wrong Logic Without LCM Still 100/100 !!

2.Right Logic With LCM 100/100 !!

This Solution contains wrong logic still it gives 100/100

This Solution only gives perfect answer when they give input A & B as the LCM(A,B) is A or B only.else it’s wrong u can check that.

The Hidden test case files only contains that input in which LCM(A,B) is A or B… so Test Cases are not considering all conditions…

Even The Example Test case is not in that test case file !! Because this solution gives wrong answer in that example test case also !!! still it gives AC(100/100) !!!