목록게임 (1)
CS Student’s SAP&Tech Journey💫

1. 백준 1072번 게임https://www.acmicpc.net/problem/1072 2. 오늘의 회고* 정답은 아래에 있습니다.첫번째 접근: 단순 구현 시간초과파이썬 소수점 함수반올림 num = f " {num: .2f} " 소수점 3자리에서 반올림하여 2자리까지 출력버림 math.floor(num)올림 math.ceil(num) import mathx,y = map(int, input().split()) z = (y/x)*100z = math.floor(z)i = 1if x=1: print(i) break else: i = i+1 else: while True: ..
알고리즘/백준 | 프로그래머스 | 소프티어
2024. 10. 28. 22:52