백준 5525 java
-
boj)5525 - IOIOIPS/boj 2020. 11. 17. 11:44
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 import java.io.*; public class boj_5525 { static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); static int n, m, ans; static int[] dp; static String s; public static void main(String[] args) throws IOException { n = Integer.parseInt(br.readLine()); m = Integer.parseInt(br.readLine()); s = br.readLi..