結果

問題 No.322 Geometry Dash
ユーザー climpetclimpet
提出日時 2015-12-15 00:21:57
言語 Ruby
(3.3.0)
結果
AC  
実行時間 266 ms / 2,000 ms
コード長 119 bytes
コンパイル時間 214 ms
コンパイル使用メモリ 7,552 KB
実行使用メモリ 30,720 KB
最終ジャッジ日時 2024-04-26 04:05:05
合計ジャッジ時間 10,771 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 85 ms
12,160 KB
testcase_01 AC 85 ms
12,160 KB
testcase_02 AC 84 ms
12,288 KB
testcase_03 AC 87 ms
12,288 KB
testcase_04 AC 219 ms
30,208 KB
testcase_05 AC 239 ms
30,080 KB
testcase_06 AC 248 ms
30,336 KB
testcase_07 AC 242 ms
30,336 KB
testcase_08 AC 247 ms
30,336 KB
testcase_09 AC 234 ms
30,080 KB
testcase_10 AC 241 ms
30,464 KB
testcase_11 AC 245 ms
30,336 KB
testcase_12 AC 243 ms
30,336 KB
testcase_13 AC 245 ms
30,720 KB
testcase_14 AC 255 ms
30,208 KB
testcase_15 AC 241 ms
30,464 KB
testcase_16 AC 248 ms
30,336 KB
testcase_17 AC 266 ms
30,592 KB
testcase_18 AC 249 ms
30,464 KB
testcase_19 AC 244 ms
30,208 KB
testcase_20 AC 256 ms
30,336 KB
testcase_21 AC 253 ms
30,464 KB
testcase_22 AC 264 ms
30,464 KB
testcase_23 AC 252 ms
30,464 KB
testcase_24 AC 256 ms
30,464 KB
testcase_25 AC 250 ms
30,464 KB
testcase_26 AC 254 ms
30,464 KB
testcase_27 AC 254 ms
30,464 KB
testcase_28 AC 257 ms
29,824 KB
testcase_29 AC 215 ms
24,064 KB
testcase_30 AC 223 ms
24,448 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n = gets.to_i
t = gets.split.map(&:to_f)
d = gets.split.map(&:to_f)
puts (1..n).sort_by{|i| d[i - 1] / t[i - 1]} * ' '
0