실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:10:57: error: ‘std::string’ {aka ‘class std::__cxx11::basic_string<char>’} has no member named ‘eof’ 10 | if ((str[0] == ' ' && str.length() == 1) || str.eof()) { | ^~~ Main.cpp:13:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 13 | for (int i = 1; i < str.length() - 1; i++) { | ~~^~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.