| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 145508 | 徐毅然 | 属相 | C++ | Accepted | 0 MS | 272 KB | 361 | 2026-01-25 15:49:27 |
#include <iostream> using namespace std; int main() { int month, day; cin >> month >> day; // 2020年春节是1月25日,所以1月1日到1月24日是猪年,1月25日及之后是鼠年 if (month == 1 && day <= 24) { cout << "Pig" << endl; } else { cout << "Mouse" << endl; } return 0; }