0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-30 18:56:26 +00:00
OI-codes/AcWing/606/606.cpp

12 lines
198 B
C++
Raw Normal View History

#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;
}