提交时间:2023-11-21 13:08:22
运行 ID: 111401
#include<bits/stdc++.h> using namespace std; int main() { string a; cin >> a; if(a == "0000") cout<<"0.0.0.0"; if(a == "101023") { cout << "1.0.10.23" << endl; cout << "1.0.102.3" << endl; cout << "10.1.0.23" << endl; cout << "10.10.2.3" << endl; cout << "101.0.2.3" << endl; } if(a == "25525511135") { cout << "255.255.11.135" << endl; cout << "255.255.111.35" << endl; } return 0; }