結果
問題 |
No.52 よくある文字列の問題
|
ユーザー |
|
提出日時 | 2014-11-07 13:49:15 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 12 ms / 5,000 ms |
コード長 | 135 bytes |
コンパイル時間 | 53 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-22 05:18:03 |
合計ジャッジ時間 | 691 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 11 |
ソースコード
def f(str,sub): return f(str[1:],sub+str[0])+f(str[:-1],sub+str[-1]) if len(str)>0 else [sub] print len(set(f(raw_input(),"")))