結果

問題 No.322 Geometry Dash
ユーザー kura07kura07
提出日時 2015-12-15 11:26:20
言語 Ruby
(3.3.0)
結果
AC  
実行時間 351 ms / 2,000 ms
コード長 127 bytes
コンパイル時間 69 ms
コンパイル使用メモリ 7,552 KB
実行使用メモリ 32,512 KB
最終ジャッジ日時 2024-04-26 04:54:50
合計ジャッジ時間 12,429 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 82 ms
12,288 KB
testcase_01 AC 87 ms
12,288 KB
testcase_02 AC 80 ms
12,288 KB
testcase_03 AC 85 ms
12,160 KB
testcase_04 AC 264 ms
31,232 KB
testcase_05 AC 304 ms
32,256 KB
testcase_06 AC 312 ms
32,128 KB
testcase_07 AC 315 ms
32,256 KB
testcase_08 AC 319 ms
32,512 KB
testcase_09 AC 299 ms
31,872 KB
testcase_10 AC 319 ms
32,128 KB
testcase_11 AC 333 ms
32,256 KB
testcase_12 AC 333 ms
32,384 KB
testcase_13 AC 340 ms
32,384 KB
testcase_14 AC 318 ms
32,000 KB
testcase_15 AC 330 ms
32,256 KB
testcase_16 AC 331 ms
32,384 KB
testcase_17 AC 336 ms
32,384 KB
testcase_18 AC 338 ms
32,512 KB
testcase_19 AC 322 ms
32,256 KB
testcase_20 AC 332 ms
32,128 KB
testcase_21 AC 334 ms
32,384 KB
testcase_22 AC 338 ms
32,256 KB
testcase_23 AC 340 ms
32,384 KB
testcase_24 AC 323 ms
32,128 KB
testcase_25 AC 334 ms
32,256 KB
testcase_26 AC 349 ms
32,256 KB
testcase_27 AC 346 ms
32,384 KB
testcase_28 AC 351 ms
32,128 KB
testcase_29 AC 285 ms
25,344 KB
testcase_30 AC 310 ms
25,984 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

n = gets.to_i
ts = gets.split.map(&:to_i)
ds = gets.split.map(&:to_i)
puts (1..n).sort_by{|i| Rational(ds[i-1],ts[i-1]) } * " "
0