전체 글45 백준 1001 JAVA import java.util.Scanner; public class Main { public static void main(String[] args) { int a,b; Scanner sc = new Scanner(System.in); a = sc.nextInt(); b = sc.nextInt(); System.out.println(a-b); sc.close(); } } 2022. 12. 21. 백준 1000 JAVA public class Main { public static void main(String[] args) { int a,b; Scanner sc = new Scanner(System.in); a = sc.nextInt(); b = sc.nextInt(); System.out.println(a+b); sc.close(); } } 2022. 12. 21. 백준 2557 JAVA public class Main { public static void main(String[] args) { System.out.println("Hello World!"); } } 2022. 12. 21. 백준 18108번 JAVA import java.util.Scanner; public class Main { public static void main(String[] args) { int year; Scanner sc = new Scanner(System.in); year = sc.nextInt(); System.out.println(year-543); } } 2022. 12. 21. 이전 1 ··· 8 9 10 11 12 다음