結果

問題 No.322 Geometry Dash
ユーザー kimiyukikimiyuki
提出日時 2016-02-29 01:28:05
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 1,750 ms / 2,000 ms
コード長 244 bytes
コンパイル時間 175 ms
コンパイル使用メモリ 81,628 KB
実行使用メモリ 121,660 KB
最終ジャッジ日時 2023-10-24 19:05:19
合計ジャッジ時間 42,023 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 131 ms
87,504 KB
testcase_01 AC 131 ms
87,504 KB
testcase_02 AC 130 ms
87,500 KB
testcase_03 AC 133 ms
87,500 KB
testcase_04 AC 283 ms
121,392 KB
testcase_05 AC 742 ms
121,396 KB
testcase_06 AC 1,006 ms
121,396 KB
testcase_07 AC 1,221 ms
121,400 KB
testcase_08 AC 1,409 ms
121,396 KB
testcase_09 AC 742 ms
121,396 KB
testcase_10 AC 1,054 ms
121,396 KB
testcase_11 AC 1,292 ms
121,400 KB
testcase_12 AC 1,482 ms
121,396 KB
testcase_13 AC 1,571 ms
121,396 KB
testcase_14 AC 998 ms
121,396 KB
testcase_15 AC 1,240 ms
121,136 KB
testcase_16 AC 1,460 ms
121,396 KB
testcase_17 AC 1,595 ms
121,136 KB
testcase_18 AC 1,746 ms
121,132 KB
testcase_19 AC 1,276 ms
121,660 KB
testcase_20 AC 1,477 ms
121,396 KB
testcase_21 AC 1,582 ms
121,400 KB
testcase_22 AC 1,662 ms
121,396 KB
testcase_23 AC 1,687 ms
121,396 KB
testcase_24 AC 1,427 ms
121,396 KB
testcase_25 AC 1,549 ms
121,400 KB
testcase_26 AC 1,687 ms
121,392 KB
testcase_27 AC 1,705 ms
121,136 KB
testcase_28 AC 1,750 ms
121,400 KB
testcase_29 AC 1,440 ms
116,380 KB
testcase_30 AC 1,575 ms
118,760 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
import fractions
n = int(input())
ts = list(map(int,input().split()))
ds = list(map(int,input().split()))
xs = [(fractions.Fraction(ds[i], ts[i]), - ts[i], i+1) for i in range(n)]
xs.sort()
print(*map(lambda p: p[2], xs))
0