Record Detail

Compile Error

In file included from /in/compile/ex1.cpp:4:0:
/in/ex1.h: In function 'std::__cxx11::string findSingleWord(std::vector<std::__cxx11::basic_string<char> >&)':
/in/ex1.h:13:31: error: 'strcmp' was not declared in this scope
             result = result + strcmp(&arr[i], &arr[j]);
                               ^~~~~~
/in/ex1.h:13:31: note: suggested alternative: 'strtoq'
             result = result + strcmp(&arr[i], &arr[j]);
                               ^~~~~~
                               strtoq

Information

Submit By
Type
Submission
Homework
Final Exam
Language
C++
Submit At
2022-08-02 15:41:13
Judged At
2022-08-06 15:13:59
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes