結果

問題 No.322 Geometry Dash
ユーザー cielciel
提出日時 2015-12-15 00:14:30
言語 Ruby
(3.3.0)
結果
AC  
実行時間 287 ms / 2,000 ms
コード長 107 bytes
コンパイル時間 67 ms
コンパイル使用メモリ 11,360 KB
実行使用メモリ 34,948 KB
最終ジャッジ日時 2023-08-08 10:52:42
合計ジャッジ時間 11,598 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 79 ms
15,152 KB
testcase_01 AC 82 ms
15,056 KB
testcase_02 AC 80 ms
15,232 KB
testcase_03 AC 79 ms
15,140 KB
testcase_04 AC 247 ms
33,736 KB
testcase_05 AC 268 ms
34,516 KB
testcase_06 AC 272 ms
34,272 KB
testcase_07 AC 273 ms
34,512 KB
testcase_08 AC 279 ms
34,456 KB
testcase_09 AC 267 ms
34,232 KB
testcase_10 AC 278 ms
34,536 KB
testcase_11 AC 282 ms
34,452 KB
testcase_12 AC 281 ms
34,800 KB
testcase_13 AC 284 ms
34,180 KB
testcase_14 AC 277 ms
34,452 KB
testcase_15 AC 286 ms
34,424 KB
testcase_16 AC 285 ms
34,432 KB
testcase_17 AC 287 ms
34,652 KB
testcase_18 AC 285 ms
34,432 KB
testcase_19 AC 281 ms
34,648 KB
testcase_20 AC 285 ms
34,604 KB
testcase_21 AC 283 ms
34,476 KB
testcase_22 AC 285 ms
34,944 KB
testcase_23 AC 285 ms
34,256 KB
testcase_24 AC 280 ms
34,424 KB
testcase_25 AC 279 ms
34,664 KB
testcase_26 AC 287 ms
34,740 KB
testcase_27 AC 285 ms
34,948 KB
testcase_28 AC 283 ms
34,472 KB
testcase_29 AC 244 ms
25,664 KB
testcase_30 AC 258 ms
25,192 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

N=gets.to_i
a=$<.map{|e|e.split.map(&:to_i)}.transpose
puts [*1..N].sort_by{|i|a[i-1][1]*1.0/a[i-1][0]}*' '
0