실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘bool comp(std::pair<int, int>&, std::pair<int, int>&)’: Main.cpp:17:14: warning: statement has no effect [-Wunused-value] 17 | a.second < b.second; | ~~~~~~~~~^~~~~~~~~~ Main.cpp: In function ‘int main()’: Main.cpp:25:3: error: ‘vector’ was not declared in this scope 25 | vector<pair<int, int> > meetings; | ^~~~~~ Main.cpp:9:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’? 8 | #include <iostream> +++ |+#include <vector> 9 | Main.cpp:25:25: error: expected primary-expression before ‘>’ token 25 | vector<pair<int, int> > meetings; | ^ Main.cpp:25:27: error: ‘meetings’ was not declared in this scope 25 | vector<pair<int, int> > meetings; | ^~~~~~~~ Main.cpp: In function ‘bool comp(std::pair<int, int>&, std::pair<int, int>&)’: Main.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type] 19 | } | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.