Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
99704 | 刘明沅 | 属相 | C++ | Accepted | 1 MS | 272 KB | 226 | 2024-11-30 13:16:06 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b; cin>>a>>b; if(a==1){ if(b<=24) { cout<<"Pig"; }else{ cout<<"Mouse"; } } if(a!=1){ cout<<"Mouse" ; } return 0; }