-Code
import java.math.BigInteger;
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();
BigInteger a = scanner.nextBigInteger();
BigInteger b = scanner.nextBigInteger();
System.out.println(a.multiply(b));
}
}
'Beakjoon&프로그래머스 > Java' 카테고리의 다른 글
[백준/Java] 24078번 余り (Remainder) (0) | 2022.04.14 |
---|---|
[백준/Java] 23234번 The World Responds (0) | 2022.04.14 |
[백준/Java] 21300번 Bottle Return (0) | 2022.04.14 |
[백준/Java] 20492번 세금 (0) | 2022.04.14 |
[백준/Java] 20254번 Site Score (0) | 2022.04.14 |