結果
| 問題 |
No.216 FAC
|
| コンテスト | |
| ユーザー |
liny_tail
|
| 提出日時 | 2020-08-09 00:14:12 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 36 ms / 1,000 ms |
| コード長 | 253 bytes |
| コンパイル時間 | 115 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-10-02 10:25:06 |
| 合計ジャッジ時間 | 1,883 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 24 |
ソースコード
N = int(input().strip())
a = [int(i) for i in input().strip().split(' ')]
b = [int(i) for i in input().strip().split(' ')]
c = [0 for _ in range(101)]
for n, i in enumerate(b):
c[i] += a[n]
if c[0] >= max(c[1:]):
print('YES')
else:
print('NO')
liny_tail