public static void main(String[] args) {       Scanner sc = new Scanner(System.in);     int[] H = new int[10];     for(int i = 0; i < 10; i++){       int  x = sc.nextInt();         H[i]= x;     }     Scanner sc2 = new Scanner(System.in);     int height = sc2.nextInt();     int count=0;     for(int i=0;i<10;i++){         if(height+30>=H[i]) count++; }     System.out.print(count); } 为什么是0??
点赞 2

相关推荐

qq乃乃好喝到咩噗茶:院校后面加上211标签,放大加粗,招呼语也写上211
点赞 评论 收藏
分享
买蜜雪也用卷:我觉得应该没有哪个人敢说自己熟练使用git,代码分支一复杂还是得慢慢寻思一下的,不过基本的拉代码提交代码还有分支什么的是应该会
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务