#include <iostream>
#include <iomanip>
using namespace std;
int main(int argc, char** argv) {
    int renshu;
    float zongnianling=0;
    float nianling;
    cin>>renshu;
    for(int i=0;i<renshu;i++){
        cin>>nianling; 
        zongnianling+=nianling;
}
    printf("%.2f",zongnianling/renshu);
    return 0;
}

 

posted on 2023-02-02 17:49  爱吃泡面的皮卡  阅读(22)  评论(0编辑  收藏  举报