mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-24 05:48:48 +00:00
12 lines
198 B
C++
12 lines
198 B
C++
#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;
|
|
}
|