0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-18 21:11:57 +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;
}