실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:11:5: error: ‘cin’ was not declared in this scope 11 | cin >> N; | ^~~ Main.cpp:3:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’? 2 | #include <stack> +++ |+#include <iostream> 3 | Main.cpp:41:9: error: ‘cout’ was not declared in this scope 41 | cout << "Nice"; | ^~~~ Main.cpp:41:9: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’? Main.cpp:44:9: error: ‘cout’ was not declared in this scope 44 | cout << "Sad"; | ^~~~ Main.cpp:44:9: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.