실행 실패 (제출 코드 컴파일 에러)
Main.cpp:2:2: error: invalid preprocessing directive #using 2 | #using namespace std; | ^~~~~ Main.cpp: In function ‘int main()’: Main.cpp:7:5: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’? 7 | cin >> num; | ^~~ | std::cin In file included from Main.cpp:1: /usr/include/c++/11/iostream:60:18: note: ‘std::cin’ declared here 60 | extern istream cin; /// Linked to standard input | ^~~ Main.cpp:17:5: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’? 17 | cout << stage + 1; | ^~~~ | std::cout In file included from Main.cpp:1: /usr/include/c++/11/iostream:61:18: note: ‘std::cout’ declared here 61 | extern ostream cout; /// Linked to standard output | ^~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.