#include #include #include #include using namespace std; #define print(x) cout<>x #define SIZE 512 #define INF 1<<30 int mp[SIZE][SIZE]; int n; int w[SIZE],c[SIZE]; int sx,tx; void contract(int x,int y) { for(int i=0;ik) { t=j; k=w[t]; } } sx=t; c[sx]=1; for(int j=0;j1) { int k=mincut(); if (k= kk) { puts("Yes"); } else { puts("No"); } } return 0; }