백준알고리즘 2908번 상수
백준알고리즘 https://www.acmicpc.net/problem/2908 import java.util.Scanner; public class Main { public static void main(String args[]) throws Exception { Scanner scan = new Scanner(System.in); String[] memoArray = new String[] { "", "" }; for (int i=0; i 0) { memoArray[i] += input % 10; input = input / 10; } } if (Integer.parseInt(memoArray[0]) > Integer.parseInt(memoArray[1])) System.out.println(memo..