結果
問題 |
No.216 FAC
|
ユーザー |
|
提出日時 | 2020-08-27 19:24:47 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 1,000 ms |
コード長 | 249 bytes |
コンパイル時間 | 1,670 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 51,968 KB |
最終ジャッジ日時 | 2024-11-08 00:31:59 |
合計ジャッジ時間 | 2,323 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 24 |
ソースコード
N = int(input()) score = [0] * (101) A = list(map(int, input().split())) B = list(map(int, input().split())) for i in range(N): score[B[i]] += A[i] if max(score) == score[0]: print('YES') else: print('NO')