/in/foo.cc: In function 'int main()':
/in/foo.cc:43:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
/in/foo.cc:44:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
while(n--)scanf("%s",a),ins(a);
^
/in/foo.cc:45:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
ACbuild();scanf("%s",a);printf("%d\n",query(a));
^