String6 백준 10808 ▶ 10808문제 - 알파벳 개수 ▶ 풀이방법 1. import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); String str = br.readLine(); char[] arr = new char[26]; int[] arr2 = new int[26]; for(int i = 0; i < 26; i++) { arr[i] = (.. 2022. 3. 25. 백준 11656 ▶ 백준 11656 문제 - 접미사 배열 ▶ 풀이방법 import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out)); String str = br.readLine(); ArrayList list = new ArrayList(); for(int i = 0; i < str.length(); i++) .. 2022. 3. 25. 이전 1 2 다음