Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
31 |
Tags
- PYTHON
- 프로그래머스
- 편스토랑 우승상품
- 우분투
- ubuntu
- 백준
- 프로그래머스 파이썬
- 자연어처리
- Kaggle
- github
- leetcode
- gs25
- AI 경진대회
- hackerrank
- 맥북
- Baekjoon
- dacon
- SW Expert Academy
- Docker
- Git
- programmers
- 코로나19
- 더현대서울 맛집
- 캐치카페
- 금융문자분석경진대회
- ChatGPT
- 파이썬
- 데이콘
- Real or Not? NLP with Disaster Tweets
- 편스토랑
Archives
- Today
- Total
목록
반응형
백준 CCW Python (1)
반응형
솜씨좋은장씨
[BaekJoon] 11758번 : CCW (Python)
코딩 1일 1문제! 오늘의 문제는 백준의 CCW 입니다. 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 Solution def convert_input_to_point(string): point_x, point_y = map(int, string.split()) return {"x": point_x, "y": point_y} def CCW(point1, point2, point3): answer = 0 y = (point2['x'] - poi..
Programming/코딩 1일 1문제
2021. 8. 25. 23:41
반응형