結果
問題 |
No.216 FAC
|
ユーザー |
![]() |
提出日時 | 2015-10-16 01:02:58 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 277 bytes |
コンパイル時間 | 143 ms |
コンパイル使用メモリ | 6,784 KB |
実行使用メモリ | 6,400 KB |
最終ジャッジ日時 | 2024-07-21 16:43:13 |
合計ジャッジ時間 | 1,305 ms |
ジャッジサーバー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'