Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
133519 张益诚 04计算平均分 C++ Wrong Answer 2 MS 272 KB 347 2025-10-19 10:24:07

Tests(0/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("%.21f",p); return 0; }


Run Info:

------Input------
401 355 919
------Answer-----
558.33
------Your output-----
558.333333333333371228946