提交时间:2023-10-19 19:21:35
运行 ID: 28684
#include<iostream> using namespace std; int main() { int a,b; bool n=1; cin>>a; if(a%3==0) cout<<"3 "; n=0; if(a%5==0) cout<<"5 "; n=0; if(a%7==0) cout<<"7"; n=0; if(n) cout<<"n"; return 0; }