做好准备,但是40分……

P5726 【深基4.习9】打分

wh_duyuhao @ 2024-10-09 19:19:26

#include<iostream>
using namespace std;
int main(){
    int a;
    cin>>a;
    int a1[a];
    double h=0.0;
    for(int i;i<=a;i++) cin>>a1[i];
    for(int i;i<=a;i++) h=h+a1[i];
    h=h/a;
    printf("%.2lf",h);
    return 0;
}

我不需要所谓的自己看(题解链接),我需要的是技术大佬!当然,我有广告: https://www.luogu.com.cn/team/setting/89696#member 是我的团队,请大佬加入,谢谢。


by wh_duyuhao @ 2024-10-09 19:20:02

在线等……


by liruizhou_lihui @ 2024-10-09 19:21:47

@duyuhao666 读题


by wh_duyuhao @ 2024-10-09 19:22:07

额,广告发错了: https://www.luogu.com.cn/team/89696 才是我的团队,请大佬加入,谢谢。


by wh_duyuhao @ 2024-10-09 19:22:49

呵呵呵


by wh_duyuhao @ 2024-10-09 19:23:17

回关注大佬


by wh_duyuhao @ 2024-10-09 19:24:15

如何去掉呢? 我不会,人尴尬的


by mayike @ 2024-10-09 19:29:59

@duyuhao666 你如果不发团队链接我会帮你,但是你发了。


by wh_duyuhao @ 2024-10-09 19:31:13

xixixi


by wh_duyuhao @ 2024-10-09 19:38:27

但你是红名,我喜欢犇犇


by LSPXHZXW @ 2024-10-09 21:02:41

@duyuhao666 int i然后呢?i=什么没写,你也没去最高分和最低分。。。


|