encoder.cpp: In function 'void encode(int, int, int, int*, int*)':
encoder.cpp:69:13: error: 'encode_bit' was not declared in this scope; did you mean 'encode'?
69 | encode_bit(it-'0');
| ^~~~~~~~~~
| encode
decoder.cpp: In function 'void decode(int, int)':
decoder.cpp:29:10: error: 'decode_bit' was not declared in this scope; did you mean 'decode'?
29 | ll x=decode_bit();
| ^~~~~~~~~~
| decode
decoder.cpp:35:17: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for(ll k=0;k<s.size();k++)
| ~^~~~~~~~~
decoder.cpp:42:5: error: 'hops' was not declared in this scope
42 | hops(i,j,val);
| ^~~~