4 条题解
-
0
#include using namespace std; int main(){ int t; cin>>t; if(t%30&&t%50&&t%70){ cout<<"3 5 7"; }else if(t%30&&t%50){ cout<<"3 5"; }else if(t%30&&t%70){ cout<<"3 7"; }else if(t%50&&t%70){ cout<<"5 7"; }else if(t%30){ cout<<"3"; }else if(t%50){ cout<<"5"; }else if(t%70){ cout<<"7"; }else{ cout<<"n"; } return 0; } 这么做就可以了!
- 1
信息
- ID
- 433
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 5
- 标签
- (无)
- 递交数
- 165
- 已通过
- 60
- 上传者