https://www.acmicpc.net/problem/2573코드#include #include #include using namespace std;#define FASTIO ios::sync_with_stdio(false);cin.tie(NULL);#define MAX 301int n, m;int dx[4] = { 1, -1, 0, 0 }, dy[4] = { 0, 0, 1, -1 };vector> arr;vector> tmp;vector> visit;void melting() { tmp = arr; for (int i = 0, x, y, cnt; i 0) { cnt = 0; for (int k = 0; k = 0 && x = 0 && y > q; q.push({ x, y}); visit..