# 1033 import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int i = sc.nextInt(); String hexString = Integer.toHexString(i).toUpperCase(); System.out.println(hexString); } } # 1034 import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String s = sc.nextLine(); int oct ..
# 1023 import java.util.Scanner; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String num = sc.nextLine(); StringTokenizer token = new StringTokenizer(num, "."); int[] nums = new int[2]; int i = 0; while (token.hasMoreTokens()) { nums[i] = Integer.parseInt(token.nextToken()); i += 1; } String front = String.for..
# 1012 import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); float f = sc.nextFloat(); String str = String.format("%.6f", f); System.out.println(str); } } # 1013 import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt()..
자바로 코딩테스트를 준비하기 위해 기초를 다진다고 생각하고 풀어보려한다! 하루에 10개씩 해보자! # 1001 public class Main { public static void main(String[] args) { System.out.println("Hello"); } } # 1002 public class Main { public static void main(String[] args) { System.out.println("Hello World"); } } # 1003 public class Main { public static void main(String[] args) { System.out.println("Hello\nWorld"); } } # 1004 public class Main { ..