실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void myFunc(int)’: Main.cpp:39:31: error: ‘tmp’ was not declared in this scope; did you mean ‘top’? 39 | tmp_s[i].push(tmp); | ^~~ | top Main.cpp:49:27: error: cannot convert ‘std::stack<int>::empty’ from type ‘bool (std::stack<int>::)() const’ to type ‘bool’ 49 | if (tmp_s[0].empty) i = 1; | ^ Main.cpp: In function ‘int main()’: Main.cpp:76:24: error: ‘std::__cxx11::list<std::stack<int> >::iterator’ has no member named ‘size’ 76 | int size = *it.size(); | ^~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.