백준[JAVA] 1259.팰린드롬수 - 자바


백준[JAVA] 1259.팰린드롬수 - 자바

문제 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (true) { String s = br.readLine(); if (s.equals("0")) break; boolean palindrome = true; int front = s.length() / 2; int length = s.leng..


원문링크 : 백준[JAVA] 1259.팰린드롬수 - 자바