전체 글846 백준 15552 import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.util.StringTokenizer; public class Main15552 { public static void main(String[] args) throws IOException { BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); BufferedWriter bw = new BufferedWriter(new Out.. 2021. 6. 29. 백준 14681 import java.util.Scanner; public class Main14681 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); if(x>0 && y>0){ System.out.println(1); }else if(x0){ System.out.println(2); }else if(x 2021. 6. 28. 백준 1330 import java.util.Scanner; public class Main1330 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B = sc.nextInt(); if(A > B){ System.out.println(">"); }else if(A < B){ System.out.println(" 2021. 6. 28. 백준 10998 import java.util.Scanner; public class Main10998 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A =sc.nextInt(); int B = sc.nextInt(); System.out.println(A*B); } } 2021. 6. 28. 백준 10950 import java.util.Scanner; public class Main10950 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int T = sc.nextInt(); int[] result = new int[T]; for(int i=0; i 2021. 6. 28. 백준 10869 import java.util.Scanner; public class Main10869 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); int B =sc.nextInt(); System.out.println(A+B); System.out.println(A-B); System.out.println(A*B); System.out.println(A/B); System.out.println(A%B); } } 2021. 6. 28. 이전 1 ··· 126 127 128 129 130 131 132 ··· 141 다음