실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:23:5: error: ‘ios’ has not been declared 23 | ios::sync_with_stdio(false); | ^~~ Main.cpp:24:5: error: ‘cin’ was not declared in this scope 24 | cin.tie(NULL); | ^~~ Main.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’? +++ |+#include <iostream> 1 | using namespace std; Main.cpp:24:13: error: ‘NULL’ was not declared in this scope 24 | cin.tie(NULL); | ^~~~ Main.cpp:1:1: note: ‘NULL’ is defined in header ‘<cstddef>’; did you forget to ‘#include <cstddef>’? +++ |+#include <cstddef> 1 | using namespace std; Main.cpp:25:5: error: ‘cout’ was not declared in this scope 25 | cout.tie(NULL); | ^~~~ Main.cpp:25:5: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.