結果

問題 No.586 ダブルブッキング
ユーザー liny_tail
提出日時 2020-08-10 15:23:50
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
RE  
実行時間 -
コード長 183 bytes
コンパイル時間 165 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-10-07 17:41:46
合計ジャッジ時間 835 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 3 RE * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

P1, P2, N = [int(input().strip()) for i in range(3)]
R = [0 for _ in range(999)]
for i in range(N):
  R[int(input())] += 1

print((P1 + P2) * (sum(R) - len([i for i in R if i > 0])))
0