結果
| 問題 |
No.216 FAC
|
| コンテスト | |
| ユーザー |
turner18_jp
|
| 提出日時 | 2017-12-08 21:24:29 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 235 bytes |
| コンパイル時間 | 92 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-11-29 19:47:06 |
| 合計ジャッジ時間 | 1,639 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 6 WA * 3 RE * 15 |
ソースコード
n = int(input())
score = list(map(int, input().split()))
player = list(map(int, input().split()))
current = [0]*n
for i in player:
current[i] = current[i] + score[i]
if current[0] == max(current):
print('YES')
else:
print('NO')
turner18_jp