Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
97127 | 潘梓骞 | 老鼠喝水 | C++ | Wrong Answer | 1 MS | 276 KB | 185 | 2024-11-10 13:22:31 |
#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(t>s){ a+=1; } } cout<<a; return 0; }
------Input------
7 4 17 2 4 1 7 4 4
------Answer-----
5
------Your output-----
2