Why am i gettign Wrong Ans in This question ?

https://www.codechef.com/viewsolution/8557284

It is an easy question.
Problem Link – https://www.codechef.com/problems/GROWGOLD

1 Like
//