結果
| 問題 |
No.8122 How Many Liars Are There?
|
| コンテスト | |
| ユーザー |
nikoro256
|
| 提出日時 | 2025-04-01 23:19:35 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 191 bytes |
| コンパイル時間 | 250 ms |
| コンパイル使用メモリ | 82,336 KB |
| 実行使用メモリ | 60,032 KB |
| 最終ジャッジ日時 | 2025-04-01 23:19:43 |
| 合計ジャッジ時間 | 4,778 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge6 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 40 WA * 25 |
ソースコード
N,K=map(int,input().split())
A=list(map(int,input().split()))
B=list(map(int,input().split()))
if K==0:
print("No")
exit()
if N+B.count(1)+1>=K:
print("Yes")
else:
print("No")
nikoro256