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
- 구글 OAuth login
- @FeignClient
- JavaScript
- 취업리부트코스
- 개발자부트캠프추천
- 1주일회고
- infcon 2024
- spring batch 5.0
- 파이썬
- KPT회고
- Spring multimodule
- 개발자 취업
- DesignPattern
- 빈 충돌
- TiL
- 빈 조회 2개 이상
- jwttoken
- 프로그래머스
- Python
- 디자인패턴
- 커스텀 헤더
- 프로그래머스 이중우선순위큐
- 항해99
- 코딩테스트 준비
- 인프콘 2024
- 단기개발자코스
- 전략패턴 #StrategyPattern #디자인패턴
- jwt
- 디자인 패턴
- 99클럽
Archives
- Today
- Total
목록백준 #6603 #로또 #Python #파이썬 (1)
m1ndy5's coding blog
[수학] 백준 6603번 로또 with Python
https://www.acmicpc.net/problem/6603 pair = [] def comb(start, lotto): if len(pair) == 6: print(' '.join(str(s) for s in pair)) return for i in range(start, len(lotto)): pair.append(lotto[i]) comb(i+1, lotto) pair.pop() while True : lotto = list(map(int, input().split())) if lotto[0] == 0: break comb(0, lotto[1:]) print()nCr문제였다! 이전의 Combination 코드에서 개수를 지정하는 len(pair) == 6 일때 return을 해주..
알고리즘 with python/수학
2023. 3. 12. 16:02