https://www.acmicpc.net/problem/17276풀이직접 배열을 그려 시계/반시계 방향으로 돌아갈 때 어느 위치에 있던 수가 어디로 가는지 체크해서 그대로 구현하였다 제출 코드#include #include using namespace std;int arr[500][500];int res[500][500];int main(){ ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); int t, n, degree; cin >> t; while(t--) { cin >> n >> degree; for (int i = 0; i > res[i][j]; int mid = n / 2;..