↵
~~~~~↵
#include <bits/stdc++.h>↵
using namespace std;↵
int main(){↵
int d,t,temp;↵
cin>>d;↵
cin>>t;↵
int res=0;↵
for(int i=0;i<t;i++){↵
cin>>temp;↵
if(temp>d){↵
res++;↵
}↵
}↵
cout<<res;↵
}↵
~~~~~↵
↵
↵
~~~~~↵
#include <bits/stdc++.h>↵
using namespace std;↵
int main(){↵
int d,t,temp;↵
cin>>d;↵
cin>>t;↵
int res=0;↵
for(int i=0;i<t;i++){↵
cin>>temp;↵
if(temp>d){↵
res++;↵
}↵
}↵
cout<<res;↵
}↵
~~~~~↵
↵
↵