Ad
  • Custom User Avatar

    Ze-Marcos, you have to count from 0 to n, and square each number. As shown in the example if n = 10, then you do 0,1,2,3,4,5,6,7,8,9,10. Then you square each of this numbers so you'll get 0,1,4,9,16,25,36,49,64,81,100. Now, you have an integer "d" which is part of the test, and you want to find how many times this integer can be found in the result of squaring all those number. For this example, you can find that the numbers 1,16,81,100 contain the integer defined by d, thus the answer is 4. You also have to paid attention that if there is a number such as 111 the digit will count three times. I hope this clarifies rather than confuse even more.

  • Custom User Avatar

    I do not understand the instructions either please clarify a little more please.

  • Custom User Avatar

    Could you give examples of these contradictions?

  • Custom User Avatar

    The examples seem to contradict each other, have no idea how to interpret these instructions.