Compare commits
2 commits
813bf64be5
...
47b21b2331
Author | SHA1 | Date | |
---|---|---|---|
47b21b2331 | |||
3e753f41d2 |
|
@ -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 (auto& r : lines) {
|
for (unsigned int row = 0; row < lines.size(); row++) {
|
||||||
if (r[col] != '.') {
|
if (lines[row][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 (auto& r : lines) {
|
for (unsigned int row = 0; row < lines.size(); row++) {
|
||||||
if (r[col] != '.') {
|
if (lines[row][col] != '.') {
|
||||||
goto next2;
|
goto next2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue