Skip to content

Commit

Permalink
Global Round 23 - A
Browse files Browse the repository at this point in the history
Solution to problem A of Global Round 23 which took place on Codeforces platform
  • Loading branch information
SiddharthChaberia authored Oct 21, 2022
1 parent 551da65 commit 0bad1ed
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Global_Round23A.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
for _ in range(int(input())):
a=[int(i) for i in input().split()]
b=[int(i) for i in input().split()]
if max(b)==1:
print("YES")
else:
print("NO")


0 comments on commit 0bad1ed

Please sign in to comment.