| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 55923 | 该账号已封禁 | 判定花色 | C++ | Accepted | 0 MS | 252 KB | 397 | 2024-11-08 16:13:09 |
#include<iostream> using namespace std; int main() { int n,p; cin>>n; p=n%6; if (p==1){ cout<<"红"; } else if (p==2){ cout<<"红"; } else if (p==3){ cout<<"红"; } else if (p==4){ cout<<"黄"; } else if (p==5){ cout<<"黄"; } else{ cout<<"白"; } return 0; }