diff options
Merge pull request #7 from keti200125/keti200125-patch-1
Update task02.cpp
1 files changed, 3 insertions, 3 deletions
| -rw-r--r-- | Seminar03/task02.cpp | 6 |
diff --git a/Seminar03/task02.cpp b/Seminar03/task02.cpp index e5ab8a7..ffc6a30 100644 --- a/Seminar03/task02.cpp +++ b/Seminar03/task02.cpp @@ -11,8 +11,8 @@ class minMoves { board playground; void cleanPlayground() { - for (auto &col : playground) - for (auto &pos : col) + for (auto &row : playground) + for (auto &pos : row) pos = false; } @@ -90,4 +90,4 @@ int main() { minMoves<2> mt; std::cout << mt.getMinMoves({0, 0}, {12, 212}); -}
\ No newline at end of file +} |
