Problem Solving/BOJ
BOJ 10818. 숫자의 합(Python)
yuseon-Lim
2021. 2. 7. 00:38
BOJ 10818. 숫자의 합(Python)
https://www.acmicpc.net/problem/11720
11720번: 숫자의 합
첫째 줄에 숫자의 개수 N (1 ≤ N ≤ 100)이 주어진다. 둘째 줄에 숫자 N개가 공백없이 주어진다.
www.acmicpc.net
Solution
N = int(input())
nums = list(map(int,input().split()))
print(min(nums), end=" ")
print(max(nums))
반응형