打老看一下哪里错了,在线急!!!```c
#include<bits/stdc++.h> using namespace std; int main() { int b,c=0; cin>>b; double a[b]; for(int i=0;i<b;i++){ cin>>a[i]; c=c+a[i]; } printf("%d %.5lf",c,double(c/b)); return 0; }