Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|
19727 | slx | 【基础题】平均数 | C++ | No Test Data | 0 MS | 0 KB | 174 | 2023-06-09 15:26:38 |
#include <bits/stdc++.h> using namespace std; int main(){ int a,b,c; cin>>a>>b>>c; int d=a+b+c; double ave; ave=d*1.0/3; cout<<fixed<<setprecision(3)<<ave; }