mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-08 12:58:48 +00:00
606. 平均数1
https://www.acwing.com/problem/content/submission/code_detail/7742440/
This commit is contained in:
parent
c10aad441a
commit
6937a91b97
11
AcWing/606/606.cpp
Normal file
11
AcWing/606/606.cpp
Normal file
@ -0,0 +1,11 @@
|
||||
#include <bits/stdc++.h>
|
||||
|
||||
using namespace std;
|
||||
|
||||
double a, b;
|
||||
|
||||
int main() {
|
||||
cin >> a >> b;
|
||||
cout << "MEDIA = " << fixed << setprecision(5) << (a * 3.5 + b * 7.5) / 11 << endl;
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user