printer.cpp: In member function 'void Trie::__up(int)':
printer.cpp:25:16: warning: unused variable 'vvt' [-Wunused-variable]
25 | int trc = 0, vvt = -1;
| ^~~
printer.cpp: At global scope:
printer.cpp:43:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
43 | main(){
| ^~~~
printer.cpp: In function 'int main()':
printer.cpp:2:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
2 | #define f(i,j,k) for(int i=j;i<=k;i++)
......
56 | f(i,0,s[ans[1]].size()-1) kq.pb(s[ans[1]][i]);
| ~~~~~~~~~~~~~~~~~~~~~~
printer.cpp:56:2: note: in expansion of macro 'f'
56 | f(i,0,s[ans[1]].size()-1) kq.pb(s[ans[1]][i]);
| ^
printer.cpp:2:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
2 | #define f(i,j,k) for(int i=j;i<=k;i++)
......
61 | f(i,0,s[u].size()-1)
| ~~~~~~~~~~~~~~~~~
printer.cpp:61:3: note: in expansion of macro 'f'
61 | f(i,0,s[u].size()-1)
| ^
printer.cpp:2:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
2 | #define f(i,j,k) for(int i=j;i<=k;i++)
......
65 | f(i,vt+1,s[v].size()-1) kq.pb(s[v][i]);
| ~~~~~~~~~~~~~~~~~~~~
printer.cpp:65:3: note: in expansion of macro 'f'
65 | f(i,vt+1,s[v].size()-1) kq.pb(s[v][i]);
| ^