回答編集履歴
1
微修正
test
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
-
|
1
|
+
```
|
2
2
|
|
3
|
+
int **m=(int**)malloc(N*sizeof(int*));
|
4
|
+
|
3
|
-
|
5
|
+
m[0]=(int*)malloc(N*N*sizeof(int));
|
6
|
+
|
7
|
+
```
|
4
8
|
|
5
9
|
|
6
10
|
|