실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void dfs()’: Main.cpp:10:18: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 10 | if(seq.size()==M){ | ~~~~~~~~~~^~~ Main.cpp:11:17: warning: unused variable ‘num’ [-Wunused-variable] 11 | for(int num : seq){} | ^~~ Main.cpp:12:21: error: ‘num’ was not declared in this scope; did you mean ‘enum’? 12 | cout << num << ' '; | ^~~ | enum Main.cpp: At global scope: Main.cpp:17:5: error: expected unqualified-id before ‘for’ 17 | for(int i=1; i<=N; ++i){ | ^~~ Main.cpp:17:18: error: ‘i’ does not name a type 17 | for(int i=1; i<=N; ++i){ | ^ Main.cpp:17:24: error: expected unqualified-id before ‘++’ token 17 | for(int i=1; i<=N; ++i){ | ^~ Main.cpp:26:1: error: expected declaration before ‘}’ token 26 | } | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.