結果

問題 No.216 FAC
ユーザー k0825
提出日時 2019-04-24 12:08:54
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 33 ms / 1,000 ms
コード長 151 bytes
コンパイル時間 99 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-11-07 16:19:04
合計ジャッジ時間 1,829 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 24
権限があれば一括ダウンロードができます

ソースコード

diff #

n=input();l=[0]*101
a,b=list(map(int, input().split()) for _ in '11')
for i,j in zip(a,b):
    l[j] += i
print('YES' if l[0]>=max(l[1:101]) else 'NO')
0