#include<cstdio>
#include<algorithm>
#include<cstring>
#include<iostream>
#include<vector>
#include<set>
#include<map>
#include<bitset>
#include<cmath>
#include<string>
#define ls (t<<1)
#define rs ((t<<1)+1)
#define mid ((l+r)>>1)
#define fi first
#define se second
#define mk make_pair
#define pb push_back
#define N 100005
#define M 200005
#define seed 23333
using namespace std;
int i,j,m,n,p,k,A,B,x;
set<int>st;
int main()
{
scanf("%d%d%d",&n,&A,&B);
for (i=1;i<=n;++i)
{
scanf("%d",&x);
if (x<A||x>=B) st.insert(x);
}
printf("%d\n",(int)st.size());
}
./Main.cpp: In function ‘int main()’:
./Main.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&A,&B);
^
./Main.cpp:32:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^