結果

問題 No.170 スワップ文字列(Easy)
ユーザー mmmpppmmmppp
提出日時 2017-03-03 00:35:40
言語 Ruby
(3.3.0)
結果
AC  
実行時間 131 ms / 5,000 ms
コード長 56 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 11,556 KB
実行使用メモリ 20,564 KB
最終ジャッジ日時 2023-09-03 21:25:12
合計ジャッジ時間 3,830 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
15,108 KB
testcase_01 AC 119 ms
20,564 KB
testcase_02 AC 128 ms
19,256 KB
testcase_03 AC 129 ms
19,180 KB
testcase_04 AC 128 ms
19,340 KB
testcase_05 AC 121 ms
20,316 KB
testcase_06 AC 122 ms
20,520 KB
testcase_07 AC 87 ms
15,512 KB
testcase_08 AC 131 ms
19,448 KB
testcase_09 AC 130 ms
19,276 KB
testcase_10 AC 126 ms
19,696 KB
testcase_11 AC 81 ms
15,128 KB
testcase_12 AC 82 ms
15,076 KB
testcase_13 AC 83 ms
15,020 KB
testcase_14 AC 82 ms
15,256 KB
testcase_15 AC 82 ms
15,224 KB
testcase_16 AC 82 ms
15,252 KB
testcase_17 AC 82 ms
15,288 KB
testcase_18 AC 80 ms
15,128 KB
testcase_19 AC 80 ms
15,032 KB
testcase_20 AC 81 ms
15,108 KB
testcase_21 AC 82 ms
15,140 KB
testcase_22 AC 80 ms
15,248 KB
testcase_23 AC 81 ms
15,312 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

p~-gets.chop.bytes.permutation($_.size-1).to_a.uniq.size
0