結果

問題 No.586 ダブルブッキング
ユーザー pluto77pluto77
提出日時 2017-11-12 09:14:09
言語 Python2
(2.7.18)
結果
AC  
実行時間 11 ms / 2,000 ms
コード長 169 bytes
コンパイル時間 1,259 ms
コンパイル使用メモリ 6,484 KB
実行使用メモリ 6,080 KB
最終ジャッジ日時 2023-08-16 10:53:57
合計ジャッジ時間 2,045 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 10 ms
5,824 KB
testcase_01 AC 11 ms
5,952 KB
testcase_02 AC 11 ms
5,872 KB
testcase_03 AC 10 ms
6,080 KB
testcase_04 AC 10 ms
5,820 KB
testcase_05 AC 11 ms
5,876 KB
testcase_06 AC 10 ms
5,896 KB
testcase_07 AC 10 ms
5,984 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#yujk_586

p1=int(raw_input())
p2=int(raw_input())
n=int(raw_input())
l=[]
for i in xrange(n):
 c=int(raw_input())
 l.append(c)
s=set(l)
d=len(l)-len(s)
print d*(p1+p2)
0