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
- 스택
- 우선순위큐
- 슬라이싱
- not null
- IH
- 오픽
- 오픽독학
- bfs
- 삼중for문 탈출
- 완전이진트리
- 구현
- 복사
- Inner Join
- 파이썬
- 이진탐색
- issubset
- heapq
- 파일명 변경
- dfs
- Deque
- 재귀
- %H
- 최대재귀높이
- 약수구하기
- 딕셔너리
- 백준
- 제곱근
- date_format
- 브루트포스
- set
Archives
- Today
- Total
목록딕셔너리 (1)
나예
[프로그래머스] 시소짝꿍
1. 문제 https://school.programmers.co.kr/learn/courses/30/lessons/152996 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 2.시간초과 from itertools import combinations def solution(weights): answer = 0 for twin in combinations(weights,2): if twin[0] == twin[1]: answer +=1 continue if twin[0] < twin[1]: if (twin[0] * 3 //2 == twin[1] ) or (t..
카테고리 없음
2023. 6. 16. 20:45