#include #include #include using namespace std; vector v[100010]; int main(){ int i,j,h,w; cin >> h >> w; for(i=0;i> s; for(j=0;j