結果
| 問題 | No.170 スワップ文字列(Easy) |
| コンテスト | |
| ユーザー |
nohakai3
|
| 提出日時 | 2022-10-25 19:44:29 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 60 ms / 5,000 ms |
| コード長 | 154 bytes |
| 記録 | |
| コンパイル時間 | 328 ms |
| コンパイル使用メモリ | 85,504 KB |
| 実行使用メモリ | 90,240 KB |
| 最終ジャッジ日時 | 2026-03-25 01:05:48 |
| 合計ジャッジ時間 | 2,359 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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