실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:11:19: error: ‘i’ was not declared in this scope 11 | cin >> tc[i]; | ^ Main.cpp:17:27: error: ‘primes’ was not declared in this scope; did you mean ‘Primes’? 17 | isNotPrime[2] = 0; primes.push_back(2); | ^~~~~~ | Primes Main.cpp:21:18: error: lvalue required as left operand of assignment 21 | for(int i=3;i*i=max_v;i+=2) { | ~^~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.