結果

問題 No.52 よくある文字列の問題
ユーザー dangodango
提出日時 2023-06-14 16:30:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 88 ms / 5,000 ms
コード長 108 bytes
コンパイル時間 1,197 ms
コンパイル使用メモリ 87,088 KB
実行使用メモリ 76,304 KB
最終ジャッジ日時 2023-09-05 03:51:54
合計ジャッジ時間 3,118 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,300 KB
testcase_01 AC 70 ms
71,488 KB
testcase_02 AC 88 ms
75,928 KB
testcase_03 AC 70 ms
71,364 KB
testcase_04 AC 78 ms
76,304 KB
testcase_05 AC 78 ms
76,088 KB
testcase_06 AC 76 ms
76,144 KB
testcase_07 AC 72 ms
71,312 KB
testcase_08 AC 70 ms
71,160 KB
testcase_09 AC 71 ms
71,364 KB
testcase_10 AC 72 ms
71,192 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

f = lambda K, S:f(K[1:], S + K[0]) + f(K[:-1], S + K[-1]) if len(K) else [S]
print(len(set(f(input(), ""))))
0