실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:26:10: error: jump to case label 26 | case 'e': R += 6; //empty | ^~~ Main.cpp:22:13: note: crosses initialization of ‘int a’ 22 | int a = q - p; | ^ Main.cpp:27:18: warning: suggest parentheses around comparison in operand of ‘|’ [-Wparentheses] 27 | *W++ = p == q | 48; | ~~^~~~ Main.cpp:30:10: error: jump to case label 30 | case 'f': R += 6; //front | ^~~ Main.cpp:22:13: note: crosses initialization of ‘int a’ 22 | int a = q - p; | ^ Main.cpp:33:10: error: jump to case label 33 | case 'b': R += 5; //back | ^~~ Main.cpp:22:13: note: crosses initialization of ‘int a’ 22 | int a = q - p; | ^ Main.cpp:37:10: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 37 | write(1, wbuf, W - wbuf); | ~~~~~^~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.