From f21577a95e8fb66cb3c72a69d8d68d0ee6e06184 Mon Sep 17 00:00:00 2001 From: "MS Kim(tony9402)" Date: Tue, 30 Nov 2021 05:50:49 +0900 Subject: [PATCH] [UPD] Refactoring --- solution/binary_search/1477/main.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/solution/binary_search/1477/main.py b/solution/binary_search/1477/main.py index 6fc172fe0e6..3b6681ad1f8 100644 --- a/solution/binary_search/1477/main.py +++ b/solution/binary_search/1477/main.py @@ -1,6 +1,6 @@ # Authored by : yj2221 -# Co-authored by : tony9402 -# Link : http://boj.kr/3fe7ddd4b0c2437882109089a41a0349 +# Co-authored by : - +# Link : http://boj.kr/b93ed1e8f2a7413fa8fe39483692604f import sys @@ -8,8 +8,7 @@ def input(): return sys.stdin.readline().rstrip() n, m, l = map(int, input().split()) -rests = [0] + list(map(int, input().split())) + [l] -rests.sort() +rests = sorted([0] + list(map(int, input().split())) + [l]) low = 1 high = l