You are given an integer array nums containing positive integers.
We define an operation encrypt(x) that replaces every digit in an integer x with the largest digit in x.
Return the total sum of the encrypted integers in nums.
Constraints:
nums.length
nums[i]
You are given an integer array nums containing positive integers.
We define an operation encrypt(x) that replaces every digit in an integer x with the largest digit in x.
Return the total sum of the encrypted integers in nums.
Constraints:
nums.length
nums[i]