結果
| 問題 | No.52 よくある文字列の問題 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-04-04 19:41:38 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 5,000 ms |
| コード長 | 170 bytes |
| 記録 | |
| コンパイル時間 | 134 ms |
| コンパイル使用メモリ | 77,348 KB |
| 最終ジャッジ日時 | 2025-12-03 20:05:37 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 11 |
ソースコード
#coding: utf-8 ##yuki_52 res=set([]) def dfs(s,t): if len(s)==0: res.add(t) return dfs(s[1:],t+s[0]) dfs(s[:-1],t+s[-1]) s=raw_input() dfs(s,"") print len(res)