Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
97131 张永良 老鼠喝水 C++ Wrong Answer 0 MS 272 KB 190 2024-11-10 13:30:39

Tests(0/10):


Code:

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


Run Info:

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