回答編集履歴
1
コードの修正
test
CHANGED
@@ -8,15 +8,15 @@
|
|
8
8
|
|
9
9
|
int k[9][14];
|
10
10
|
|
11
|
-
for (int j = 0; j < 14; j++)
|
11
|
+
for (int j = 0; j < 14; j++) {
|
12
12
|
|
13
13
|
k[0][j] = 1;
|
14
14
|
|
15
|
-
for (int i = 1; i < 9; i++)
|
15
|
+
for (int i = 1; i < 9; i++)
|
16
|
-
|
17
|
-
for (int j = 0; j < 14; j++)
|
18
16
|
|
19
17
|
k[i][j] = k[i-1][j] * (j + 1) % 15;
|
18
|
+
|
19
|
+
}
|
20
20
|
|
21
21
|
// k を表示
|
22
22
|
|