結果
| 問題 | No.216 FAC |
| コンテスト | |
| ユーザー |
steek79
|
| 提出日時 | 2015-10-16 01:02:58 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 277 bytes |
| 記録 | |
| コンパイル時間 | 131 ms |
| コンパイル使用メモリ | 77,340 KB |
| 最終ジャッジ日時 | 2025-12-03 17:34:28 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 24 |
ソースコード
N = input()
problems = map(int, raw_input().split())
solvers = map(int, raw_input().split())
scorelist = [0] * 105
cnt = 0
for s in solvers:
scorelist[s] += problems[cnt]
cnt += 1
print scorelist
if max(scorelist) == scorelist[0]:
print 'YES'
else: print 'NO'
steek79