Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
92609 | 欧阳俊懿 | 04计算平均分 | C++ | Accepted | 1 MS | 268 KB | 264 | 2024-10-05 19:09:51 |
#include<iostream> #include<cstdio> using namespace std; int main() { /* double a,b,c; scanf("%lf%lf",&a,&b); printf("%.2lf",a/b); */ double a; double b,c,d; scanf("%lf %lf %lf",&b,&c,&d); a=(b+c+d)/3; printf("%.2lf",a); return 0; }