number theory

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 .

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!! :stuck_out_tongue: