-
[java]백준 문자와 문자열 27866번알고리즘 문제풀이/백준(자바) 2023. 3. 26. 23:32
코드
import java.util.Scanner; public class BOJ_27866 { public static void main(String[] args) { Scanner in = new Scanner(System.in); String a = in.nextLine(); System.out.println(a.charAt(in.nextInt()-1)); in.close(); } }
링크
https://www.acmicpc.net/problem/27866
'알고리즘 문제풀이 > 백준(자바)' 카테고리의 다른 글
[java]백준 학점계산 2754번 (0) 2023.03.28 [java]백준 아스키 코드 11654번 (0) 2023.03.27 [java]백준 곱셈 2588번 (0) 2023.03.25 [java]백준 최소, 최대 10818번 (0) 2023.03.25 [java]백준 기찍 N 2742번 (0) 2023.03.24