import java.math.BigInteger;
import java.util.Scanner;
public class Main {
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
BigInteger first = sc.nextBigInteger();
BigInteger second = sc.nextBigInteger();
System.out.println(first.add(second));
System.out.println(first.subtract(second));
System.out.print(first.multiply(second));
}
}
'백준알고리즘 > Bronze V' 카테고리의 다른 글
2438번: 별 찍기 - 1 (0) | 2022.06.20 |
---|---|
2420번: 사파리월드 (0) | 2022.06.20 |
1330번: 두 수 비교하기 (0) | 2022.06.19 |
1271번: 엄청난 부자2 (0) | 2022.06.19 |
1008번: A/B (0) | 2022.06.19 |