문제 링크 : boj.kr/2823난이도 : S2태그 : 그래프 이론코드#include #define all(x) (x).begin(), (x).end()#define INF 0x7FFFFFFFusing namespace std;using ll = long long;using ld = long double;using pii = pair;using pll = pair;int main(){ ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); int r, c; cin >> r >> c; vector> board(r+2, vector(c+2, 0)); for(int i = 1; i > s; for(int j = 1; j 풀이어떤 ..