실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void blank(int)’: Main.cpp:8:40: error: expected primary-expression before ‘)’ token 8 | for(int j=0; j<sz; ++j>) | ^ Main.cpp: In function ‘void draw_mid_square(int)’: Main.cpp:21:27: error: ‘N’ was not declared in this scope 21 | for(; i < N/9; ++i) | ^ Main.cpp:27:29: error: ‘N’ was not declared in this scope 27 | for(i=0; i< N/9; ++i) | ^ Main.cpp:33:30: error: ‘N’ was not declared in this scope 33 | for(i=0; i < N/9; ++i) | ^ Main.cpp:42:9: error: ‘draw_square’ was not declared in this scope; did you mean ‘draw_mid_square’? 42 | draw_square(sz); | ^~~~~~~~~~~ | draw_mid_square Main.cpp: In function ‘void draw_square(int)’: Main.cpp:54:25: error: ‘N’ was not declared in this scope 54 | for(; i<N; ++i)cout << "*"; | ^ Main.cpp:56:29: error: ‘N’ was not declared in this scope 56 | for(i=0; i< N / 3; ++i)cout << "* *"; | ^ Main.cpp:58:28: error: ‘N’ was not declared in this scope 58 | for(i=0; i<N; ++i)cout << "*"; | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.