結果
問題 |
No.548 国士無双
|
ユーザー |
![]() |
提出日時 | 2020-09-17 09:27:13 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 26 ms / 2,000 ms |
コード長 | 190 bytes |
コンパイル時間 | 326 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,624 KB |
最終ジャッジ日時 | 2024-06-22 06:25:05 |
合計ジャッジ時間 | 1,741 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 24 |
ソースコード
txt = 'abcdefghijklm' S = input().strip() lst = [i for i in txt if i not in S] if len(lst) > 1: print('Impossible') elif len(lst) == 1: print(lst[0]) else: for i in txt: print(i)