#include <iostream> #include <string> #include <cstdio> using namespace std; int main() { double a,b,avg; //用float会WA,精度不够要用double cin>>a>>b; avg=(a*3.5+b*7.5)/11; printf("MEDIA = %.5lf",avg); return 0; }