editorial: https://atcoder.jp/contests/abc195/editorial/902
prob: https://atcoder.jp/contests/abc195/tasks/abc195_b
I’m not able to fully understand how this solution is correct
for tc: 300 333 1
how will the value of M is going to be zero because 1000n <= 333 n where n is lets say 1