#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
vector<string> boom(n);
vector<string> find(n);
vector<string> big9(n);
int arr[n][n];
for(int i = 0; i < n; i++){
cin >> boom[i];
}
for(int i = 0; i < n; i++){
cin >> find[i];
}
for(int i = 0;i < n;i++){
for(int j = 0; j < n; j++){
if(boom[i][j] == '.' && find[i][j] =='.'){
arr[i][j] = 0;
}
else if(boom[i][j] == '*'&&find[i][j] == '.'){
arr[i][j] = 1;
}
else if(boom[i][j] == '.' && find[i][j] == 'x'){
arr[i][j] = 2;
}
else{
arr[i][j] = 3;
}
}
}
for(int i = 0;i < n;i++){
for (int j = 0;j < n;j++ ) {
for(int m = -1; m < 2;m++){
for (int k = -1;k < 2 ;k++ ) {
if (0 <= i+m < n && 0 <= j+k < n) {
big9[i][j] =
}
//else if(arr[i][j] == 2 && boom[i] = '*'){
//for(int y=0; y < n;y++){
//for(int x=0; x<n; x++){
//if(arr[y][y] == 2) {
//bi9[y][x] = '*';
//}
//}
//}
//}
}
}
}
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: