Website Summary Files Commits Branches @commit @diff @stats
path: root / Seminar03 / task02.cpp
diff options
context:
space:
mode:
1 files changed, 3 insertions, 3 deletions
-rw-r--r--Seminar03/task02.cpp6
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
+}