316 条题解
-
0
#include <bits/stdc++.h> using namespace std; long long m,n,t; int main() { cin>>m>>n; t=n%(m32-2); if(t<=m*3) { if(t%31)cout<<"lan"; else if(t%32)cout<<"huang"; else if(t%3==0)cout<<"hong";
} else { if(t%3==1)cout<<"huang"; else if(t%3==2)cout<<"lan"; else if(t%3==0)cout<<"hong"; }}
信息
- ID
- 104
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 7
- 标签
- 递交数
- 271
- 已通过
- 69
- 上传者