結果
問題 |
No.586 ダブルブッキング
|
ユーザー |
![]() |
提出日時 | 2017-12-06 09:58:47 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 179 bytes |
コンパイル時間 | 106 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-11-29 00:53:27 |
合計ジャッジ時間 | 914 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 3 RE * 2 |
ソースコード
p1,p2,n,c=int(input()),int(input()),int(input()),0 rs=[False]*999 for i in range(n): r=int(input()) if rs[r]==False: rs[r]=True else: c+=p1+p2 print(c)