- 保留3位小数的浮点数
AC,抄吧
- @ 2026-5-22 19:48:24
#include <bits/stdc++.h> using namespace std; int main(){ float n; cin>>n; printf("%.3f",n); return 0; }
0 条评论
目前还没有评论...
信息
- ID
- 26
- 时间
- ms
- 内存
- MiB
- 难度
- 1
- 标签
- 递交数
- 691
- 已通过
- 252
- 上传者
#include <bits/stdc++.h> using namespace std; int main(){ float n; cin>>n; printf("%.3f",n); return 0; }