1번 문제 변형 문제 1. 다양한 퍼짐 속도를 가진 풀#include #include #include #include using namespace std;const int dx[] = {-1, 1, 0, 0};const int dy[] = {0, 0, -1, 1};int n, k;vector> grid, speed;int bfs(int startX, int startY) { vector> visited(n, vector(n, 0)); queue> q; vector> year(n, vector(n, 0)); int count = 1; q.push({startX, startY}); visited[startX][startY] = 1; year[startX][startY] ..