#include #include #include using namespace std; bool check(int x1, int y1, int x2, int y2, int x, int y){ if( (x==x1 && y==y1) || (x==x2 && y==y2) || (x1==x2 && x1==x) || (y1==y2 && y1==y) ) return false; else if( ( (double)(y1-y2)/(x1-x2) == (double)(y1-y)/(x1-x)) || ( (double)(y1-y2)/(x1-x2) == (double)(-y1+y)/(x1-x)) ) return false; else return true; } int main(){ int H,W; cin >> H >> W; vector< string > S; vector< vector > X; vector sol; for(int i=0; i> s; S.push_back(s); } for(int i=0; i x{i,j}; X.push_back(x); } } } for(int i=0; i