사실 브론즈4문제라 어렵지는 않은데 string -> int 나 int -> string으로 형 변환하는 함수가 헷갈려서 정리를 해놔야겠다고 생각했다.

첫 줄에는 A,B,C를 수로 생각했을 때, 둘째 줄에는 A,B,C를 문자열로 생각했을 때 값을 출력하는거다.
#include <iostream>
#include <string>
using namespace std;
int main(void){
int a, b, c;
string s1, s2, s3;
cin>>a>>b>>c;
cout<<a+b-c<<'\n';
s1 = to_string(a);
s2 = to_string(b);
s3 = s1 + s2;
int k = stoi(s3);
cout<<k-c;
}
#include <string>을 해주어야 한다.