Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
97129 潘梓骞 老鼠喝水 C++ Accepted 1 MS 272 KB 186 2024-11-10 13:25:37

Tests(10/10):


Code:

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