실행 실패 (제출 코드 컴파일 에러)
Main.cpp:17:6: error: expected unqualified-id before ‘delete’ 17 | void delete(char* name); | ^~~~~~ Main.cpp: In function ‘int main()’: Main.cpp:32:20: warning: deleting array ‘name’ 32 | delete(name); | ~^~~~~ Main.cpp: At global scope: Main.cpp:63:6: error: expected unqualified-id before ‘delete’ 63 | void delete(char* name) { | ^~~~~~ Main.cpp: In function ‘int main()’: Main.cpp:23:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 23 | scanf("%d", &n); | ~~~~~^~~~~~~~~~ Main.cpp:27:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 27 | scanf("%s %s", name, action); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.