結果
| 問題 |
No.170 スワップ文字列(Easy)
|
| コンテスト | |
| ユーザー |
nohakai3
|
| 提出日時 | 2022-10-25 19:44:29 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 74 ms / 5,000 ms |
| コード長 | 154 bytes |
| コンパイル時間 | 719 ms |
| コンパイル使用メモリ | 82,360 KB |
| 実行使用メモリ | 85,732 KB |
| 最終ジャッジ日時 | 2024-07-03 17:09:51 |
| 合計ジャッジ時間 | 2,458 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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