From 76d577029f22ab798ef0508624cbc58948c2dc0c Mon Sep 17 00:00:00 2001 From: Gyubin Han <89185979+Gyubin-Han@users.noreply.github.com> Date: Fri, 17 May 2024 14:58:27 +0900 Subject: [PATCH] add: swea/5431.py --- swea/5431.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 swea/5431.py diff --git a/swea/5431.py b/swea/5431.py new file mode 100644 index 0000000..7e6c528 --- /dev/null +++ b/swea/5431.py @@ -0,0 +1,9 @@ +t=int(input()) +for tc in range(1,t+1): + n,k=map(int,input().split()) + sm=set(map(int,input().split())) + nsm=[] + for i in range(1,n+1): + if not i in sm: + nsm.append(i) + print("#"+str(tc),*nsm) \ No newline at end of file