結果
問題 | No.586 ダブルブッキング |
ユーザー | Schnee |
提出日時 | 2019-10-22 23:44:47 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 209 bytes |
コンパイル時間 | 801 ms |
コンパイル使用メモリ | 10,456 KB |
実行使用メモリ | 7,852 KB |
最終ジャッジ日時 | 2023-09-18 12:07:24 |
合計ジャッジ時間 | 1,469 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge14 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 15 ms
7,732 KB |
testcase_01 | AC | 15 ms
7,852 KB |
testcase_02 | AC | 15 ms
7,808 KB |
testcase_03 | WA | - |
testcase_04 | AC | 15 ms
7,792 KB |
testcase_05 | AC | 15 ms
7,764 KB |
testcase_06 | AC | 14 ms
7,836 KB |
testcase_07 | AC | 14 ms
7,752 KB |
ソースコード
i,ip=int,input sa, n, w = i(ip())+i(ip()), i(ip()), 0 book = [ip() for _ in range(n)] for i in book: a = book.count(i) if a != 1: w += a - 1 for _ in range(a):book.remove(i) print(w*sa)