Yes. She needs to test they are squares.

She will be commiting to the wrong positive value (N-x) and not x.

  1. Yes. She needs to test they are squares.
  2. She will be commiting to the wrong positive value (N-x) and not x.