I've spent some time thinking about this problem, and for the first time of solving many questions i don't get the question itself. I somehow get the basic mechanics of this problem. But i don't know what to solve? what the question is aksing me. this is the question linkMashmokh & Tokens. I looked up at the editorial but then there's magically an assumption of k initial tokens, my thought was if i am given x tokens a day and there's some conversion for it in dollars the greedy approach would be to sell all the tokens to maximize profit, what's wrong with my thinking? ciao



