Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
41742 | yanghaowen | 属相 | C++ | Accepted | 0 MS | 244 KB | 239 | 2024-02-23 09:56:48 |
#include<iostream> using namespace std; int main(){ int m,d; cin>>m>>d; if(m>1){ cout<<"Mouse"; } else if(d>25) { cout<<"Mouse"; } else { cout<<"Pig"; } return 0; }