| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |
Tags
- pypy3
- deque
- 인프런
- LCM
- Python
- popleft
- DP
- unity
- 그리디 알고리즘
- 파이썬
- BFS
- 우선순위큐
- 소수판별
- 프로그래머스
- python3
- Java
- 1일1솔
- 완전탐색
- spring
- 소수찾기
- 합 구하기
- C#강의
- 연관관계
- JPA
- 누적합
- 백준
- mvc
- appendleft
- 브루투포스
- c#
Archives
- Today
- Total
목록전체 글 (139)
jae_coding
문제 문제 링크 코드 import sys from itertools import permutations input = sys.stdin.readline n = int(input()) lst = list(permutations(list(i for i in range(1, n+1)), n)) for j in lst: print(*j)
알고리즘 문제/완전탐색(Brute Force)
2022. 7. 26. 15:35
문제 문제 링크 코드 import sys input = sys.stdin.readline n = int(input()) dp = [0, 1] for i in range(2, n+1): temp = pow(50000, 2) * 4 + 1 count = 1 while pow(count, 2)
알고리즘 문제/완전탐색(Brute Force)
2022. 7. 26. 15:06
문제 문제 링크 코드 import sys # 순열 사용 from itertools import permutations input = sys.stdin.readline n = int(input()) # 모든 경우의 수 num_list = list(permutations(list(i for i in range(1, 10)), 3)) for i in range(n): num, s, b = map(int, input().split()) num = list(str(num)) count = 0 # 모든 경우의 수에서 Strike와 Ball의 카운트가 하나라도 다를 경우에 모든 경우의 수 에서 소거 for j in range(len(num_list)): s_count, b_count = 0, 0 j -= count ..
알고리즘 문제/완전탐색(Brute Force)
2022. 7. 26. 14:29