실행 실패 (제출 코드 컴파일 에러)
Main.cpp:21:15: error: empty character constant 21 | if(color != ''){ | ^~ Main.cpp:55:30: error: empty character constant 55 | int width = getNor(i,j,''); | ^~ Main.cpp:66:30: error: empty character constant 66 | int width = getNor(i,j,''); | ^~ Main.cpp: In function ‘int getRg(int, int)’: Main.cpp:39:15: error: too many arguments to function ‘int getRg(int, int)’ 39 | return getRg(r+1,c,v[r][c]) + getRg(r-1,c,v[r][c]) + getRg(r,c+1,v[r][c]) +getRg(r,c-1,v[r][c]); | ~~~~~^~~~~~~~~~~~~~~ Main.cpp:32:5: note: declared here 32 | int getRg(int r, int c){ | ^~~~~ Main.cpp:39:38: error: too many arguments to function ‘int getRg(int, int)’ 39 | return getRg(r+1,c,v[r][c]) + getRg(r-1,c,v[r][c]) + getRg(r,c+1,v[r][c]) +getRg(r,c-1,v[r][c]); | ~~~~~^~~~~~~~~~~~~~~ Main.cpp:32:5: note: declared here 32 | int getRg(int r, int c){ | ^~~~~ Main.cpp:39:61: error: too many arguments to function ‘int getRg(int, int)’ 39 | return getRg(r+1,c,v[r][c]) + getRg(r-1,c,v[r][c]) + getRg(r,c+1,v[r][c]) +getRg(r,c-1,v[r][c]); | ~~~~~^~~~~~~~~~~~~~~ Main.cpp:32:5: note: declared here 32 | int getRg(int r, int c){ | ^~~~~ Main.cpp:39:83: error: too many arguments to function ‘int getRg(int, int)’ 39 | return getRg(r+1,c,v[r][c]) + getRg(r-1,c,v[r][c]) + getRg(r,c+1,v[r][c]) +getRg(r,c-1,v[r][c]); | ~~~~~^~~~~~~~~~~~~~~ Main.cpp:32:5: note: declared here 32 | int getRg(int r, int c){ | ^~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.