diff options
author | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2018-10-30 13:22:36 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <vn.mcsinyx@gmail.com> | 2018-10-30 13:22:36 +0700 |
commit | d5b549d83292f6573ef3715c17f1d57a41918fb7 (patch) | |
tree | 1db9293b28bcba3fdb226306a02c449d35f0590c /codechef/chfar.py | |
parent | 4c5ed94087a691ce47882786aea64f7b5bf3c130 (diff) | |
download | cp-d5b549d83292f6573ef3715c17f1d57a41918fb7.tar.gz |
Fouracesinarow
Diffstat (limited to 'codechef/chfar.py')
-rwxr-xr-x | codechef/chfar.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/codechef/chfar.py b/codechef/chfar.py new file mode 100755 index 0000000..1c39e9b --- /dev/null +++ b/codechef/chfar.py @@ -0,0 +1,4 @@ +#!/usr/bin/env python3 +for _ in range(int(input())): + n, k = map(int, input().split()) + print('NO' if input().split().count('1') + k < n else 'YES') |