pin.cpp: In function 'void add(std::string)':
pin.cpp:2:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
2 | #define rep(a,b,c) for(int a=b; a<c; a++)
......
20 | rep(i,0,s.size()){
| ~~~~~~~~~~~~
pin.cpp:20:2: note: in expansion of macro 'rep'
20 | rep(i,0,s.size()){
| ^~~
pin.cpp: In function 'int find(std::string)':
pin.cpp:2:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
2 | #define rep(a,b,c) for(int a=b; a<c; a++)
......
32 | rep(i,0,s.size()){
| ~~~~~~~~~~~~
pin.cpp:32:2: note: in expansion of macro 'rep'
32 | rep(i,0,s.size()){
| ^~~