結果
問題 |
No.170 スワップ文字列(Easy)
|
ユーザー |
|
提出日時 | 2021-03-16 23:05:16 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 81 ms / 5,000 ms |
コード長 | 192 bytes |
コンパイル時間 | 413 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 78,592 KB |
最終ジャッジ日時 | 2024-11-08 18:58:41 |
合計ジャッジ時間 | 2,576 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
S = input() st = set() from itertools import permutations l = [i for i in range(len(S))] for p in permutations(l): T = "" for i in p: T += S[i] st.add(T) print(len(st) - 1)