/in/foo.cc: In function 'int main()':
/in/foo.cc:36:7: error: missing template arguments before '.' token
hash.clear();
^
/in/foo.cc:54:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d %d\n",ans,ansk.size());
~~~~~~~~~~~^
/in/foo.cc:55:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<ansk.size();i++) printf("%d ",ansk[i]);
~^~~~~~~~~~~~