Skip to content

Commit afcc305

Browse files
committed
[Gold V] Title: 팀원 모집, Time: 104 ms, Memory: 14188 KB -BaekjoonHub
1 parent 5c3a744 commit afcc305

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

백준/Gold/11578. 팀원 모집/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
### 성능 요약
66

7-
메모리: 14220 KB, 시간: 104 ms
7+
메모리: 14188 KB, 시간: 104 ms
88

99
### 분류
1010

1111
브루트포스 알고리즘, 비트마스킹
1212

1313
### 제출 일자
1414

15-
2025년 11월 20일 16:39:47
15+
2025년 11월 26일 13:06:24
1616

1717
### 문제 설명
1818

백준/Gold/11578. 팀원 모집/팀원 모집.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ public static void main(String[] args) throws Exception {
3838
}
3939

4040
private static void dfs(int depth, int state, int cnt) {
41+
if(ans <= cnt)
42+
return;
43+
4144
if(depth == M) {
4245
if(state == (1 << N) - 1)
4346
ans = Math.min(ans, cnt);

0 commit comments

Comments
 (0)