結果

問題 No.170 スワップ文字列(Easy)
ユーザー tanukidontanukidon
提出日時 2018-04-03 13:18:24
言語 Ruby
(3.3.0)
結果
AC  
実行時間 154 ms / 5,000 ms
コード長 68 bytes
コンパイル時間 67 ms
コンパイル使用メモリ 11,248 KB
実行使用メモリ 20,116 KB
最終ジャッジ日時 2023-09-08 15:24:30
合計ジャッジ時間 3,773 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
15,040 KB
testcase_01 AC 128 ms
19,976 KB
testcase_02 AC 148 ms
19,412 KB
testcase_03 AC 154 ms
19,288 KB
testcase_04 AC 147 ms
19,172 KB
testcase_05 AC 127 ms
20,032 KB
testcase_06 AC 129 ms
20,116 KB
testcase_07 AC 86 ms
15,660 KB
testcase_08 AC 141 ms
19,312 KB
testcase_09 AC 141 ms
19,360 KB
testcase_10 AC 135 ms
19,724 KB
testcase_11 AC 80 ms
15,272 KB
testcase_12 AC 80 ms
15,016 KB
testcase_13 AC 80 ms
15,172 KB
testcase_14 AC 81 ms
15,288 KB
testcase_15 AC 79 ms
15,336 KB
testcase_16 AC 80 ms
15,304 KB
testcase_17 AC 80 ms
15,156 KB
testcase_18 AC 81 ms
15,212 KB
testcase_19 AC 79 ms
15,268 KB
testcase_20 AC 79 ms
15,016 KB
testcase_21 AC 80 ms
15,236 KB
testcase_22 AC 81 ms
15,124 KB
testcase_23 AC 83 ms
15,252 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a = gets.chomp.split("")
a = a.permutation.to_a
a.uniq!
p a.size - 1
0