mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2025-01-11 16:31:58 +00:00
B2021 输出保留 3 位小数的浮点数
R56994584
This commit is contained in:
parent
91486e9a70
commit
76fb2474b0
10
Luogu/problem/B2021/B2021.cpp
Normal file
10
Luogu/problem/B2021/B2021.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
float a;
|
||||
cin >> a;
|
||||
cout << fixed << setprecision(3) << a << endl;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user