HACK THE MONEY PROBLEM

iam solving like this …is it correct approach??

…can you help me??

problem link:Programming tutorials, Coding problems, and Practice questions

1 Like

i can’t find the problem, but it was in one of the codechef’s challenge.

edit: found the problem.here is the editorial CKWLK - Editorial - editorial - CodeChef Discuss