Where is wrong
My program:
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
long long i,j,n,m,count=0,aa;
bool a[1000000001];
int main()
{
//freopen("input.txt","r",stdin);
//freopen("output.txt","w",stdout);
//memset(a,false,sizeof(a));
scanf("%lld",&n);
for(i=1;i<=n;i++)
{
scanf("%lld",&aa);
a[aa]=true;
}
scanf("%lld",&m);
for(i=1;i<=m;i++)
{
scanf("%lld",&aa);
if(a[aa]==true) count++;
}
printf("%lld",count);
//system("pause");
return 0;
}
It said that "Runtime error (access violation)" in test 10,so why?Please help!!!