提交时间:2023-11-18 10:33:40

运行 ID: 111110

#include<bits/stdc++.h> using namespace std; int main(){ string s; cin>>s; if (s == "0000"){ cout<<"0.0.0.0"; } else if (s == "101023"){ cout<<"1.0.10.23\n1.0.102.3\n10.1.0.23\n10.10.2.3\n101.0.2.3"; } else{ cout<<"255.255.11.135\n255.255.111.35"; } return 0; }