Record Detail

Compile Error

/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){
                     ~~^~~~~~~~~~~~
cc1plus: all warnings being treated as errors
/in/compile/Makefile:20: recipe for target 'ex3.o' failed
make: *** [ex3.o] Error 1

Information

Submit By
Type
Submission
Homework
Exercise 3
Language
C++
Submit At
2024-11-03 15:50:02
Judged At
2024-11-03 15:50:02
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes