| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 72798 | sh25_shenpy | 判定花色 | C++ | 通过 | 0 MS | 244 KB | 254 | 2025-11-02 18:12:47 |
#include<bits/stdc++.h> using namespace std; int main(){ int day,h; cin >> day; h=day%6; if(h==1||h==2||h==3){ cout << "红"; } else if(h==6){ cout<<"白"; } else cout<<"黄"; return 0; }