結果
| 問題 | No.548 国士無双 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-07-29 00:25:14 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 34 ms / 2,000 ms |
| コード長 | 303 bytes |
| コンパイル時間 | 96 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,496 KB |
| 最終ジャッジ日時 | 2024-09-17 13:40:26 |
| 合計ジャッジ時間 | 1,596 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 |
ソースコード
#!/usr/bin/env python3
t = 'abcdefghijklm'
s = input()
result = 'Impossible'
if len(s) == len(t):
unused = ''
for c in t:
if c not in s:
unused += c
if len(unused) == 0:
result = '\n'.join(list(t))
elif len(unused) == 1:
result = unused
print(result)