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
- 캐치카페
- Baekjoon
- 금융문자분석경진대회
- 백준
- dacon
- 편스토랑
- Real or Not? NLP with Disaster Tweets
- 파이썬
- github
- PYTHON
- 프로그래머스 파이썬
- SW Expert Academy
- ubuntu
- programmers
- 프로그래머스
- Docker
- hackerrank
- 데이콘
- AI 경진대회
- 맥북
- leetcode
- 우분투
- Kaggle
- 코로나19
- Git
- ChatGPT
- gs25
- 더현대서울 맛집
- 편스토랑 우승상품
- 자연어처리
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
반응형