#include<bits/stdc++.h>
using namespace std;
double Chinese, Math, English, Physics;
int main(){
	cin >> Chinese >> Math >> English >> Physics;
	double C = Chinese * 0.25, M = Math * 0.35, E = English * 0.25, P = Physics * 0.15;
	cout << C + E + M + P;
	return 0;
}

1 条评论

  • @ 2025-3-24 18:51:55

    我去!这程序实在是太棒了

    • 1