mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-18 04:32:00 +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;
|
|
}
|