题解
2023-03-15 17:03:08
发布于:上海
202阅读
0回复
0点赞
#include <iostream>
using namespace std;
int main(){
int q,w,e,r,t,y,u,i,o,p,a,s;
cin>>q>>w>>e>>r>>t>>y>>u>>i>>o>>p>>a;
if (a+30>=q) s++;
if (a+30>=w) s++;
if (a+30>=e) s++;
if (a+30>=r) s++;
if (a+30>=t) s++;
if (a+30>=y) s++;
if (a+30>=u) s++;
if (a+30>=i) s++;
if (a+30>=o) s++;
if (a+30>=p) s++;
cout<<s;
return 0;
}
全部评论 4
又是我嗨嗨嗨
2024-12-14 来自 浙江
0有一个叫for循环的东西
2024-07-23 来自 江苏
0用数组不香吗?
2024-07-10 来自 江苏
0零基础吧
2025-03-01 来自 新疆
0
感觉不用一个个来算
2024-05-15 来自 浙江
0
有帮助,赞一个