提交时间:2024-05-25 14:48:39
运行 ID: 148784
#include<iostream> #include<cstdio> using namespace std; int main() { int n,a,b; cin>>n; for (int a;a>=1;a++) if(n%a==0){ cout<<"yes"<<endl; } else{ cout<<"no"<<endl; } return 0; }