Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
94763 黄思翔 13求7个数的平均数 C++ Wrong Answer 1 MS 276 KB 161 2024-10-26 13:05:48

Tests(0/10):


Code:

#include <bits/stdc++.h> using namespace std; int main(){ int a,b; float c; while(b<7){ b++; cin>>a; c=c+a; } cout<<c/7.0; return 0; }


Run Info:

------Input------
64 70 75 65 23 100 7
------Answer-----
57
------Your output-----
57.7143