#include <iostream> #include <string> #include <stdlib.h> using namespace std; int main() { string str1, str2; while (cin >> str1 >> str2) { // 注意 while 处理多个 case int found1 = str1.find("."); int found2 = str2.find("."); string longInt,shortInt,integer1,integer2,fractio...