Please read the new rule regarding the restriction on the use of AI tools. ×
Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

Code for the problem Rank Realization
Difference between en1 and en2, changed 20 character(s)

~~~~~↵
#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;↵
}↵
~~~~~↵


History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English divyanshchauhan 2024-02-01 08:16:22 20
en1 English divyanshchauhan 2024-02-01 08:14:54 290 Initial revision (published)