0?

P5719 【深基4.例3】分类平均

xkg821 @ 2022-03-23 14:47:54

include<bits/stdc++.h>

using namespace std; int main(){ int n,a,s,e; cin>>n; for(int i=1;i<=n;i++){ cin>>a; if(a%19==0){ s++; }else{ e++; } } printf("%.1lf",s); cout<<" "; printf("%.1lf",e);
}```

include<bits/stdc++.h>

using namespace std; int main(){ int n,a,s,e; cin>>n; for(int i=1;i<=n;i++){ cin>>a; if(a%19==0){ s++; }else{ e++; } } printf("%.1lf",s); cout<<" "; printf("%.1lf",e);
}


by _Ad_Astra_ @ 2022-03-23 14:49:39

望丰展?使Md


by lanretE @ 2022-03-23 14:49:56

。。。


by BantM @ 2022-03-23 14:51:00

希望更丰富的展现?使用Markdown


by _Ad_Astra_ @ 2022-03-23 14:51:48

拜托请您好歹先看看题面啊

还有您样例都不测的吗

明显有bug啊

最近这些ssd真烦


by xkg821 @ 2022-03-30 13:58:40

@Lehe 注意文明用语


by _Ad_Astra_ @ 2022-03-30 14:04:26

@xkg821 我哪里骂人了?

如果是ssd的话ssd=伸手党


|