結果
問題 | No.548 国士無双 |
ユーザー |
![]() |
提出日時 | 2017-09-21 00:36:31 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 29 ms / 2,000 ms |
コード長 | 259 bytes |
コンパイル時間 | 85 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-09-17 13:46:16 |
合計ジャッジ時間 | 1,366 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
s = input() strings = list("abcdefghijklm") data = [] for i in strings: data.append(s.count(i)) if data.count(0) > 1: print("Impossible") elif data.count(0) == 0: for i in strings: print(i) else: j = data.index(0) print(strings[j])