using System;
using System.Numerics;
class Program {
static void Main(string[] args) {
string stringInput = Console.ReadLine();
string[] arrayStrings = stringInput.Split(' ', StringSplitOptions.None);
BigInteger A = BigInteger.Parse(arrayStrings[0]);
BigInteger B = BigInteger.Parse(arrayStrings[1]);
Console.WriteLine(A + B);
}
}
문제 출처
https://www.acmicpc.net/problem/10757
10757번: 큰 수 A+B
두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오.
www.acmicpc.net
'ComputerScience > Coding Test' 카테고리의 다른 글
C# 백준 2338번: 긴자리 계산 (2) | 2022.11.19 |
---|---|
C# 백준 1271번: 엄청난 부자2 (0) | 2022.11.19 |
백준 2420번: 사파리월드 (0) | 2022.11.12 |
백준 11382번: 꼬마 정민 (0) | 2022.11.12 |
백준 9086번: 문자열 (0) | 2022.11.12 |