![](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FztMpR%2FbtsDWLxHOF8%2FYDWWcDiSkRhc5TjcAQ7cU1%2Fimg.png)
[BOJ/백준/C++] 10757번 큰 수 A+B
·
Coding Test/Baekjoon
10757번: 큰 수 A+B 두 정수 A와 B를 입력받은 다음, A+B를 출력하는 프로그램을 작성하시오. www.acmicpc.net 📌 접근 방법 매우 큰 수들을 더해야하기 때문에 문자열로 바꾸어 덧셈을 해준다 ✅ Pass Code #include #include #include using namespace std; int main() { string str1="",str2="", result=""; cin>>str1>>str2; int size1=str1.length(); int size2=str2.length(); int c=0; while(size1>0||size2>0){ int a=0,b=0; if(size1>0){ a=str1[--size1]-'0'; } if(size2>0){ b=str2[-..