printer.cpp: In function 'void build(std::string)':
printer.cpp:39:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | while(at!=str.length()){
| ~~^~~~~~~~~~~~~~
printer.cpp:55:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | if(at==str.length()){
| ~~^~~~~~~~~~~~~~
printer.cpp:60:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | while(at!=str.length()-1){
| ~~^~~~~~~~~~~~~~~~
printer.cpp: In function 'void dfs(int)':
printer.cpp:89:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
89 | if(cur!=adjlist.size()) {
| ~~~^~~~~~~~~~~~~~~~
printer.cpp: In function 'void solve2()':
printer.cpp:115:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
115 | for(int i = 0; i < adjlist.size(); i++){
| ~~^~~~~~~~~~~~~~~~
printer.cpp:116:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
116 | for(int j = 0; j < adjlist[i].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~~
printer.cpp:125:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
125 | for(int i = 0; i < adjlist.size(); i++){
| ~~^~~~~~~~~~~~~~~~
printer.cpp: In function 'int main()':
printer.cpp:142:9: warning: unused variable 'tc' [-Wunused-variable]
142 | int tc = 1;
| ^~