// A positive (strictly greater than zero) integer is called round if it is of the form d00...0. In other words, a positive integer is round if // all its digits except the leftmost (most significant) ...
Given a nested list of integers, return the sum of all integers in the list weighted by their depth. Each element is either an integer, or a list -- whose elements may also be integers or other lists.