#include <iostream> #include <string> #include <algorithm> using namespace std; string add(string a, string b) { reverse(a.begin(), a.end()); reverse(b.begin(), b.end()); int sz = max(a.size(), b.size()); for (int i = a.size(); i < sz; i++) a.push_back('0'); for (int i = b.size(...