실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘bool IsIntersect(pii, pii, pii, pii)’: Main.cpp:23:9: error: ‘min_ABx’ was not declared in this scope 23 | min_ABx = min(A.first,B.first); | ^~~~~~~ Main.cpp:24:9: error: ‘max_ABx’ was not declared in this scope 24 | max_ABx = max(A.first,B.first); | ^~~~~~~ Main.cpp:25:9: error: ‘min_CDx’ was not declared in this scope 25 | min_CDx = min(C.first,D.first); | ^~~~~~~ Main.cpp:26:9: error: ‘max_CDx’ was not declared in this scope 26 | max_CDx = max(C.first,D.first); | ^~~~~~~ Main.cpp:27:9: error: ‘min_ABy’ was not declared in this scope 27 | min_ABy = min(A.second,B.second); | ^~~~~~~ Main.cpp:28:9: error: ‘max_ABy’ was not declared in this scope 28 | max_ABy = max(A.second,B.second); | ^~~~~~~ Main.cpp:29:9: error: ‘min_CDy’ was not declared in this scope 29 | min_CDy = min(C.second,D.second); | ^~~~~~~ Main.cpp:30:9: error: ‘max_CDy’ was not declared in this scope 30 | max_CDy = max(C.second,D.second); | ^~~~~~~ Main.cpp:32:38: error: ‘minCDx’ was not declared in this scope 32 | return min_ABx <= max_CDx && minCDx <= maxABx && min_ABy <= maxCDy && min_CDy <= max_ABy; | ^~~~~~ Main.cpp:32:48: error: ‘maxABx’ was not declared in this scope 32 | return min_ABx <= max_CDx && minCDx <= maxABx && min_ABy <= maxCDy && min_CDy <= max_ABy; | ^~~~~~ Main.cpp:32:69: error: ‘maxCDy’ was not declared in this scope 32 | return min_ABx <= max_CDx && minCDx <= maxABx && min_ABy <= maxCDy && min_CDy <= max_ABy; | ^~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.