일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 1260
- Android
- itertools
- 순열
- 6603
- Combination
- 파이썬
- 9095
- 최소공배수
- lcm
- 백준
- LCS
- 매일11시
- 뒤로가기
- 11057
- Kotlin
- Python
- 홈화면
- 코틀린
- 코테
- 나머지
- 11054
- 11053
- permutation
- 안드로이드
- 앱
- 괄호
- expo
- 11기
- 1182
Archives
- Today
- Total
목록스타트 (1)
황소개발자
백준 14889 파이썬 python : 스타트와 링크 @@황소처럼 우직하게@@
import sys input = sys.stdin.readline n = int(input()) mat = [] for i in range(n): mat.append(list(map(int, input().strip().split()))) import itertools gab = 999999999 team = [i for i in range(n)] tt = list(itertools.combinations(team, n // 2)) for team1 in tt: team2 = [x for x in team if x not in team1] team1_score = 0 team2_score = 0 for x, y in list(itertools.combinations(team1, 2)): team1_sc..
백준 문제 풀이
2020. 2. 27. 00:34