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 |
Tags
- Docker
- 데이콘
- programmers
- github
- 캐치카페
- Baekjoon
- 자연어처리
- 코로나19
- 파이썬
- 편스토랑
- leetcode
- Git
- Real or Not? NLP with Disaster Tweets
- ChatGPT
- hackerrank
- 프로그래머스 파이썬
- SW Expert Academy
- AI 경진대회
- PYTHON
- Kaggle
- gs25
- 더현대서울 맛집
- 금융문자분석경진대회
- 맥북
- 우분투
- ubuntu
- 프로그래머스
- 편스토랑 우승상품
- 백준
- dacon
Archives
- Today
- Total
목록
반응형
백준 2869 파이썬 (1)
반응형
솜씨좋은장씨
[BaekJoon] 2869번 : 달팽이는 올라가고 싶다 (Python)
코딩 1일 1문제! 오늘의 문제는 백준의 달팽이는 올라가고 싶다 입니다. 2869번: 달팽이는 올라가고 싶다 첫째 줄에 세 정수 A, B, V가 공백으로 구분되어서 주어진다. (1 ≤ B < A ≤ V ≤ 1,000,000,000) www.acmicpc.net 👨🏻💻 코드 ( Solution ) def snail_wants_to_climb(A, B, V): snail_days = (V-B) / (A-B) if snail_days != int(snail_days): snail_days += 1 return int(snail_days) if __name__ == "__main__": A, B, V = map(int, input().split()) print(snail_wants_to_climb(A, B, ..
Programming/코딩 1일 1문제
2022. 1. 15. 16:07
반응형