https://www.luogu.com.cn/problem/B2043
数据类型double(实型)改成int(整形)
附正确代码
```cpp
#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"" ";
}
if(!(x%3==0||x%5==0||x%7==0)){
cout<<"n";
}
return 0;
}
```
by _Amy @ 2023-11-05 16:31:16
long long
by pyzhou @ 2024-03-24 23:07:57