提交时间:2023-11-18 09:24:41
运行 ID: 111031
#include<bits/stdc++.h> using namespace std; string s; int main(){ cin>>s; if(s[0]=='0'){ cout<<"0.0.0.0"; } else if(s[0]=='1'){ cout<<"1.0.10.23"<<'\n'; cout<<"1.0.102.3"<<'\n'; cout<<"10.1.0.23"<<'\n'; cout<<"10.10.2.3"<<'\n'; cout<<"101.0.2.3"; } else{ cout<<"255.255.11.135"<<'\n'; cout<<"255.255.111.35"; } return 0; }