結果

問題 No.123 カードシャッフル
ユーザー mmmpppmmmppp
提出日時 2017-02-23 17:01:57
言語 Ruby
(3.3.0)
結果
AC  
実行時間 313 ms / 5,000 ms
コード長 71 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 11,304 KB
実行使用メモリ 86,756 KB
最終ジャッジ日時 2023-08-30 21:30:36
合計ジャッジ時間 2,713 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
15,240 KB
testcase_01 AC 77 ms
15,100 KB
testcase_02 AC 77 ms
15,116 KB
testcase_03 AC 79 ms
15,256 KB
testcase_04 AC 78 ms
15,144 KB
testcase_05 AC 78 ms
15,140 KB
testcase_06 AC 78 ms
15,112 KB
testcase_07 AC 78 ms
15,116 KB
testcase_08 AC 78 ms
15,172 KB
testcase_09 AC 78 ms
15,228 KB
testcase_10 AC 143 ms
25,920 KB
testcase_11 AC 280 ms
86,756 KB
testcase_12 AC 313 ms
86,620 KB
testcase_13 AC 312 ms
86,492 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

c=[*1..gets.to_i];gets.split.map{|a|c=[c.delete(c[a.to_i-1])]+c};p c[0]
0