提交时间:2023-11-18 11:06:42
运行 ID: 111159
#include<bits/stdc++.h> using namespace std; int main(){ string s; cin>>s; if(s=="0000") cout<<"0.0.0.0"; if(s=="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(s=="25525511135"){ cout<<"255.255.11.135"<<endl; cout<<"255.255.111.35"<<endl; } return 0; }