[JAVA] SWEA 4615 재미있는 오셀로게임
전체 코드 import java.util.Scanner; public class SWEA_4615_재미없는오셀로게임 { static int T, N, M; public static void main(String[] args) { Scanner sc = new Scanner(System.in); T = sc.nextInt(); int[][] arr; int y, x, col, ry, rx, ry2, rx2, w, b; int[] dy = { -1, -1, +1, +1, 0, 0, 1, -1 }; // int[] dx = { -1, +1, +1, -1, 1, -1, 0, 0 }; for (int test = 1; test = 0 && ry = 0 && rx < N) { // 범위 체크 i..
2020. 8. 21.