실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:10:3: error: ‘scanf’ was not declared in this scope 10 | scanf("%d", &iCnt); | ^~~~~ Main.cpp:21:7: error: ‘printf’ was not declared in this scope 21 | printf("%d", *setNums.begin()); | ^~~~~~ Main.cpp:2:1: note: ‘printf’ is defined in header ‘<cstdio>’; did you forget to ‘#include <cstdio>’? 1 | #include <set> +++ |+#include <cstdio> 2 | Main.cpp:22:15: error: ‘class std::set<int>’ has no member named ‘erease’; did you mean ‘erase’? 22 | setNums.erease(setNums.begin()); | ^~~~~~ | erase
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.