#include <iostream> #include <cmath> #include <algorithm> using namespace std; bool isNotDigitStr(string s) { for (auto u : s) { if (!isdigit(u)) { return true; } } return false; } int main() { string ip; while (getline(cin, ip)) { // 注意 while 处理多个 case string a, b, c, d; //1.确保有3个...