Files
python/TangDou/LanQiaoBei/LanQiaoBeiWhitePaper/littleMouse.cpp

16 lines
266 B
C++
Raw Normal View History

2025-08-30 18:35:01 +08:00
#include<iostream>
using namespace std;
int main() {
int n, t;
int count = 0;
cin >> n >> t;
for (int i = 1; i <= n; i++) {
int a;
cin >> a;
if (a < t) count++;
}
cout << count << endl;
return 0;
}