[백준] 2908번: 상수 - JAVA
·
알고리즘
[작성일: 2023. 09. 02] https://www.acmicpc.net/problem/2908 풀이import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String strA = sc.next(); String strB = sc.next(); int a = Integer.valueOf(new StringBuilder(strA).reverse().toString()); int b = Integer.valueOf(new StringBuilder(strB).reverse(..