실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:29:54: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator>’ 29 | while (tree.size() > 0 and tree.back > h) { | ~~~~~~~~~ ^ ~ | | | | | int | <unresolved overloaded function type> Main.cpp:11:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 11 | scanf("%d %d", &n, &m); | ~~~~~^~~~~~~~~~~~~~~~~ Main.cpp:14:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 14 | scanf("%d", &a); | ~~~~~^~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.