![:evil:](./images/smilies/icon_evil.gif)
My Algorithm is :
1. As C >=200 , I iterate a loop to take
for( int take = 0; take * C <=P ; take ++)
2. I get pp = P - C * take , which give me a linear equation of a ,b ....
ax + by = pp
3.Solving the linear Diaphantine Equation , I determine a range for the values for which x , y >= 0 , added the range to counter variable
4. Output ?
Is there anything I am missing..