提交时间:2023-11-18 09:24:12

运行 ID: 111030

#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"; cout<<"1.0.102.3"; cout<<"10.1.0.23"; cout<<"10.10.2.3"; cout<<"101.0.2.3"; } else{ cout<<"255.255.11.135"; cout<<"255.255.111.35"; } return 0; }