From 89a2ea017df28ecce9b580b34b82846bf51067bd Mon Sep 17 00:00:00 2001 From: songyc macbook Date: Sun, 22 Feb 2026 21:52:30 +0900 Subject: [PATCH] baekjoon 20260222 --- code_study/Baekjoon/python/3058.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 code_study/Baekjoon/python/3058.py diff --git a/code_study/Baekjoon/python/3058.py b/code_study/Baekjoon/python/3058.py new file mode 100644 index 0000000..fef106a --- /dev/null +++ b/code_study/Baekjoon/python/3058.py @@ -0,0 +1,5 @@ +ans = [] +for _ in range(int(input())) : + arr = list(filter(lambda x: x%2 == 0, map(int, input().split()))) + ans.append(" ".join(list(map(str, [sum(arr), min(arr)])))) +print("\n".join(ans)) \ No newline at end of file