help needed in codeforces round #604 (div2 ) problem B
how to solve this problem ?1265B - Beautiful Numbers
here is my submission in python 82612211
ok sorry for the joke if you don't find it funny.
but seriously i am not able to understand the idea of the editorial. please help me in this problem.