Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
133520 张益诚 04计算平均分 C++ Accepted 1 MS 276 KB 347 2025-10-19 10:25:14

Tests(10/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int y,s,e; double p; cin>>y>>s>>e; p=(y+s+e)*1.0/3; printf("%.2lf",p); return 0; }