실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:26:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::pair<int, std::__cxx11::basic_string<char> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 26 | for (int x=0; x<vec.size()); x++){ | ~^~~~~~~~~~~ Main.cpp:26:31: error: expected ‘;’ before ‘)’ token 26 | for (int x=0; x<vec.size()); x++){ | ^ | ; Main.cpp:26:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 26 | for (int x=0; x<vec.size()); x++){ | ^~~ Main.cpp:26:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 26 | for (int x=0; x<vec.size()); x++){ | ^ Main.cpp:26:34: error: ‘x’ was not declared in this scope Main.cpp:35:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 35 | for (int y=0; y<vec_string.size(); y++){ | ~^~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.