Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 데이터애셋
- 강참조
- 알고리즘
- UE4 커스텀로그
- 정렬
- 스마트포인터
- BFS
- moreeffectiveC++
- dataasset
- 자료구조
- 람다사용정렬
- enumasByue
- UELOG
- 약참조
- 선택정렬
- 람다
- map
- C++
- 크리티컬섹션
- stl
- 언리얼가비지컬렉터
- unorder_map
- 정렬알고리즘
- UML관련
- 애셋로드
- 구조적 바인딩
- C++최적화
- UE_LOG
- 프로그래머스
- 델리게이트
Archives
- Today
- Total
목록Coding Test - Python (1)
기억을 위한 기록들
[HackerRank Python] Find the Runner-Up Score! -
https://www.hackerrank.com/challenges/find-second-maximum-number-in-a-list/problem?isFullScreen=true Find the Runner-Up Score! | HackerRank For a given list of numbers, find the second largest number. www.hackerrank.com if __name__ == '__main__': n = int(input()) arr = map(int, input().split()) sortedArr = sorted(set(arr)) print(sortedArr[-2])
Coding Test - Python
2021. 10. 10. 17:09