In
line 19 if
statement judgment, if there is a negative sign in the string, then flag becomes -1, why is P++ repeated judgment still required in line 21. Or is this the end of the if statement, P++ is preparing for the next while loop, which is to ignore the previous sign and just judge the string, right?