We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcf49c0 commit e4ed202Copy full SHA for e4ed202
프로그래머스/2/42747. H-Index/H-Index.py
@@ -1,7 +1,7 @@
1
def solution(citations):
2
- citations = sorted(citations,reverse=True)
3
- point = 0
+ citations.sort(reverse=True)
4
+ point = 0
5
for h in range(citations[0], -1, -1) :
6
if point+1 < len(citations) and citations[point+1] >= h :
7
point += 1
프로그래머스/2/42747. H-Index/README.md
@@ -16,7 +16,7 @@
16
17
### 제출 일자
18
19
-2024년 05월 01일 23:53:12
+2024년 05월 02일 14:26:21
20
21
### 문제 설명
22
0 commit comments