結果
問題 | No.170 スワップ文字列(Easy) |
ユーザー |
![]() |
提出日時 | 2016-03-04 13:37:35 |
言語 | D (dmd 2.109.1) |
結果 |
AC
|
実行時間 | 3 ms / 5,000 ms |
コード長 | 305 bytes |
コンパイル時間 | 891 ms |
コンパイル使用メモリ | 113,280 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-12 03:12:18 |
合計ジャッジ時間 | 1,863 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
import std.stdio, std.string, std.conv, std.range, std.math, std.bigint, std.algorithm, core.bitop; void main() { auto S = readln.strip.array.sort(); long ans; do { ans++; } while (S.nextPermutation); (ans - 1).writeln; }