-
https://www.acmicpc.net/problem/15652
15652번: N과 M (4)
한 줄에 하나씩 문제의 조건을 만족하는 수열을 출력한다. 중복되는 수열을 여러 번 출력하면 안되며, 각 수열은 공백으로 구분해서 출력해야 한다. 수열은 사전 순으로 증가하는 순서로 출력해
www.acmicpc.net
https://github.com/JUNGSOONIL/JAVA/commit/4279bd9ebb94e64c00621d6ab45841002534da74
Create BAEKJOON 15652 · JUNGSOONIL/JAVA@4279bd9
Permalink This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. Browse files Create BAEKJOON 15652 Loading branch information Showing 1 changed file with 36 additions and 0 deletions. +36 −0 BAE
github.com
해당 문제는 조합을 이용해 해결했다.
처음에는 N과 M(3)을 해결했던 소스로 문제를 풀어가다가
조합으로 해결 가능할 거 같아 진행해가다 문제를 해결했다.
728x90'알고리즘 > Baekjoon' 카테고리의 다른 글
Baekjoon 15655 N과 M (6) JAVA (0) 2021.11.07 Baekjoon 15654 N과 M (5) JAVA (0) 2021.11.07 Baekjoon 10816 숫자 카드 2 JAVA (0) 2021.11.07 Baekjoon 10815 숫자 카드 JAVA (0) 2021.11.07 Baekjoon 15651 N과 M (3) JAVA (0) 2021.11.06 댓글