dna.cpp: In function 'void init(std::string, std::string)':
dna.cpp:4:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forR(i, x) for(int i = 0; i < (x); ++i)
| ^
dna.cpp:14:2: note: in expansion of macro 'forR'
14 | forR(i, a.size()) REP(j, i, a.size()) {
| ^~~~
dna.cpp:5:41: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
5 | #define REP(i, a, b) for(int i = (a); i < (b); ++i)
| ^
dna.cpp:14:20: note: in expansion of macro 'REP'
14 | forR(i, a.size()) REP(j, i, a.size()) {
| ^~~
dna.cpp: In function 'int get_distance(int, int)':
dna.cpp:4:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forR(i, x) for(int i = 0; i < (x); ++i)
| ^
dna.cpp:39:3: note: in expansion of macro 'forR'
39 | forR(i, as.size()) forR(j, as.size()) {
| ^~~~
dna.cpp:4:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forR(i, x) for(int i = 0; i < (x); ++i)
| ^
dna.cpp:39:22: note: in expansion of macro 'forR'
39 | forR(i, as.size()) forR(j, as.size()) {
| ^~~~
dna.cpp:4:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forR(i, x) for(int i = 0; i < (x); ++i)
| ^
dna.cpp:42:4: note: in expansion of macro 'forR'
42 | forR(k, as.size()) forR(l, as.size()) {
| ^~~~
dna.cpp:4:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
4 | #define forR(i, x) for(int i = 0; i < (x); ++i)
| ^
dna.cpp:42:23: note: in expansion of macro 'forR'
42 | forR(k, as.size()) forR(l, as.size()) {
| ^~~~