실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:7:5: error: ‘cin’ was not declared in this scope 7 | cin >> N >> M; | ^~~ Main.cpp:3:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’? 2 | #include<algorithm> +++ |+#include <iostream> 3 | using namespace std; Main.cpp:24:5: error: ‘cout’ was not declared in this scope 24 | cout << nearsum; | ^~~~ Main.cpp:24:5: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.