Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
27697 唐心 老鼠喝水 C++ Accepted 2 MS 732 KB 254 2022-06-09 20:29:22

Tests(10/10):


Code:

#include <iostream> #include <cstdio> #include <cmath> #include <algorithm> using namespace std; int main() { int i,j,n,a,b,num=0; cin >>n>>a; for(i=0;i<n;i++) { cin >> b; if(a>=b) num++; } cout <<num<<endl; return 0; }