You are viewing a single comment's thread. Return to all comments →
Did it similarly
for _ in range(int(input())): n,k = map(int,input().split()) a = [x for x in map(int,input().split()) if x<=0] print("YES" if len(a)<k else "NO")
Seems like cookies are disabled on this browser, please enable them to open this website
Angry Professor
You are viewing a single comment's thread. Return to all comments →
Did it similarly