結果
| 問題 | No.586 ダブルブッキング |
| コンテスト | |
| ユーザー |
knt3110
|
| 提出日時 | 2018-05-13 20:13:27 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 222 bytes |
| 記録 | |
| コンパイル時間 | 660 ms |
| コンパイル使用メモリ | 20,700 KB |
| 実行使用メモリ | 20,572 KB |
| 最終ジャッジ日時 | 2026-03-17 01:11:51 |
| 合計ジャッジ時間 | 2,985 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 5 |
ソースコード
p1=int(input())
p2=int(input())
n=int(input())
l=list(int(input()) for i in range(n))
for i in range(n):
for j in range(i):
if l[i]==l[j]:
count+=1
break
cost=count*(p1+p2)
print(cost)
knt3110