'20057마법사상어와토네이도' 태그의 글 목록
2021.09.29_20057-마법사상어와토네이도
소스코드 #include #include #include #include] using namespace std; #define SIZE 1000 int N; int answer;//결과 값 int dy[] = { 0,1,0,-1 }; int dx[] = { -1,0,1,0 }; int dustY[4][9] = { { 0,-1,1,-2,2,-1,1,-1,1}, {2,1,1,0,0,0,0,-1,-1}, {0,-1,1,-2,2,-1,1,-1,1}, {-2,-1,-1,0,0,0,0,1,1} }; int dustX[4][9] = { { -2,-1,-1,0,0,0,0,1,1 }, {0,-1,1,-2,2,-1,1,-1,1}, {2,1,1,0,0,0,0,-1,-1}, {0,1,-1,2,-2,-1,1,-1,1} }; d..
2021. 9. 30.