실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int binary_search(int*, int, int, int, int)’: Main.cpp:38:23: error: expected primary-expression before ‘unsigned’ 38 | mid = unsigned int(L + R) / 2; | ^~~~~~~~ Main.cpp:43:25: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare] 43 | if (tmp >= target) { | ~~~~^~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.