Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Digital Forensics
- HackCTF
- writeup
- 써니나타스
- N0Named
- misc
- php
- Network
- Web Hacking
- 정렬
- CTF
- 구현
- cryptography
- Database
- 사칙연산
- 그리디 알고리즘
- 백준
- Incognito
- 인코그니토
- MySQL
- 수학
- 문자열
- Python
- SuNiNaTas
- C
- Text
- wargame
- Web
- xcz.kr
- Forensics
Archives
- Today
- Total
보안을 그리다, 훈이
[Baekjoon/Python3] 7568번 덩치 본문
[Baekjoon/Python3] 7568번 덩치
# brute force
n = int(input())
info = []
for i in range(n):
kg, cm = map(int, input().split())
info.append((kg, cm))
for i in info:
rank = 1
for j in info:
if i[0] < j[0] and i[1] < j[1]:
rank += 1
print(rank, end = ' ')
'Programming > Python & Data Structures' 카테고리의 다른 글
[Baekjoon/Python3] 8370번 Plane (0) | 2020.12.05 |
---|---|
[Baekjoon/Python3] 7600번 문자가 몇갤까 (0) | 2020.12.05 |
[Baekjoon/Python3] 7567번 그릇 (1) | 2020.12.05 |
[Baekjoon/Python3/C] 7287번 등록 (0) | 2020.12.05 |
[Baekjoon/Python3] 6996번 에너그램 (0) | 2020.12.05 |
Comments