完成得很不优雅,比较暴力 #include <stdio.h> int map[6][6]; int temp[6][6]; void copy() { for(int i=1; i<=5; i++) for(int j=1; j<=5; j++) temp[i][j]=map[i][j]; return; } void convert(int A,int B,int i,int j) { copy(); if(A==1) { //顺时针 if(B==2) { //翻转四个数...