Outside the put function, you declare the Int a [N] [N].
Your function void put (c int a, b int, int, int d, int e)
Then put inside the function, when you use the variable "a", "a" represents the put function at this time of the first parameter, namely "int a", rather than on the outside of the function declaration "int a [N] [N]"
The solution: To make the "int a [N] [N]." Have to do is change the variable name, such as "int p [N] [N]."
CodePudding user response:
Const int N=10000; Int a [N] [N]. So make, stack enough?