結果
| 問題 | No.8122 How Many Liars Are There? | 
| コンテスト | |
| ユーザー |  nikoro256 | 
| 提出日時 | 2025-04-01 23:17:45 | 
| 言語 | PyPy3 (7.3.15) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 155 bytes | 
| コンパイル時間 | 266 ms | 
| コンパイル使用メモリ | 82,732 KB | 
| 実行使用メモリ | 60,416 KB | 
| 最終ジャッジ日時 | 2025-04-01 23:18:10 | 
| 合計ジャッジ時間 | 5,107 ms | 
| ジャッジサーバーID (参考情報) | judge2 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 WA * 1 | 
| other | AC * 26 WA * 39 | 
ソースコード
N,K=map(int,input().split())
A=list(map(int,input().split()))
B=list(map(int,input().split()))
if N+B.count(1)+1<=K:
    print("Yes")
else:
    print("No")
            
            
            
        