Website Summary Files Commits Branches @commit @diff @stats
path: root / Seminar03 / task02.cpp
diff options
context:
space:
mode:
Commit5004d6b16cd31bd344b97580e084a573927695ba (patch)
Author
 Stoycho Kyosev <68247567+stoychoX@users.noreply.github.com>
2023-08-04 14:37:23 +0200
Committer
 GitHub <noreply@github.com>
2023-08-04 14:37:23 +0200
Files32b4e1296aaaa21d37647e1f88ef8cb84badd3b9 /Seminar03/task02.cpp
Data-structures-and-algorithms-5004d6b16cd31bd344b97580e084a573927695ba.tar
Data-structures-and-algorithms-5004d6b16cd31bd344b97580e084a573927695ba.tar.gz
Data-structures-and-algorithms-5004d6b16cd31bd344b97580e084a573927695ba.zip
Parentd8182cbb9e40f72ef96f40921b79a7add54ab0ce (diff)
Parent9daf1d050f6806996cc97950978cbf4d7a040636 (diff)
Merge pull request #7 from keti200125/keti200125-patch-1
Update task02.cpp
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
+}