A30814.9格字符宽的小数
2025-09-06 18:32:18
发布于:江苏
11阅读
0回复
0点赞
<ioMANip>解法
#include <iostream>
#include <iomanip>
using namespace std;
int main() {
double n;
cin >> n;
cout << setw(9) << fixed << setprecision(3) << n;
return 0;
}
这里空空如也


有帮助,赞一个