結果
問題 | No.216 FAC |
ユーザー |
|
提出日時 | 2021-07-14 08:16:47 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 49 ms / 1,000 ms |
コード長 | 255 bytes |
コンパイル時間 | 201 ms |
コンパイル使用メモリ | 82,508 KB |
実行使用メモリ | 58,880 KB |
最終ジャッジ日時 | 2024-07-03 07:01:24 |
合計ジャッジ時間 | 2,400 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 24 |
ソースコード
N = int(input()) score = list(map(int, input().split())) winner = list(map(int, input().split())) result = [sum([b for a, b in list(zip(winner, score)) if a == i]) for i in range(101)] if result[0] >= max(result): print("YES") else: print("NO")