PHPz2017-04-17 13:03:43
Writing "m <= j" is irregular and should be written in the form of "m == j".
is actually written as
if(m == j)
break;
is also problematic, because only the inner loop is broken, and the outer loop is not broken. The loop continues to execute, and the function does not end.
can be written as:
if(m == j)
return i;
Anyway, this code is messy. Don’t worry about this code. If you read this kind of code too much, it will affect your programming level.