printer.cpp: In function 'void build(std::string)':
printer.cpp:40:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | while(at!=str.length()){
| ~~^~~~~~~~~~~~~~
printer.cpp:56:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | if(at==str.length()){
| ~~^~~~~~~~~~~~~~
printer.cpp:61:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | while(at!=str.length()-1){
| ~~^~~~~~~~~~~~~~~~
printer.cpp: In function 'void dfs(int)':
printer.cpp:99:7: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
99 | if(cur!=adjlist.size()) {
| ~~~^~~~~~~~~~~~~~~~
printer.cpp: In function 'void specbuild(std::string)':
printer.cpp:106:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
106 | for(int i = 0; i < adjlist.size(); i++){
| ~~^~~~~~~~~~~~~~~~
printer.cpp:112:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
112 | while(at!=str.length()){
| ~~^~~~~~~~~~~~~~
printer.cpp: In function 'void solve2()':
printer.cpp:157:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
157 | for(int i = 0; i < adjlist.size(); i++){
| ~~^~~~~~~~~~~~~~~~
printer.cpp: In function 'int main()':
printer.cpp:174:9: warning: unused variable 'tc' [-Wunused-variable]
174 | int tc = 1;
| ^~