結果
| 問題 | No.548 国士無双 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-08-11 01:28:06 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 238 bytes |
| 記録 | |
| コンパイル時間 | 379 ms |
| コンパイル使用メモリ | 21,668 KB |
| 実行使用メモリ | 16,000 KB |
| 最終ジャッジ日時 | 2026-08-08 12:14:27 |
| 合計ジャッジ時間 | 4,140 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 WA * 20 |
ソースコード
S=''.join(sorted(input()))
A='abcdefghijklm'
o='Impossible'
Z=set()
for i in range(13):
for j in range(13):
if A in S[:i]+A[j]+S[i:]:
o=''
Z.add(A[j])
else:
if o:print(o)
print('\n'.join(sorted(Z)))