From 27ae010fdf2f12e4c7b244a154b50ec7a5a9c91a Mon Sep 17 00:00:00 2001 From: songyc macbook Date: Sun, 15 Feb 2026 22:26:08 +0900 Subject: [PATCH] baekjoon 20260215 --- code_study/Baekjoon/c/9466_1.c | 58 ++++++++++++++++++++++++ code_study/Baekjoon/c/9466_2.c | 68 +++++++++++++++++++++++++++++ code_study/Baekjoon/python/14652.py | 1 + 3 files changed, 127 insertions(+) create mode 100644 code_study/Baekjoon/c/9466_1.c create mode 100644 code_study/Baekjoon/c/9466_2.c create mode 100644 code_study/Baekjoon/python/14652.py diff --git a/code_study/Baekjoon/c/9466_1.c b/code_study/Baekjoon/c/9466_1.c new file mode 100644 index 0000000..4071d66 --- /dev/null +++ b/code_study/Baekjoon/c/9466_1.c @@ -0,0 +1,58 @@ +#include +#include + +int T, N, G; +int select[100001], result[100001]; +bool visited[100001], done[100001]; + +int solv(); +void dfs(int num); + +int main() { + scanf("%d", &T); + + for(int t=0; t +#include + +int T, N, G; +int select[100001], result[100001]; +bool visited[100001], done[100001]; + +int solv(); +void dfs(int num); + +int main() { + scanf("%d", &T); + + for(int t=0; t