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