실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void MoveSharks()’: Main.cpp:38:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Shark>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 38 | for (int i = 0; i < sharks.size(); ++i) { | ~~^~~~~~~~~~~~~~~ Main.cpp:48:26: error: expected ‘;’ at end of input 48 | for (int m = 0; m | ^ | ; Main.cpp:48:26: error: expected primary-expression at end of input Main.cpp:48:26: error: expected ‘)’ at end of input 48 | for (int m = 0; m | ~ ^ | ) Main.cpp:48:26: error: expected statement at end of input Main.cpp:48:26: error: expected ‘}’ at end of input Main.cpp:38:45: note: to match this ‘{’ 38 | for (int i = 0; i < sharks.size(); ++i) { | ^ Main.cpp:43:13: warning: unused variable ‘x’ [-Wunused-variable] 43 | int x = s.x, y = s.y, d = s.d; | ^ Main.cpp:43:22: warning: unused variable ‘y’ [-Wunused-variable] 43 | int x = s.x, y = s.y, d = s.d; | ^ Main.cpp:48:26: error: expected ‘}’ at end of input 48 | for (int m = 0; m | ^ Main.cpp:34:19: note: to match this ‘{’ 34 | void MoveSharks() { | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.