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

相关推荐

那一天的Java_Java起来:他本来公司就是做这个的,不就是正常的游戏客户端和服务器开发,软硬件联动,有啥恶心不恶心的,提前告诉你就是怕你接受不了,接受不了就没必要再往后走流程浪费时间,虽然这公司是一坨。
点赞 评论 收藏
分享
风的叶脉:不知道但我想要鞭打你( '-' )ノ)`-' ) 加油
点赞 评论 收藏
分享
牛客网
牛客网在线编程
牛客网题解
牛客企业服务