Skip to content

Commit

Permalink
[BOJ] 7568(#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
heerucan committed May 12, 2022
1 parent da760e0 commit d7addf3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions BOJ/7568.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 백준 7568 실버5.. 에.. 참고했음..
# 구현, 브루트포스
# 덩치

import sys
data = []
n = int(sys.stdin.readline())
for i in range(n):
data.append(list(map(int, sys.stdin.readline().split())))


for i in data:
rank = 1
for n in data:
if i[0] < n[0] and i[1] < n[1]:
rank += 1
print(rank, end =' ')



0 comments on commit d7addf3

Please sign in to comment.