실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:72:32: warning: comparison with string literal results in unspecified behavior [-Waddress] 72 | if(cmd == "I") data.Insert(num); | ~~~~^~~~~~ Main.cpp:72:32: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] Main.cpp:73:37: warning: comparison with string literal results in unspecified behavior [-Waddress] 73 | else if(cmd == "D") data.Remove(num); | ~~~~^~~~~~ Main.cpp:73:37: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.