divyanshchauhan's blog

By divyanshchauhan, history, 10 months ago, In English
#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;
}

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it