Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
147627 张晓冉 老鼠喝水 C++ Wrong Answer 0 MS 268 KB 244 2026-02-06 15:19:00

Tests(0/10):


Code:

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


Run Info:

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