Please read the new rule regarding the restriction on the use of AI tools. ×

divyanshchauhan's blog

By divyanshchauhan, history, 8 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

»
8 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).