简单
2024-09-13 20:41:16
发布于:广东
2阅读
0回复
0点赞
| 看我题解对的人 | 看我题解没对的人 | 
|---|---|
| 114514 | 0 | 
#include<bits/stdc++.h>//万能头文件 
using namespace std;
int main(){
    int n[11]={},shou,sum=0;
    
    for(int i=0;i<10;i++){
    	cin>>n[i];
    }
    cin>>shou;
    shou=shou+30;
    for(int i=0;i<10;i++){
        if(n[i]<=shou)
            sum++;
                
            
	}
    cout<<sum;
	return 0;
}
这里空空如也

有帮助,赞一个