코테 기록용
2024. 11. 4. 10:20 - pingu-s
https://www.acmicpc.net/workbook/view/568
https://www.acmicpc.net/problem/2908
상수
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
string num1, num2;
cin >> num1 >> num2;
reverse(num1.begin(), num1.end());
reverse(num2.begin(), num2.end());
int result = (stoi(num1) > stoi(num2)) ? stoi(num1) : stoi(num2);
cout << result;
return 0;
}