그리디
-
[BOJ - Silver IV] 오셀로 재배치 / ⭕Algorithm/BOJ 2024. 8. 17. 11:26
오셀로 재배치1. 제출 코드 (12분 32초 / 그리디)import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int T = Integer.parseInt(br.readLine()); for(int i = 0; i b ? w : b); } }} 2. 구현 로직오셀로 말..