encoder.cpp: In function 'int encode(int, int, int)':
encoder.cpp:28:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for(int i = 0 ; i < s.size() ; i++){
| ~~^~~~~~~~~~
encoder.cpp:37:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for(int i = 0 ; i < t.size() ; i++){
| ~~^~~~~~~~~~
decoder.cpp: In function 'int decode(int, int, int)':
decoder.cpp:35:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(int i = 0 ; i <s.size() ; i++){
| ~~^~~~~~~~~