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