Start 2024-01-27 08:00:00

冬令营基础1.27课前

End 2024-01-27 10:00:00
Contest is over.
Now 2026-04-30 21:32:56

5.

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; }


lyhbylz  •  2年前

The contest has ended.