| 记录编号 | 591838 | 评测结果 | AAAAAAAAAA | ||
|---|---|---|---|---|---|
| 题目名称 | 2868.[NOIP 2017PJ]成绩 | 最终得分 | 100 | ||
| 用户昵称 | 是否通过 | 通过 | |||
| 代码语言 | C++ | 运行时间 | 0.030 s | ||
| 提交时间 | 2024-07-20 11:29:12 | 内存使用 | 3.56 MiB | ||
#include<stdio.h>
#include<iostream>
#include<cstdio>
using namespace std;
int main(){
freopen("nscore.in","r",stdin);
freopen("nscore.out","w",stdout);
double A,B,C,zong=0;
cin>>A>>B>>C;
zong=(A*0.2)+(B*0.3)+C*0.5;
cout<<zong;
//printf("%.21f",zong);
fclose(stdin);fclose(stdout);
return 0;
}