結果
| 問題 | No.216 FAC |
| コンテスト | |
| ユーザー |
🍡yurahuna
|
| 提出日時 | 2016-01-24 09:08:20 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 243 bytes |
| 記録 | |
| コンパイル時間 | 325 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 20,608 KB |
| 最終ジャッジ日時 | 2026-04-09 20:25:22 |
| 合計ジャッジ時間 | 5,269 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 13 RE * 11 |
ソースコード
MAX_N = 100
n = int(input())
a = list(map(int, input().split()))
b = list(map(int, input().split()))
score = [0 for _ in range(MAX_N)]
for i in range(n):
score[b[i]] += a[i]
if score[0] >= max(score):
print('YES')
else:
print('NO')
🍡yurahuna