https://www.acmicpc.net/problem/6840
1
2
3
4
5
6
7
8
9
10
11
|
def sol(bears):
return sum(bears) - (max(bears)+min(bears))
if __name__ == '__main__':
bears = []
bears.append(int(input()))
bears.append(int(input()))
bears.append(int(input()))
print(sol(bears))
|
cs |
반응형
'python-algorithm' 카테고리의 다른 글
백준 26574 Copier (0) | 2022.12.19 |
---|---|
백준 10189 Hook (0) | 2022.12.19 |
백준 5341 Pyramids (0) | 2022.12.17 |
백준 26489 Gum Gum for Jay Jay (0) | 2022.12.17 |
백준 26057 Большой удой (1) | 2022.12.13 |
댓글