#include <iostream> using namespace std; string f_plus(string s1, string s2) { //ans1是小数部分, ans2整数部分 string ans1, ans2; //是否进位,整数小数通用 bool ad = false; //进行小数点对齐 int idx1, idx2; for(int i = 0; s1[i]; i++) if(s1[i] == '.') idx1 = i; for(int i = 0; s1[i]; i++) if(s2[i] == '.') idx2 = i; int i = s...