Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
99660 | 何睿函 | 属相 | C++ | Wrong Answer | 1 MS | 268 KB | 236 | 2024-11-30 12:34:36 |
#include<bits/stdc++.h> using namespace std; int main(){ int a,b;cin>>a>>b; if(a==1||b<=24){ cout<<"Pig"; } if(a==1||b>24||b<=31){ cout<<"Mouse"; } if(a<=12||a>1||b<=31){ cout<<"Mouse"; } return 0; }
------Input------
5 2
------Answer-----
Mouse
------Your output-----
PigMouseMouse