Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
111168 沈梓珺 复原 IP 地址 C++ 通过 100 0 MS 252 KB 374 2023-11-18 11:14:45

Tests(3/3):


#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"<<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; } else{ cout<<"255.255.11.135"<<endl; cout<<"255.255.111.35"<<endl; } return 0; }


测评信息: