結果

問題 No.586 ダブルブッキング
ユーザー KoshStormKoshStorm
提出日時 2017-11-03 22:26:23
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 13 ms / 2,000 ms
コード長 191 bytes
コンパイル時間 167 ms
コンパイル使用メモリ 10,520 KB
実行使用メモリ 7,920 KB
最終ジャッジ日時 2023-08-14 16:55:03
合計ジャッジ時間 814 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 13 ms
7,888 KB
testcase_01 AC 13 ms
7,884 KB
testcase_02 AC 13 ms
7,880 KB
testcase_03 AC 13 ms
7,920 KB
testcase_04 AC 13 ms
7,852 KB
testcase_05 AC 13 ms
7,768 KB
testcase_06 AC 11 ms
7,836 KB
testcase_07 AC 12 ms
7,792 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

P1 = int(input())
P2 = int(input())

N =  int(input())

R_list = []
doub = 0

for i in range(N):
	R = int(input())

	if R in R_list:
		doub += 1
	else:
		R_list.append(R)

print((P1+P2)*doub)
0