necklace.cpp: In function 'bool is_equal(std::string, std::string)':
necklace.cpp:21:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for(int c = 0; c < x.length(); ++c){
| ~~^~~~~~~~~~~~
necklace.cpp:23:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i = 0; i < x.length(); ++i){
| ~~^~~~~~~~~~~~
necklace.cpp:36:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for(int c = 0; c < x.length(); ++c){
| ~~^~~~~~~~~~~~
necklace.cpp:38:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(int i = 0; i < x.length(); ++i){
| ~~^~~~~~~~~~~~
necklace.cpp: In function 'int main()':
necklace.cpp:78:16: warning: unused variable 'aa' [-Wunused-variable]
78 | int T = 1, aa;
| ^~