Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
161717 王垚植 老鼠喝水 C++ Accepted 1 MS 264 KB 249 2026-10-07 09:28:17

Tests(10/10):


Code:

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