結果

問題 No.322 Geometry Dash
ユーザー kimiyukikimiyuki
提出日時 2016-02-28 22:03:50
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
TLE  
実行時間 -
コード長 245 bytes
コンパイル時間 190 ms
コンパイル使用メモリ 11,772 KB
実行使用メモリ 39,408 KB
最終ジャッジ日時 2023-10-24 18:52:14
合計ジャッジ時間 52,510 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,648 KB
testcase_01 AC 30 ms
10,648 KB
testcase_02 AC 32 ms
10,648 KB
testcase_03 AC 31 ms
10,648 KB
testcase_04 AC 328 ms
28,816 KB
testcase_05 AC 993 ms
28,548 KB
testcase_06 AC 1,355 ms
29,284 KB
testcase_07 AC 1,647 ms
30,556 KB
testcase_08 AC 1,989 ms
32,004 KB
testcase_09 AC 1,007 ms
29,340 KB
testcase_10 AC 1,350 ms
29,348 KB
testcase_11 AC 1,681 ms
29,848 KB
testcase_12 AC 1,903 ms
31,152 KB
testcase_13 TLE -
testcase_14 AC 1,431 ms
30,552 KB
testcase_15 AC 1,697 ms
30,828 KB
testcase_16 AC 1,937 ms
30,620 KB
testcase_17 TLE -
testcase_18 TLE -
testcase_19 AC 1,756 ms
33,064 KB
testcase_20 AC 1,936 ms
33,084 KB
testcase_21 TLE -
testcase_22 TLE -
testcase_23 TLE -
testcase_24 TLE -
testcase_25 TLE -
testcase_26 TLE -
testcase_27 TLE -
testcase_28 TLE -
testcase_29 AC 1,945 ms
37,452 KB
testcase_30 TLE -
権限があれば一括ダウンロードができます

ソースコード

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