Skip to content

Commit afd7371

Browse files
committed
[level 2] Title: 기능개발, Time: 0.03 ms, Memory: 9.23 MB -BaekjoonHub
1 parent cfba431 commit afd7371

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

프로그래머스/2/42586. 기능개발/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### 성능 요약
66

7-
메모리: 9.02 MB, 시간: 0.06 ms
7+
메모리: 9.23 MB, 시간: 0.03 ms
88

99
### 구분
1010

@@ -16,7 +16,7 @@
1616

1717
### 제출 일자
1818

19-
2025년 04월 09일 16:00:58
19+
2025년 04월 09일 16:05:14
2020

2121
### 문제 설명
2222

프로그래머스/2/42586. 기능개발/기능개발.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
import math
2-
31
def solution(progresses, speeds):
4-
arr = [math.ceil((100-a) / b) for a, b in zip(progresses, speeds)]
2+
arr = [((100-a) + b - 1) // b for a, b in zip(progresses, speeds)]
53
ans = []
64
front = 0
75
print(arr)

0 commit comments

Comments
 (0)