📖 문제 📃 코드 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static int parseDigit(String N, int digit) { int temp = 1; int ans = 0; for (int i = N.length() - 1; i >= 0; i--) { char c = N.charAt(i); if ('A' = c) { // B - A = 1, 1 + 10(over Decimal), temp = digit ans += (c - 'A' + 10) * temp; } else { ans += (c - '0') * temp; } ..