실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In member function ‘void Rect::setter()’: Main.cpp:13:30: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 13 | for(size_t a=0; a<N; a++){ | ~^~ Main.cpp:19:25: error: ‘exists’ was not declared in this scope; did you mean ‘exist’? 19 | exists = true; | ^~~~~~ | exist Main.cpp: In member function ‘void Rect::check()’: Main.cpp:31:31: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 31 | for(size_t it=0;it<N-1;it++){ | ~~^~~~ Main.cpp:32:38: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare] 32 | for(size_t jt=it+1;jt<N;jt++){ | ~~^~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.