#include<bits/stdc++.h> using namespace std; int main() { int x; //题目需要 cin>>x; if(x%3==0) cout<<3<<" "; if(x%5==0) cout<<5<<" "; if(x%7==0) cout<<7<<" "; else cout<<'n'<<endl; return 0; }
本蒟蒻求改,哪里错了?