실행 실패 (제출 코드 컴파일 에러)
{"stderr": "Main.cpp:66:11: error: redefinition of \u2018const int INF\u2019\n 66 | const int INF = 987654321;\n | ^~~\nMain.cpp:3:11: note: \u2018const int INF\u2019 previously defined here\n 3 | const int INF = 987654321;\n | ^~~\nMain.cpp:67:6: error: redefinition of \u2018char a [1004][1004]\u2019\n 67 | char a[1004][1004];\n | ^\nMain.cpp:4:6: note: \u2018char a [1004][1004]\u2019 previously declared here\n 4 | char a[1004][1004];\n | ^\nMain.cpp:68:5: error: redefinition of \u2018int n\u2019\n 68 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^\nMain.cpp:5:5: note: \u2018int n\u2019 previously declared here\n 5 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^\nMain.cpp:68:7: error: redefinition of \u2018int m\u2019\n 68 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^\nMain.cpp:5:7: note: \u2018int m\u2019 previously declared here\n 5 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^\nMain.cpp:68:9: error: redefinition of \u2018int sx\u2019\n 68 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^~\nMain.cpp:5:9: note: \u2018int sx\u2019 previously declared here\n 5 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^~\nMain.cpp:68:12: error: redefinition of \u2018int sy\u2019\n 68 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^~\nMain.cpp:5:12: note: \u2018int sy\u2019 previously declared here\n 5 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^~\nMain.cpp:68:15: error: redefinition of \u2018int dx [4]\u2019\n 68 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^~\nMain.cpp:5:15: note: \u2018int dx [4]\u2019 previously defined here\n 5 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^~\nMain.cpp:68:32: error: redefinition of \u2018int dy [4]\u2019\n 68 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^~\nMain.cpp:5:32: note: \u2018int dy [4]\u2019 previously defined here\n 5 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^~\nMain.cpp:68:50: error: redefinition of \u2018int ret\u2019\n 68 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^~~\nMain.cpp:5:50: note: \u2018int ret\u2019 previously declared here\n 5 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^~~\nMain.cpp:68:55: error: redefinition of \u2018int y\u2019\n 68 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^\nMain.cpp:5:55: note: \u2018int y\u2019 previously declared here\n 5 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^\nMain.cpp:68:58: error: redefinition of \u2018int x\u2019\n 68 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^\nMain.cpp:5:58: note: \u2018int x\u2019 previously declared here\n 5 | int n,m,sx,sy,dx[4]={0,1,0,-1},dy[4]={-1,0,1,0}, ret, y, x;\n | ^\nMain.cpp:69:5: error: redefinition of \u2018int fire_check [1004][1004]\u2019\n 69 | int fire_check[1004][1004], person_check[1004][1004];\n | ^~~~~~~~~~\nMain.cpp:6:5: note: \u2018int fire_check [1004][1004]\u2019 previously declared here\n 6 | int fire_check[1004][1004], person_check[1004][1004];\n | ^~~~~~~~~~\nMain.cpp:69:29: error: redefinition of \u2018int person_check [1004][1004]\u2019\n 69 | int fire_check[10(...truncated, total 4741 characters, 1 lines)
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.