From fdcf78766291b1c2bc0028fd2d9ec58deb9e6120 Mon Sep 17 00:00:00 2001 From: songyc macbook Date: Wed, 23 Jul 2025 00:02:58 +0900 Subject: [PATCH] 20250722 baekjoon --- code_study/Baekjoon/c/15650.c | 30 +++++++++++++++++++++++++++++ code_study/Baekjoon/python/15650.py | 12 ++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 code_study/Baekjoon/c/15650.c create mode 100644 code_study/Baekjoon/python/15650.py diff --git a/code_study/Baekjoon/c/15650.c b/code_study/Baekjoon/c/15650.c new file mode 100644 index 0000000..d1e0fba --- /dev/null +++ b/code_study/Baekjoon/c/15650.c @@ -0,0 +1,30 @@ +#include +#include + +void dfs(int N, int M, int now, int* result, int ResLen){ + if(ResLen == M) { + for(int i=0; i