[백준] 27866번 문자와 문자열 Java 문제 풀이
문제풀이 import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; interface Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); StringTokenizer st; String S = br.readLine(); int i = Integer.parseInt(br.readLine()); System.out.println(S.charAt(i-1)..
2023. 3. 14. 18:03