ARGV @ 2020-06-22 18:56:48
#include<bits/stdc++.h>
using namespace std;
int main(){
int a[10],n;
int s=0;
for(int i=0;i<10;i++)cin>>a[i];
cin>>n;
for(int j=0;j<10;j++){
if(j+30>=a[j])s+=1;
}
cout<<s;
}
炸毛肥死啊
by _5011_ @ 2020-06-22 18:58:35
if(j+30>=a[j])s+=1;
if(n+30>=a[j])s+=1;
by _5011_ @ 2020-06-22 18:58:43
@yiayiayi
by deep_in_the_blue @ 2020-06-22 18:58:50
@yiayiayi
if(j+30>=a[j])s+=1;
应该为:
if(n+30>=a[j])s+=1;
by ARGV @ 2020-06-22 19:03:11
哦,谢谢
by ARGV @ 2020-06-22 19:08:26
咋成了0分嘞@黎明的那道光@Zephyr_
by asasas @ 2020-06-22 19:08:50
@yiayiayi 数组小了
by asasas @ 2020-06-22 19:09:05
@yiayiayi 数组开成15
by tidongCrazy @ 2020-06-22 19:10:31
@yiayiayi 你用的文言文语言
by ARGV @ 2020-06-22 19:16:24
@提动Crazy 纳尼
by asasas @ 2020-06-22 19:22:38
@yiayiayi 。。。