結果
問題 | No.586 ダブルブッキング |
ユーザー |
![]() |
提出日時 | 2021-09-28 08:58:50 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 35 ms / 2,000 ms |
コード長 | 149 bytes |
コンパイル時間 | 250 ms |
コンパイル使用メモリ | 82,384 KB |
実行使用メモリ | 51,968 KB |
最終ジャッジ日時 | 2024-07-07 11:55:15 |
合計ジャッジ時間 | 1,252 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 |
ソースコード
P1 = int(input())P2 = int(input())n = int(input())R = [int(input()) for _ in range(n)]R_set = list(set(R))print((P1+P2) * (len(R) - len(R_set)))