백준 11758번 #C언어 #CCW
-
백준 11758번 : CCW (C 언어)c c++ 언어 공부 2023. 6. 12. 00:50
https://www.acmicpc.net/problem/11758 11758번: CCW 첫째 줄에 P1의 (x1, y1), 둘째 줄에 P2의 (x2, y2), 셋째 줄에 P3의 (x3, y3)가 주어진다. (-10,000 ≤ x1, y1, x2, y2, x3, y3 ≤ 10,000) 모든 좌표는 정수이다. P1, P2, P3의 좌표는 서로 다르다. www.acmicpc.net Code: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 #include int main() { int x1, x2, x3, y1, y2, y3; scanf("%d %d", &x1, &y1); scanf("%d %d", &x2, &y2); scanf("%d %d", &x3, &y3); ..