if arr [ ss ] is a perfect square number
if ( isPerfectSquare ( arr [ ss ] ) ) : NEW_LINE INDENT st [ si ] = 1 NEW_LINE DEDENT else : NEW_LINE INDENT st [ si ] = 0 NEW_LINE DEDENT return st [ si ] NEW_LINE