摘要:
#include <bits/stdc++.h> using namespace std; int main(){ //保留3位有效数字?(四舍五入)-> cout cout<<setprecision(3)<<3.004<<endl; //精确小数点后三位(四舍五入) -> cout cout<< 阅读全文
posted @ 2024-04-21 09:40
最后一个还有我
阅读(7)
评论(0)
推荐(0)
摘要:
#include <bits/stdc++.h> using namespace std; int main(){ int n,a[100]={},x=0,Max=0; cin>>n; for(int i=1;i<=n;i++){ if(n%i==0){ a[x]=i; x++; } } for(i 阅读全文
posted @ 2024-04-21 08:51
最后一个还有我
阅读(6)
评论(0)
推荐(0)

浙公网安备 33010602011771号