社会你牛哥 @ 2017-03-23 18:17:51
#include <iostream>
#include<cstdio>
#include<iomanip>
using namespace std;
int main(int argc, char *argv[]) {
int a,b,c,d,e,f,g,h,i,j;
int sum=0;
int x,y;
cin>>a>>b>>c>>d>>e>>f>>g>>h>>i>>j;
cin>>x;
y=x+30;
if(a<=y){
sum+=1;}
else{
sum+=0;
}
if(b<=y){
sum+=1;}
else{
sum+=0;
}
if(c<=y){
sum+=1;}
else{
sum+=0;
}
if(d<=y){
sum+=1;}
else{
sum+=0;
}
if(e<=y){
sum+=1;}
else{
sum+=0;
}
if(f<=y){
sum+=1;}
else{
sum+=0;
}
if(g<=y){
sum+=1;}
else{
sum+=0;
}
if(h<=y){
sum+=1;}
else{
sum+=0;
}
if(i<=y){
sum+=1;}
else{
sum+=0;
}
if(j<=y){
sum+=1;}
else{
sum+=0;
}
cout<<sum;
return 0;
}
by sishuinianhua @ 2017-03-31 19:59:24
······对你这种人,我无话可说。
by SUMING @ 2017-04-09 21:25:03
hou yan wu chi
by SWQS王俊桦 @ 2017-04-10 13:00:00
你个吊毛
by Yineil @ 2017-04-18 16:38:22
。。。
by 喔哈哈哈 @ 2017-04-20 20:55:24
无语
by 管理b员 @ 2017-04-27 12:15:48
by tangent_of_circle @ 2021-07-26 21:50:01
sum+=0我服了