실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:86:41: error: expected ‘}’ at end of input 86 | water[x][y] = 0; | ^ Main.cpp:76:65: note: to match this ‘{’ 76 | if (water[x][y] != 0 && water[x][y] < cur_size) { | ^ Main.cpp:86:41: error: expected ‘}’ at end of input 86 | water[x][y] = 0; | ^ Main.cpp:72:72: note: to match this ‘{’ 72 | while (fish_cnt > 0 && min_fish_size < cur_size && !Q.empty()) { | ^ Main.cpp:86:41: error: expected ‘}’ at end of input 86 | water[x][y] = 0; | ^ Main.cpp:37:12: note: to match this ‘{’ 37 | int main() { | ^ Main.cpp:54:13: warning: unused variable ‘res’ [-Wunused-variable] 54 | int res = 0, fish_cnt = 0, cur_size = 2, eat_cnt = 0, min_fish_size = 99; | ^~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.