본문 바로가기

Beakjoon&프로그래머스/Java139

[백준/Java] 15439번 Vera and Outfits -Code import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); System.out.println(n * (n - 1)); } } 2022. 4. 13.
[백준/Java] 14928번 큰 수 (BIG) -Code import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String n = scanner.next(); int result = 0; for (int i=0; i 2022. 4. 13.
[백준/Java] 14652번 나는 행복합니다~ -Code import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int m = scanner.nextInt(); int k = scanner.nextInt(); System.out.println(String.format("%d %d", k / m, k % m)); } } 2022. 4. 13.
[백준/Java] 14645번 와이버스 부릉부릉 -Code import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int k = scanner.nextInt(); int a, b; for (int i=0; i 2022. 4. 13.
[백준/Java] 13277번 큰 수 곱셈 -Code import java.math.BigInteger; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); BigInteger a = scanner.nextBigInteger(); BigInteger b = scanner.nextBigInteger(); System.out.println(a.multiply(b)); } } 2022. 4. 13.
[백준/Java] 11942번 고려대는 사랑입니다 -Code public class Main { public static void main(String[] args) { System.out.println("고려대학교"); } } 2022. 4. 13.