結果
問題 |
No.586 ダブルブッキング
|
ユーザー |
|
提出日時 | 2022-03-30 21:47:34 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 179 bytes |
コンパイル時間 | 327 ms |
コンパイル使用メモリ | 82,428 KB |
実行使用メモリ | 68,132 KB |
最終ジャッジ日時 | 2024-11-15 12:57:11 |
合計ジャッジ時間 | 1,404 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 3 |
other | RE * 5 |
ソースコード
a = int(input()) a += int(input()) N = int(input()) ans = 0 s = set() for _ in range(N): r = int(inpur()) if r in s: ans += a else: s.add(r) print(ans)