还好
#include<stdio.h> int main() { double A,B,C,X; scanf("%lf%lf%lf",&A,&B,&C); X=(A*2+B*3+C*5)/10.0; printf("MEDIA = %.1lf\n",X); return 0; }