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 | 31 |
Tags
- 오류
- Material
- guide
- 백준
- github
- parameter
- Tutorial
- 재귀
- w3school
- dynamic
- 프로그래밍
- DP
- W3Schools
- Algorithm
- 시작해요 언리얼 2022
- Unity
- loop
- C#
- Class
- dfs
- Basic
- String
- Programming
- UE5
- Unreal Engine 5
- 파이썬
- 기초
- python
- 문제풀이
- c++
Archives
- Today
- Total
목록14889 (1)
행복한 개구리
from itertools import combinations N = int(input()) matrix = [list(map(int, input().split())) for i in range(N)] teamComb = list(combinations(range(N), N//2)) result = [] for i in range(len(teamComb)//2): teamS = teamComb[i] statS = 0 for j in range(N//2): colS = teamS[j] for rowS in teamS: statS += matrix[colS][rowS] teamL = teamComb[-i-1] statL = 0 for j in range(N//2): colL = teamL[j] for row..
Algorithm/BaekJoon
2022. 1. 31. 14:12