๋ฐ์ํ One-dimensional Japanese Crossword1 [Codeforces] 721A: One-dimensional Japanese Crossword https://codeforces.com/problemset/problem/721/A Problem - 721A - Codeforces codeforces.com ์ฝ๋ import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); String str = scan.next(); int blackCount = 0;// ์ฐ์๋ ๊ฒ์ ์ฌ๊ฐํ์ ํ List list = new ArrayList(); for(int i=0; i 2020. 3. 13. ์ด์ 1 ๋ค์ ๋ฐ์ํ