/in/ex3.cpp: In function 'std::__cxx11::string del_lead(std::__cxx11::string)':
/in/ex3.cpp:14:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for(int i = 0 ; i < x.size() ; ++i){
~~^~~~~~~~~~
/in/ex3.cpp:26:23: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
for(int i = 0 ; i < ans.size() ; ++i){
~~^~~~~~~~~~~~
/in/ex3.cpp: In function 'int main(int, char**)':
/in/ex3.cpp:95:10: error: unused variable 'leading' [-Werror=unused-variable]
bool leading = 1, ending = 1;
^~~~~~~
/in/ex3.cpp:95:23: error: unused variable 'ending' [-Werror=unused-variable]
bool leading = 1, ending = 1;
^~~~~~
cc1plus: all warnings being treated as errors
/in/compile/Makefile:20: recipe for target 'ex3.o' failed
make: *** [ex3.o] Error 1