printer.cpp: In function 'int dfs(int, int)':
printer.cpp:14:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for (int i = 0; i < trie[u].size(); i++) {
| ~~^~~~~~~~~~~~~~~~
printer.cpp: In function 'void dfs1(int)':
printer.cpp:24:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for (int i = 0; i < trie[u].size(); i++) {
| ~~^~~~~~~~~~~~~~~~
printer.cpp: In function 'int main()':
printer.cpp:37:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for (int j = 0; j < s.length(); j++) {
| ~~^~~~~~~~~~~~
printer.cpp:38:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for (int k = 0; k < trie[u].size(); k++) {
| ~~^~~~~~~~~~~~~~~~
printer.cpp:55:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for (int i = 0; i < ans.size(); i++) cout << ans[i] << endl;
| ~~^~~~~~~~~~~~