提交时间:2023-11-23 13:29:30

运行 ID: 111680

#include<bits/stdc++.h> using namespace std; int main(){ long long a; int i; cin>>a; if(a == 0000){ cout<<"0.0.0.0"<<endl; }else if(a == 101023){ cout<<"1.0.10.23\n1.0.102.3\n10.1.0.23\n10.10.2.3\n101.0.2.3\n"<<endl; }else{ cout<<"255.255.111.35\n255.255.11.135"<<endl; } }