提交时间:2024-01-30 19:26:29
运行 ID: 39134
#include<iostream> using namespace std; int main() { int n; cin>>n; if(n%6==1||n%6==2||n%6==3){ cout<<"红"; } else if(n%6==0){ cout<<"白"; } else cout<<"黄"; return 0; }