結果
問題 | No.216 FAC |
ユーザー | YU Hirose |
提出日時 | 2024-05-30 22:51:27 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 184 bytes |
コンパイル時間 | 261 ms |
コンパイル使用メモリ | 82,456 KB |
実行使用メモリ | 54,204 KB |
最終ジャッジ日時 | 2024-12-20 21:42:42 |
合計ジャッジ時間 | 2,516 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 14 WA * 10 |
ソースコード
n = int(input()) a = list(map(int, input().split())) b = list(map(int, input().split())) c = [0] * 101 for i in range(n): c[b[i]] += a[i] print("Yes" if c[0] >= max(c) else "NO")