#define _CRT_SECURE_NO_WARNINGS #include #include #include #include #include #include #include using namespace std; string perest(string s) { for (int i = 0; i<(s.length() / 2); i++) { char tmp = s[i]; s[i] = s[s.length()- i - 1]; s[s.length()-i-1] = tmp; } return s; } string sum (string str1, string str2) { str1 = perest(str1); str2 = perest(str2); if (str1.length() > str2.length()) { for (int i = str2.length(); i0) str1 =str1+ tyu; str1 = perest(str1); for (int u = 0; u str2.length()) { for (int i = str2.length(); i> str1; cin >> str2; str = mul (str1,str2); cout << str <> str; return 0; }