실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void sieve()’: Main.cpp:2:5: error: ‘isPrime’ was not declared in this scope 2 | isPrime[0] = false; | ^~~~~~~ Main.cpp:4:30: error: ‘MAX’ was not declared in this scope 4 | for (int i = 2; i * i <= MAX; i++) { | ^~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.