练14.2 平均分
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
说明
已知某班有男同学位,女同学位,位男生平均分是分,位女生的平均分是,问全体同学平均分是多少分。
输入格式
男女同学人数。
输出格式
平均分(保留位小数)。
样例
2 385.8000
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
已知某班有男同学x位,女同学y位,x位男生平均分是87分,y位女生的平均分是85,问全体同学平均分是多少分。
男女同学人数。
平均分(保留4位小数)。
2 385.8000