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:88:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
88 | if(cur!=adjlist.size()) {
| ~~~^~~~~~~~~~~~~~~~
printer.cpp: In function 'void solve2()':
printer.cpp:114:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
114 | for(int i = 0; i < adjlist.size(); i++){
| ~~^~~~~~~~~~~~~~~~
printer.cpp:115:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
115 | for(int j = 0; j < adjlist[i].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~~
printer.cpp:124:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
124 | for(int i = 0; i < adjlist.size(); i++){
| ~~^~~~~~~~~~~~~~~~
printer.cpp: In function 'int main()':
printer.cpp:141:9: warning: unused variable 'tc' [-Wunused-variable]
141 | int tc = 1;
| ^~