1926C - Vlad and a Sum of Sum of Digits i couldn't find optimal solution in the contest for this problem so after the contest i looked at editorial and it was actually easy. but i tried some submissions and i get TLE 2.
247790985 please look at this submission which i get tle 2