diff --git a/src/algorithm/fenzhi/mianxiangjieguobiancheng.cpp b/src/algorithm/fenzhi/mianxiangjieguobiancheng.cpp index bde88d2..8d287f0 100644 --- a/src/algorithm/fenzhi/mianxiangjieguobiancheng.cpp +++ b/src/algorithm/fenzhi/mianxiangjieguobiancheng.cpp @@ -8,8 +8,7 @@ int main() { int arr[size][size]; for (int i = 0; i < m; i++) { for (int j = 1 + (i * 2); j <= 2 + (i * 2); j++) { - - arr[j][k] = j + (i * 2); + arr[i][j] = j + (i * 2); } for (int k = 1 + (i * 2); k <= 2 + (i * 2); k++) { }