結果

問題 No.609 Noelちゃんと星々
ユーザー letrangerjpletrangerjp
提出日時 2017-12-09 00:59:32
言語 Ruby
(3.2.2)
結果
AC  
実行時間 188 ms / 2,000 ms
コード長 65 bytes
コンパイル時間 167 ms
コンパイル使用メモリ 11,476 KB
実行使用メモリ 34,144 KB
最終ジャッジ日時 2023-08-19 23:52:43
合計ジャッジ時間 5,175 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 157 ms
29,056 KB
testcase_01 AC 119 ms
22,580 KB
testcase_02 AC 108 ms
20,156 KB
testcase_03 AC 116 ms
21,988 KB
testcase_04 AC 96 ms
18,452 KB
testcase_05 AC 183 ms
32,972 KB
testcase_06 AC 161 ms
30,100 KB
testcase_07 AC 129 ms
24,324 KB
testcase_08 AC 91 ms
16,880 KB
testcase_09 AC 112 ms
20,660 KB
testcase_10 AC 142 ms
26,748 KB
testcase_11 AC 136 ms
25,832 KB
testcase_12 AC 150 ms
27,916 KB
testcase_13 AC 91 ms
17,364 KB
testcase_14 AC 85 ms
15,884 KB
testcase_15 AC 163 ms
30,528 KB
testcase_16 AC 184 ms
33,748 KB
testcase_17 AC 154 ms
29,064 KB
testcase_18 AC 105 ms
20,132 KB
testcase_19 AC 159 ms
30,108 KB
testcase_20 AC 188 ms
34,088 KB
testcase_21 AC 186 ms
33,948 KB
testcase_22 AC 186 ms
33,960 KB
testcase_23 AC 186 ms
34,144 KB
testcase_24 AC 186 ms
34,004 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

eval"N,*A="+gets(p).split*?,
p A.sort!.map{|a|(a-A[N/2]).abs}.sum
0