네 수

BiBi·2021년 1월 19일
0

코딩테스트연습

목록 보기
35/66
#include <algorithm>
#include <iostream>
#include <stdio.h>
#include <vector>
#include <map>
#include <stack>
#include <queue>
#include <deque>
#include <string>
#include <cmath>
using namespace std;


int main() {
	//freopen("input.txt", "rt", stdin);
	string a, b, c, d;
	cin >> a >> b >> c >> d;
	long long num1, num2;
	num1 = stoll(a + b);
	num2 = stoll(c + d);
	cout << num1 + num2;
	

	return 0;
}
profile
Server Network Engineer

0개의 댓글