#include using namespace std; using Int = long long; //INSERT ABOVE HERE signed main(){ Int h,w; cin>>h>>w; vector s(h); for(Int i=0;i>s[i]; auto cross=[](Int a,Int b,Int c,Int d){return a*d-b*c;}; auto check= [&](){ Int xs[3],ys[3],c=0; for(Int i=0;i