Given 2 numbers a and b, what is the maximum number which can not be formed using n*a + m*b

this problem is now in Codechef contest , delet your comment .

you are not allowed to ask/discuss anything related to live contest problems

Oops! Didnâ€™t knew it was a contest question. Deleted my answer!

1 Like

Btw, now I solved that problem!!