#include using namespace std; int main(){ cin.tie(0),ios::sync_with_stdio(false); int h,w; cin>>h>>w; vectors(h); for(auto&&i:s)cin>>i; vectorH(h,0),W(w,0); for(int y=0;y