Given a positive integer n, return the punishment number of n.
The punishment number of n is defined as the sum of the squares of all integers i satisfying n, such that the decimal string representation of
Constraints:
n
Given a positive integer n, return the punishment number of n.
The punishment number of n is defined as the sum of the squares of all integers i satisfying n, such that the decimal string representation of
Constraints:
n