文章

246

粉丝

0

获赞

1155

访问

48.6k

头像
陶陶摘苹果 题解:
P1084
发布于2026年3月12日 16:12
阅读数 102

#include<iostream>
using namespace std;

const int N=11;

int w[N],high;

int main()
{
    int res=0;
    for(int i=0;i<10;i++)
    cin>>w[i];
    cin>>high;
    for(int i=0;i<10;i++)
    if(high+30>=w[i])
    res++;
    cout<<res;
    return 0;
}

 

登录查看完整内容


登录后发布评论

暂无评论,来抢沙发