- 陶陶摘苹果
- 2018-03-14 20:09:46 @
import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner s=new Scanner(System.in);
String str=s.nextLine();
Scanner s1=new Scanner(System.in);
int a=s1.nextInt();
String st=" ";
String[] ss=str.split(st);
int j=0;
for(int i=0;i<ss.length;i++)
{
int b=Integer.valueOf(ss[i]);
if((a+30)>=b)
{
j++;
}
}
System.out.println(j);
}
}
0 条评论
目前还没有评论...