Răspuns :
#include <iostream>
using namespace std;
int main(){ int n,x,k=0; cin>>x; while(cin>>n && n!=0) { if(n<x) k++; } cout<<k; return 0;}
using namespace std;
int main(){ int n,x,k=0; cin>>x; while(cin>>n && n!=0) { if(n<x) k++; } cout<<k; return 0;}
#include <iostream>
using namespace std;
int main() {
int x, n, nr = 0;
cin >> x >> n;
while (n > 0) {
if(n < x)
nr++;
cin >> n;
}
cout << nr;
return 0;
}
using namespace std;
int main() {
int x, n, nr = 0;
cin >> x >> n;
while (n > 0) {
if(n < x)
nr++;
cin >> n;
}
cout << nr;
return 0;
}