diff --git a/input.txt b/input.txt index 0297f50..64d332e 100644 --- a/input.txt +++ b/input.txt @@ -1,5 +1,5 @@ -xxx xxx xxx xxx x x x xxx xxx xxx xxx xxx xxx -x x x x x x x x x x x x x x x x x x -xxx xxx xxx xxx xxx xxx x xxx xxx xxx xxx xxx xxx xxx xxx xxx xxx - x x x x x x x x x x x x x x x x x -xxx xxx xxx xxx x x xxx xxx xxx xxx xxx xxx +xxx xxxxxxxx xxxxxxxxxxxxxxxx +x x x x xx xx x xx xx x x +x x xxxxxxxxxxxxxxxx xxxxxxxxxxxxx +x x xx x x xx x xx x x x +xxx xxxxxxx xxxxxxx xxxxxxx diff --git a/solver.cpp b/solver.cpp index e69de29..3e7bf40 100644 --- a/solver.cpp +++ b/solver.cpp @@ -0,0 +1,21 @@ +#include + +using namespace std; + +string datas[5]; +int data[5][256]; + +int main(){ + freopen("input.txt","r",stdin); + for(int i=0;i<5;i++){ + cin >> datas[i]; + } + for(int i=0;i<5;i++){ + for (int j=0;j