printer.cpp: In function 'void build(int, std::string, int)':
printer.cpp:17:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | if(ind==a.length()){
| ~~~^~~~~~~~~~~~
printer.cpp:21:29: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | if(trie[node].arr[a[ind]]==-1){
| ^
printer.cpp:22:30: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | trie[node].arr[a[ind]] = nextnode;
| ^
printer.cpp:28:32: warning: array subscript has type 'char' [-Wchar-subscripts]
28 | build(trie[node].arr[a[ind]],a,ind+1);
| ^
printer.cpp: In function 'void pnt(int, int)':
printer.cpp:35:11: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | if(ind==final.length()){
| ~~~^~~~~~~~~~~~~~~~
printer.cpp:43:27: warning: array subscript has type 'char' [-Wchar-subscripts]
43 | if(trie[node].arr[i]!=-1){
| ^
printer.cpp:45:32: warning: array subscript has type 'char' [-Wchar-subscripts]
45 | pnt(trie[node].arr[i],ind+1);
| ^
printer.cpp:48:33: warning: array subscript has type 'char' [-Wchar-subscripts]
48 | if(trie[node].arr[final[ind]]!=-1){
| ^
printer.cpp:50:38: warning: array subscript has type 'char' [-Wchar-subscripts]
50 | pnt(trie[node].arr[final[ind]],ind+1);
| ^
printer.cpp: In function 'int main()':
printer.cpp:64:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
64 | if(a.length()>maxi){
| ~~~~~~~~~~^~~~~
printer.cpp:71:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | for(int i=0;i<ans.length()-final.length()-1;i++){
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~