#include #include #include using namespace std; int main(int argc, char* argv[]) { int R,K,H,W; cin>>R>>K; cin>>H>>W; vector c; int i,j,k,l; string x; for (i=0;i>x; for (k=0;k0){ H=c.size(); W=c[0].size(); switch(R){ case 90: for (i=0;i