-
카테고리
-
세부 분야
프로그래밍 언어
-
해결 여부
미해결
38번 질문입니다.
20.02.21 12:14 작성 조회수 72
0
l = list(map(int,input().split()))
count = 3
ds = sorted(list(l))
#[55,66,75,85,86,95,97,97,97,97]
print(ds)
for i in range(len(l)-1, 0, -1) :
# print(i,end=' ')
if ds[-3] == l[i] :
#97 95부터시작
#ds[-3]으로 하는 이유는 뭔가요? ds[-1]로 해도되는거 아닌가요?
count += 1
print(count,end= ' ')
print(count)
답변을 작성해보세요.
답변 0