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 | 29 |
30 |
Tags
- level3
- N과M
- 백준
- BOJ
- 딕셔너리
- 코딩테스트
- dfs
- dict
- 그리디
- 힙
- 프로그래머스
- level0
- level1
- 다익스트라
- level2
- 재귀
- 가상메모리 관리
- 수학
- 스택
- 구현
- 파이썬
- python
- MYSQL
- programmers
- 가상메모리
- 운영체제
- 브루트포스
- BFS
- DP
- 다이나믹 프로그래밍
Archives
- Today
- Total
목록14400 (1)
동캄의 코딩도장
백준 14400 [편의점 2] 파이썬
https://www.acmicpc.net/problem/14400 14400번: 편의점 2 영선이는 이번에 편의점으로 창업을 하려고 계획 중이다. 이번 창업을 위해 많은 준비를 하고 있는데, 아직 편의점을 세울 위치를 결정을 하지 못했다. 영선이는 미리 시장조사를 하여, 주요 고 www.acmicpc.net #백준 14400 import sys n=int(sys.stdin.readline()) lst=[] for _ in range(n): s=list(map(int,sys.stdin.readline().split())) lst.append(s) lst.sort(key=lambda x:x[0]) x=lst[len(lst)//2][0] lst.sort(key=lambda x:x[1]) y=lst[len(l..
코테/BOJ
2022. 9. 5. 00:00