실행 실패 (제출 코드 컴파일 에러)
Main.cpp:11:51: warning: multi-character character constant [-Wmultichar] 11 | vector<vector<char>> arr(15, vector<char>(15, '-1')); | ^~~~ Main.cpp: In function ‘int main()’: Main.cpp:11:51: warning: unsigned conversion from ‘int’ to ‘std::vector<char>::value_type’ {aka ‘char’} changes value from ‘11569’ to ‘49’ [-Woverflow] Main.cpp:18:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 18 | if (n_max < s.length()) | ~~~~~~^~~~~~~~~~~~ Main.cpp:21:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 21 | for (j = 0; j < s.length(); i++) | ~~^~~~~~~~~~~~ Main.cpp:30:27: warning: comparison with string literal results in unspecified behavior [-Waddress] 30 | if (arr[i][j] == "-1") continue; Main.cpp:30:27: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.