[Link] https://www.acmicpc.net/problem/7626 #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set> #include <queue> #include...
BOJ. Line Group (2162)
[Link] https://www.acmicpc.net/problem/2162 CCW + Union Find Point: Line AB and CD : ccw(ABC) and ccw(ABD) if(ccw(ABC) == ccw(ABD) == 0) compare the range A B C D, C D A B #include <algor...
BOJ. Crossing Lines 3 (20149)
[Link] https://www.acmicpc.net/problem/20149 #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set> #include <queue> #includ...
BOJ. Two Circles (7869)
[Link] https://www.acmicpc.net/problem/7869 #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set> #include <queue> #include...
BOJ. Two Circles (1069)
[Link] https://www.acmicpc.net/problem/1069 #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set> #include <queue> #include...
BOJ. Crossing Lines (17386)
[Link] https://www.acmicpc.net/problem/17386 ## Point: Line AB and CD : ccw(ABC) and ccw(ABD) #include <algorithm> #include <iostream> #include <vector> #include <map>...
BOJ. Crossing Lines 2 (17387)
[Link] https://www.acmicpc.net/problem/17387 ## Point: Line AB and CD : ccw(ABC) and ccw(ABD) ## if(ccw(ABC) == ccw(ABD) == 0) compare the range A B C D, C D A B #include <algorithm> #...
BOJ. The Area Of The Polygon (2166)
[Link] https://www.acmicpc.net/problem/2166 #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set> #include <queue> #include...
BOJ. Passionate Gang-Ho 4 (11378)
[Link] https://www.acmicpc.net/problem/11378 #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set> #include <queue> #includ...
BOJ. Maximum Flow (6086)
[Link] https://www.acmicpc.net/problem/6086 #include <algorithm> #include <iostream> #include <vector> #include <map> #include <set> #include <queue> #include...