Compare commits
2 commits
47b21b2331
...
813bf64be5
Author | SHA1 | Date | |
---|---|---|---|
813bf64be5 | |||
2028e3c1de |
|
@ -19,8 +19,8 @@ int main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (unsigned int col = 0; col < lines[0].size(); col++) {
|
for (unsigned int col = 0; col < lines[0].size(); col++) {
|
||||||
for (unsigned int row = 0; row < lines.size(); row++) {
|
for (auto& r : lines) {
|
||||||
if (lines[row][col] != '.') {
|
if (r[col] != '.') {
|
||||||
goto next2;
|
goto next2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,8 +24,8 @@ int main() {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (unsigned int col = 0; col < lines[0].size(); col++) {
|
for (unsigned int col = 0; col < lines[0].size(); col++) {
|
||||||
for (unsigned int row = 0; row < lines.size(); row++) {
|
for (auto& r : lines) {
|
||||||
if (lines[row][col] != '.') {
|
if (r[col] != '.') {
|
||||||
goto next2;
|
goto next2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue