diff --git "a/\353\260\261\354\244\200/Silver/7568.\342\200\205\353\215\251\354\271\230/README.md" "b/\353\260\261\354\244\200/Silver/7568.\342\200\205\353\215\251\354\271\230/README.md" index 5132660..c09886c 100644 --- "a/\353\260\261\354\244\200/Silver/7568.\342\200\205\353\215\251\354\271\230/README.md" +++ "b/\353\260\261\354\244\200/Silver/7568.\342\200\205\353\215\251\354\271\230/README.md" @@ -12,7 +12,7 @@ ### 제출 일자 -2024년 3월 30일 19:37:17 +2024년 3월 30일 19:37:49 ### 문제 설명 diff --git "a/\353\260\261\354\244\200/Silver/7568.\342\200\205\353\215\251\354\271\230/\353\215\251\354\271\230.py" "b/\353\260\261\354\244\200/Silver/7568.\342\200\205\353\215\251\354\271\230/\353\215\251\354\271\230.py" index 6dbda98..460ea64 100644 --- "a/\353\260\261\354\244\200/Silver/7568.\342\200\205\353\215\251\354\271\230/\353\215\251\354\271\230.py" +++ "b/\353\260\261\354\244\200/Silver/7568.\342\200\205\353\215\251\354\271\230/\353\215\251\354\271\230.py" @@ -9,11 +9,6 @@ weight, height = map(int, input().split()) wh_list.append((weight, height, i)) -wh_sorted = sorted(wh_list, reverse=True) - -# print(wh_sorted) - - ranks = [1 for _ in range(n)] for i in range(n): @@ -24,5 +19,5 @@ ranks[i1] += 1 elif w1 > w2 and h1 > h2: ranks[i2] += 1 -# print(ranks) + print(" ".join(map(str, ranks)))