Wrong judgement for GCDDIV in April Lunchtime

Question is related to April Lunchtime 2018

The problem code is GCDDIV I found two submissions which got 100 points One is


and the second is


The first submission got 100 points event thought It does not deserve 100 points because that fails for the test cases like


3 6

101 10201 1030301

For this the solution 18380850 gives its answer as “YES”

but the right answer is “NO” solution 18375921 gives correct answer as “NO” for the above test case

Now I want this to be looked upon by the codechef.

1 Like