| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 129379 | 林扬皓bylz | 计算平均分 | C++ | Accepted | 100 | 0 MS | 260 KB | 182 | 2024-01-27 08:18:23 |
#include <bits/stdc++.h> using namespace std; int main() { double a, b, c=0; cin>>a; for(int i=1;i<=a;i++) { cin >> b; c = c+b; } printf("%.2f", c/a); return 0; }