CodePudding user response:
First of all a suggestion with dynamic application space (new/delete, malloc/free); Because the length of the array input decision,The second point, z function proposed increases in two parameters, respectively is the row, col used to receive the main function of n and m, because n, m value may be less than 900, 450
So, if less than, then z function with 900, 450 is not ok, because the extra element is a random number, overtime may be the result of this reason,
The third point: the function name is not recommended in a letters, so and a parameter name is basically no difference, not easy to understand the code;
CodePudding user response:
Screenshots are not fullCodePudding user response:
The other will be only two examplesCodePudding user response:
The