結果
問題 | No.170 スワップ文字列(Easy) |
ユーザー |
![]() |
提出日時 | 2015-11-11 18:31:21 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 31 ms / 5,000 ms |
コード長 | 102 bytes |
コンパイル時間 | 179 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 13,640 KB |
最終ジャッジ日時 | 2024-12-23 00:32:39 |
合計ジャッジ時間 | 1,248 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
import itertools S = list(raw_input()) thelist = itertools.permutations(S) print len(set(thelist)) - 1