結果
| 問題 | No.548 国士無双 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-11-25 17:27:18 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 64 ms / 2,000 ms |
| + 10µs | |
| コード長 | 312 bytes |
| 記録 | |
| コンパイル時間 | 256 ms |
| コンパイル使用メモリ | 96,492 KB |
| 実行使用メモリ | 79,232 KB |
| 最終ジャッジ日時 | 2026-07-16 23:18:37 |
| 合計ジャッジ時間 | 3,223 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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()