Strength of a number

Problem Name:
Strength of a number
Site:HackerEarth
Links:
Tags: