ㅇㅅㅇ ㅡㅅㅡ
myCPP #include #define X first #define Y second using namespace std; typedef long long ll; typedef pair pii; typedef pair pll; const ll INF = 1e18; const int inf = 2e9; const int SIZE = 1 0) return 1; else if (ret == 0) return 0; else return -1; } bool isIntersect(pll a, pll b, pll c, pll d) { ll ab = ccw(a, b, c) * ccw(a, b, d); ll cd = ccw(c, d, a) * ccw(c, d, b); if (ab == 0 && cd == 0) { // ..
2022. 10. 6.