/in/foo.cc: In function 'int main()':
/in/foo.cc:8:25: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d%d%d",&n,&k,&h);
^
/in/foo.cc:8:25: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:8:25: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
/in/foo.cc:11:36: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
for(int i=1;i<=h;i++)scanf("%d",&x),ans/=s[x];
^