結果
| 問題 | No.548 国士無双 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-11-25 17:27:18 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 39 ms / 2,000 ms |
| コード長 | 312 bytes |
| コンパイル時間 | 290 ms |
| コンパイル使用メモリ | 82,140 KB |
| 実行使用メモリ | 54,100 KB |
| 最終ジャッジ日時 | 2025-11-25 17:27:20 |
| 合計ジャッジ時間 | 2,359 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 24 |
ソースコード
import sys
def input(): return sys.stdin.readline().rstrip('\n')
def main():
s = input()
x = False
for k in 'abcdefghijklm':
if set(s+k) == set('abcdefghijklm'):
print(k)
x = True
if not x:
print('Impossible')
if __name__ == '__main__':
main()