Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
86905 张曦 老鼠喝水 Java Wrong Answer 0 MS 308 KB 193 2024-07-29 09:34:54

Tests(0/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n,t,te,co=0; cin>>n>>t; for(int i=0;i<n;i++){ cin>>te; if(te<=t){ co++; } } cout<<co; return 0; }


Run Info:

------Input------
7 4 17 2 4 1 7 4 4
------Answer-----
5
------Your output-----