boj 1316 java
-
boj)1316 - 그룹 단어 체커PS/boj 2020. 11. 5. 15:20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 import java.io.*; public class boj_1316 { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); static int N, ans; static String str; public static void main(String[] args) throws IOException { N = Integer.parseInt(br.readLine()); for (int i = 0; i