-
[python]백준 치킨댄스를 추는 곰곰이를 본 임스 25191번알고리즘 문제풀이/백준(파이썬) 2023. 6. 8. 22:37
코드
import sys sys.stdin = open("25191.txt", "r") n=int(input()) a,b=map(int,input().split()) print(min(n,a//2+b))
링크
https://www.acmicpc.net/problem/25191
'알고리즘 문제풀이 > 백준(파이썬)' 카테고리의 다른 글
[python]백준 파일 옮기기 11943번 (0) 2023.06.10 [python]백준 특별한 날 10768번 (0) 2023.06.09 [python]백준 비교 연산자 5656번 (0) 2023.06.07 [python]백준 스시 20494번 (0) 2023.06.06 [python]백준 민균이의 비밀번호 9933번 (0) 2023.06.05