結果

問題 No.548 国士無双
ユーザー tobusakanatobusakana
提出日時 2022-12-17 19:48:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 42 ms / 2,000 ms
コード長 236 bytes
コンパイル時間 221 ms
コンパイル使用メモリ 82,152 KB
実行使用メモリ 53,612 KB
最終ジャッジ日時 2024-04-28 13:06:53
合計ジャッジ時間 2,188 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 42 ms
52,612 KB
testcase_01 AC 39 ms
52,132 KB
testcase_02 AC 40 ms
52,888 KB
testcase_03 AC 39 ms
52,996 KB
testcase_04 AC 39 ms
52,424 KB
testcase_05 AC 39 ms
52,996 KB
testcase_06 AC 40 ms
52,080 KB
testcase_07 AC 39 ms
52,180 KB
testcase_08 AC 40 ms
53,508 KB
testcase_09 AC 38 ms
52,736 KB
testcase_10 AC 39 ms
52,572 KB
testcase_11 AC 38 ms
52,096 KB
testcase_12 AC 39 ms
52,756 KB
testcase_13 AC 38 ms
52,824 KB
testcase_14 AC 38 ms
52,744 KB
testcase_15 AC 39 ms
52,076 KB
testcase_16 AC 39 ms
52,072 KB
testcase_17 AC 40 ms
52,808 KB
testcase_18 AC 40 ms
53,040 KB
testcase_19 AC 39 ms
53,612 KB
testcase_20 AC 39 ms
53,204 KB
testcase_21 AC 41 ms
51,696 KB
testcase_22 AC 39 ms
52,900 KB
testcase_23 AC 40 ms
52,352 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

T = "abcdefghijklm"
S = input()

if len(set(list(S))) == 13:
    for t in T:
        print(t)
    exit(0)

    
if len(set(list(S))) <= 11:
    print("Impossible")
    exit(0)
    
lack = (set(list(T)) - set(list(S))).pop()

print(lack)
0