結果
問題 |
No.216 FAC
|
ユーザー |
|
提出日時 | 2017-03-11 11:51:20 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 257 bytes |
コンパイル時間 | 97 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-06-24 12:01:31 |
合計ジャッジ時間 | 1,794 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 12 WA * 12 |
ソースコード
n = int(input()) point = list(map(int, input().split())) player = list(map(int, input().split())) score = [0 for i in range(100)] for pt, pl in zip(point, player): score[pl-1] += pt if score[0] >= max(score[1:]): print('YES') else: print('NO')