2908
[백준,BOJ 2908] 상수(JAVA 구현)
-해법 import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); String a = in.next(); String b = in.next(); int v_a = Integer.parseInt(new StringBuffer(a).reverse().toString()); int v_b = Integer.parseInt(new StringBuffer(b).reverse().toString()); if(v_a>v_b) { System.out.println(v_a); }else if(v_a