結果
| 問題 |
No.8122 How Many Liars Are There?
|
| コンテスト | |
| ユーザー |
nikoro256
|
| 提出日時 | 2025-04-01 23:19:04 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 155 bytes |
| コンパイル時間 | 215 ms |
| コンパイル使用メモリ | 81,992 KB |
| 実行使用メモリ | 60,344 KB |
| 最終ジャッジ日時 | 2025-04-01 23:19:13 |
| 合計ジャッジ時間 | 5,075 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 WA * 1 |
| other | AC * 39 WA * 26 |
ソースコード
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")
nikoro256