题解
2025-09-20 15:27:52
发布于:广东
7阅读
0回复
0点赞
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 2; i <= n; i++) if (n % i == 0) {
cout << n / i;
break;
}
return 0;
}
这里空空如也
2025-09-20 15:27:52
发布于:广东
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 2; i <= n; i++) if (n % i == 0) {
cout << n / i;
break;
}
return 0;
}
这里空空如也
提交答案之后,这里将显示提交结果~
有帮助,赞一个