실행 실패 (제출 코드 컴파일 에러)
Main.cpp:2:2: error: invalid preprocessing directive #incluee; did you mean #include? 2 | #incluee<vector> | ^~~~~~~ | include Main.cpp: In function ‘int main()’: Main.cpp:10:5: error: ‘vector’ was not declared in this scope 10 | vector<int> basket; | ^~~~~~ Main.cpp:2:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’? 1 | #include<iostream> +++ |+#include <vector> 2 | #incluee<vector> Main.cpp:10:12: error: expected primary-expression before ‘int’ 10 | vector<int> basket; | ^~~ Main.cpp:13:9: error: ‘basket’ was not declared in this scope 13 | basket.push_back(i+1); | ^~~~~~ Main.cpp:20:15: error: ‘basket’ was not declared in this scope 20 | tmp = basket[i-1]; | ^~~~~~ Main.cpp:26:15: error: ‘basket’ was not declared in this scope 26 | cout<<basket[i]<<" "; | ^~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.