실행 실패 (제출 코드 컴파일 에러)
Main.cpp:4:1: error: ‘vector’ does not name a type 4 | vector<int> v,v1; | ^~~~~~ Main.cpp: In function ‘int main()’: Main.cpp:17:10: error: ‘j’ was not declared in this scope 17 | cin>>j; | ^ Main.cpp:24:13: error: ‘v’ was not declared in this scope 24 | v.push_back(a[i]); | ^ Main.cpp:32:13: error: ‘v1’ was not declared in this scope 32 | v1.push_back(b[i]); | ^~ Main.cpp:35:39: error: ‘v’ was not declared in this scope 35 | v1.push_back(b[j]+v[v1.size()-1]); | ^ Main.cpp:38:10: error: ‘v1’ was not declared in this scope 38 | sort(v1.begin(),v1.end()) | ^~ Main.cpp:39:23: error: ‘v’ was not declared in this scope 39 | for(int i=0;i<v.size();i++) | ^ Main.cpp:39:21: error: ‘i’ was not declared in this scope 39 | for(int i=0;i<v.size();i++) | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.