Given 2 numbers a and b, what is the maximum number which can not be formed using na + mb
this problem is now in Codechef contest , delet your comment .
Oops! Didn’t knew it was a contest question. Deleted my answer!
you are not allowed to ask/discuss anything related to live contest problems
Btw, now I solved that problem!!