CodePudding user response:
The same I, the same values,Don't you think it is a bit messy?
CodePudding user response:
Like upstairs said, you use two same loop variable meaning don't understand, if you are with I stubbornly, the outermost circulation loop only once, so I did not meet the conditions,If it was a slip of the pen, (such as with j) in terms of circulation, is not the same, the left 2 n times, on the right side of the loop n * n, s final value is the sum of n times