We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76b8136 commit 530aeb5Copy full SHA for 530aeb5
2 files changed
프로그래머스/2/12939. 최댓값과 최솟값/README.md
@@ -1,10 +1,10 @@
1
# [level 2] 최댓값과 최솟값 - 12939
2
3
-[문제 링크](https://school.programmers.co.kr/learn/courses/30/lessons/12939?language=java)
+[문제 링크](https://school.programmers.co.kr/learn/courses/30/lessons/12939?language=python3)
4
5
### 성능 요약
6
7
-메모리: 73.5 MB, 시간: 5.48 ms
+메모리: 11.3 MB, 시간: 0.04 ms
8
9
### 구분
10
@@ -16,7 +16,7 @@
16
17
### 제출 일자
18
19
-2026년 06월 27일 16:06:33
+2026년 07월 25일 15:28:52
20
21
### 문제 설명
22
프로그래머스/2/12939. 최댓값과 최솟값/최댓값과 최솟값.py
@@ -1,8 +1,4 @@
def solution(s):
- s = s.split()
- for i in range(len(s)):
- s[i] = int(s[i])
- A = ''
- A += str(min(s)) + " "
- A += str(max(s))
- return A
+ s = list(map(int, s.split()))
+ return str(min(s)) + " " + str(max(s))
+
0 commit comments