結果
問題 |
No.216 FAC
|
ユーザー |
![]() |
提出日時 | 2021-12-06 21:45:49 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 261 bytes |
コンパイル時間 | 213 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-07 09:33:11 |
合計ジャッジ時間 | 1,613 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 19 RE * 5 |
ソースコード
input() s=[int(i)for i in input().split()] p=[int(i)for i in input().split()] x=[i for i in zip(p,s)] data = {} for i in x: if i[0] not in data: data[i[0]] = i[1] else: data[i[0]] += i[1] print("YNEOS"[data[0] < max(data.values())::2])