/in/foo.cc: In function 'int BITadd(int, int)':
/in/foo.cc:99:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
/in/foo.cc: In function 'void failtreedfs(int)':
/in/foo.cc:111:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<qry[x].size();i++){
~^~~~~~~~~~~~~~
/in/foo.cc:118:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<failtree[x].size();i++){
~^~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:153:68: warning: narrowing conversion of '(qry[stringnode[y]].std::vector<_Tp, _Alloc>::size<QRY, std::allocator<QRY> >() - 1ul)' from 'std::vector<QRY>::size_type {aka long unsigned int}' to 'int' inside { } [-Wnarrowing]
qryindex[i]=(QRYINDEX){stringnode[y],qry[stringnode[y]].size()-1};
~~~~~~~~~~~~~~~~~~~~~~~~~^~