| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 76699 | sh25_zhuhy | 求整数的和与均值 | C++ | Accepted | 0 MS | 252 KB | 255 | 2025-12-19 15:47:24 |
#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; float b; int a[n]; for(int i=0;i<n;i++){ cin>>a[i]; b+=a[i]; } cout<<int(b)<<" "<<fixed<<setprecision(5)<<b/n; return 0; }