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:56:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | while(at!=str.length()-1){
| ~~^~~~~~~~~~~~~~~~
printer.cpp: In function 'void dfs(int)':
printer.cpp:84:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
84 | if(cur!=adjlist.size()) {
| ~~~^~~~~~~~~~~~~~~~
printer.cpp: In function 'void solve2()':
printer.cpp:110:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
110 | for(int i = 0; i < adjlist.size(); i++){
| ~~^~~~~~~~~~~~~~~~
printer.cpp:111:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
111 | for(int j = 0; j < adjlist[i].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~~
printer.cpp:120:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
120 | for(int i = 0; i < adjlist.size(); i++){
| ~~^~~~~~~~~~~~~~~~
printer.cpp: In function 'int main()':
printer.cpp:137:9: warning: unused variable 'tc' [-Wunused-variable]
137 | int tc = 1;
| ^~