結果

問題 No.490 yukiソート
ユーザー mmmpppmmmppp
提出日時 2017-03-11 00:17:05
言語 Ruby
(3.3.0)
結果
AC  
実行時間 723 ms / 2,000 ms
コード長 126 bytes
コンパイル時間 209 ms
コンパイル使用メモリ 11,332 KB
実行使用メモリ 62,624 KB
最終ジャッジ日時 2023-09-06 16:09:13
合計ジャッジ時間 11,246 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,008 KB
testcase_01 AC 84 ms
15,288 KB
testcase_02 AC 84 ms
15,084 KB
testcase_03 AC 84 ms
15,292 KB
testcase_04 AC 101 ms
16,840 KB
testcase_05 AC 100 ms
16,948 KB
testcase_06 AC 102 ms
16,960 KB
testcase_07 AC 101 ms
17,136 KB
testcase_08 AC 104 ms
16,976 KB
testcase_09 AC 102 ms
17,136 KB
testcase_10 AC 103 ms
17,100 KB
testcase_11 AC 104 ms
17,116 KB
testcase_12 AC 101 ms
16,836 KB
testcase_13 AC 102 ms
17,000 KB
testcase_14 AC 723 ms
62,320 KB
testcase_15 AC 715 ms
62,592 KB
testcase_16 AC 704 ms
62,624 KB
testcase_17 AC 711 ms
62,456 KB
testcase_18 AC 705 ms
62,580 KB
testcase_19 AC 708 ms
62,484 KB
testcase_20 AC 716 ms
62,472 KB
testcase_21 AC 703 ms
62,584 KB
testcase_22 AC 715 ms
62,460 KB
testcase_23 AC 712 ms
62,412 KB
testcase_24 AC 84 ms
15,084 KB
testcase_25 AC 82 ms
15,000 KB
testcase_26 AC 78 ms
15,112 KB
testcase_27 AC 79 ms
15,152 KB
testcase_28 AC 78 ms
15,104 KB
testcase_29 AC 77 ms
15,108 KB
testcase_30 AC 76 ms
15,084 KB
testcase_31 AC 77 ms
15,156 KB
testcase_32 AC 77 ms
15,100 KB
testcase_33 AC 77 ms
15,104 KB
testcase_34 AC 77 ms
15,132 KB
testcase_35 AC 78 ms
15,104 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

eval'N,*A='+$<.read.split*?,
(1..2*N-4).map{|i|(0..i/2).map{|a|b=i-a;b>N-1&&next;A[a]>(c=A[b])&&(A[b]=A[a];A[a]=c)}}
$><<A*' '
0