why i am getting 30 points?

what are the test cases on which this code get fails?

Problem-https://www.codechef.com/LTIME49/problems/TWONMS

solution-

```
if(n==1)
{
cout<<max(a*((n/2)+1)*2,b)/min(a*((n/2)+1)*2,b)<<endl;
}
else if(n%2==0)
{
cout<<max(a*(n/2)*2,b*(n/2)*2)/min(a*(n/2)*2,b*(n/2)*2)<<endl;
}
else
{
cout<<max(a*((n/2)+1)*2,b*(n/2)*2)/min(a*((n/2)+1)*2,b*(n/2)*2)<<endl;
}
```