실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘std::string join(std::vector<std::__cxx11::basic_string<char> >, std::string)’: Main.cpp:20:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 20 | for (int i = 0; i < vec.size(); i++) { | ~~^~~~~~~~~~~~ Main.cpp:24:9: error: ‘ends_with_dollar’ was not declared in this scope 24 | if (ends_with_dollar) result.append(str); | ^~~~~~~~~~~~~~~~ Main.cpp: In function ‘int main()’: Main.cpp:34:34: warning: right operand of comma operator has no effect [-Wunused-value] 34 | cin >> input >> S >> N, min, max; | ^~~ Main.cpp:34:37: warning: right operand of comma operator has no effect [-Wunused-value] 34 | cin >> input >> S >> N, min, max; | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.