[백준] 10988번 팰린드롬인지 확인하기 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(); boolean result = isPalindrome(S, 0, S.length() - 1); if(result) { System...
2023. 3. 16. 12:02