실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:8:3: error: ‘vector’ was not declared in this scope 8 | vector<int> Avec(Anum), Bvec(Bnum); | ^~~~~~ Main.cpp:2:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’? 1 | #include <iostream> +++ |+#include <vector> 2 | using namespace std; Main.cpp:8:10: error: expected primary-expression before ‘int’ 8 | vector<int> Avec(Anum), Bvec(Bnum); | ^~~ Main.cpp:9:3: error: ‘map’ was not declared in this scope 9 | map<int, int> AmB, BmA; | ^~~ Main.cpp:2:1: note: ‘std::map’ is defined in header ‘<map>’; did you forget to ‘#include <map>’? 1 | #include <iostream> +++ |+#include <map> 2 | using namespace std; Main.cpp:9:7: error: expected primary-expression before ‘int’ 9 | map<int, int> AmB, BmA; | ^~~ Main.cpp:13:5: error: ‘Avec’ was not declared in this scope 13 | Avec[i] = tmp; | ^~~~ Main.cpp:14:5: error: ‘AmB’ was not declared in this scope 14 | AmB[tmp] = 1; | ^~~ Main.cpp:17:12: error: ‘Bvec’ was not declared in this scope 17 | cin >> Bvec[j]; | ^~~~ Main.cpp:19:5: error: ‘BmA’ was not declared in this scope 19 | BmA[tmp] = 1; | ^~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.