We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfba431 commit afd7371Copy full SHA for afd7371
프로그래머스/2/42586. 기능개발/README.md
@@ -4,7 +4,7 @@
4
5
### 성능 요약
6
7
-메모리: 9.02 MB, 시간: 0.06 ms
+메모리: 9.23 MB, 시간: 0.03 ms
8
9
### 구분
10
@@ -16,7 +16,7 @@
16
17
### 제출 일자
18
19
-2025년 04월 09일 16:00:58
+2025년 04월 09일 16:05:14
20
21
### 문제 설명
22
프로그래머스/2/42586. 기능개발/기능개발.py
@@ -1,7 +1,5 @@
1
-import math
2
-
3
def solution(progresses, speeds):
- arr = [math.ceil((100-a) / b) for a, b in zip(progresses, speeds)]
+ arr = [((100-a) + b - 1) // b for a, b in zip(progresses, speeds)]
ans = []
front = 0
print(arr)
0 commit comments