mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-28 16:11:58 +00:00
B2011 计算分数的浮点数值
R53229584
This commit is contained in:
parent
df9f8cd6ad
commit
0f4f4b00b4
10
Luogu/problem/B2011/B2011.cpp
Normal file
10
Luogu/problem/B2011/B2011.cpp
Normal file
@ -0,0 +1,10 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
int main() {
|
||||
double a, b;
|
||||
cin >> a >> b;
|
||||
cout << fixed << setprecision(9) << a / b << endl;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user