shouldn't it be the other way round? as in all the integers less than m whose sum of the digits squared is equal to n. Because in the description, n is always a square number. and the some of the numbers in the list of numbers given in the description are bigger than m
shouldn't it be the other way round? as in all the integers less than m whose sum of the digits squared is equal to n. Because in the description, n is always a square number. and the some of the numbers in the list of numbers given in the description are bigger than m
Thank you!
Fixed
Should be fixed now
You are not supposed to know XD. It is part of the kata. I suggest you to test your patterns here
i had troubles too and i wonder how you came up with such a lovely solution... well done !