#include using namespace std; int main(){ int R,K,H,W; cin>>R>>K>>H>>W; vector> input(H,vector(W)); for(int i=0;i>input[i][j]; } } vector> rotated(W,vector(H)); switch(R){ case 0: rotated=input; break; case 180: rotated=input; for(int i=0;i