結果
問題 | No.216 FAC |
ユーザー |
![]() |
提出日時 | 2021-10-22 09:30:35 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 1,000 ms |
コード長 | 213 bytes |
コンパイル時間 | 388 ms |
コンパイル使用メモリ | 82,348 KB |
実行使用メモリ | 53,816 KB |
最終ジャッジ日時 | 2024-09-22 10:41:16 |
合計ジャッジ時間 | 2,317 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 24 |
ソースコード
n = int(input())score = [0] * 101A = list(map(int,input().split()))B = list(map(int,input().split()))for i in range(n):score[B[i]] += A[i]if score[0] == max(score):print("YES")else:print("NO")