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;
}
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
10 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by divyanshchauhan (previous revision, new revision, compare).