难点在于字符串实现加法和乘除 #include <iostream> #include <vector> using namespace std; string divide(string str) { int remain = 0; string result; for (int i = 0; i < str.size(); i++) { int temp = remain * 10 + str[i] - '0'; remain = temp % 2; char tempChar = (te...