Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
111167 沈梓珺 复原 IP 地址 C++ 解答错误 66 0 MS 252 KB 369 2023-11-18 11:14:27

Tests(2/3):


#include<bits/stdc++.h> using namespace std; int main(){ string s; cin>>s; if(s=="0000") cout<<"0.0.0.0"; 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; }


测评信息: