結果

問題 No.170 スワップ文字列(Easy)
ユーザー iwamotiwamot
提出日時 2016-01-24 22:47:47
言語 Ruby
(3.3.0)
結果
AC  
実行時間 120 ms / 5,000 ms
コード長 63 bytes
コンパイル時間 181 ms
コンパイル使用メモリ 11,568 KB
実行使用メモリ 19,340 KB
最終ジャッジ日時 2023-08-24 16:25:59
合計ジャッジ時間 3,533 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
15,332 KB
testcase_01 AC 117 ms
19,340 KB
testcase_02 AC 116 ms
18,556 KB
testcase_03 AC 116 ms
18,468 KB
testcase_04 AC 120 ms
18,336 KB
testcase_05 AC 118 ms
19,196 KB
testcase_06 AC 116 ms
19,312 KB
testcase_07 AC 91 ms
15,460 KB
testcase_08 AC 116 ms
18,460 KB
testcase_09 AC 116 ms
18,552 KB
testcase_10 AC 116 ms
18,796 KB
testcase_11 AC 77 ms
15,144 KB
testcase_12 AC 78 ms
15,300 KB
testcase_13 AC 78 ms
15,268 KB
testcase_14 AC 80 ms
15,276 KB
testcase_15 AC 79 ms
15,384 KB
testcase_16 AC 78 ms
15,144 KB
testcase_17 AC 78 ms
15,040 KB
testcase_18 AC 78 ms
15,116 KB
testcase_19 AC 80 ms
15,288 KB
testcase_20 AC 78 ms
15,128 KB
testcase_21 AC 80 ms
15,152 KB
testcase_22 AC 78 ms
15,244 KB
testcase_23 AC 78 ms
15,080 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

puts gets.chomp.split('').permutation.map(&:join).uniq.size - 1
0