結果
| 問題 | No.170 スワップ文字列(Easy) |
| コンテスト | |
| ユーザー |
nohakai3
|
| 提出日時 | 2022-10-25 19:44:29 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 79 ms / 5,000 ms |
| + 909µs | |
| コード長 | 154 bytes |
| 記録 | |
| コンパイル時間 | 241 ms |
| コンパイル使用メモリ | 96,368 KB |
| 実行使用メモリ | 93,312 KB |
| 最終ジャッジ日時 | 2026-08-05 06:30:59 |
| 合計ジャッジ時間 | 3,577 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
from itertools import permutations
s=list(input())
l=list(permutations(s))
p=[]
for x in l:
x="".join(x)
p.append(x)
print(len(list(set(p)))-1)
nohakai3