結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 32 ms
10,648 KB
testcase_01 AC 31 ms
10,648 KB
testcase_02 AC 31 ms
10,648 KB
testcase_03 AC 31 ms
10,648 KB
testcase_04 AC 323 ms
28,808 KB
testcase_05 AC 981 ms
28,012 KB
testcase_06 AC 1,352 ms
28,492 KB
testcase_07 AC 1,648 ms
30,548 KB
testcase_08 AC 1,857 ms
31,976 KB
testcase_09 AC 1,000 ms
28,540 KB
testcase_10 AC 1,346 ms
28,812 KB
testcase_11 AC 1,680 ms
29,308 KB
testcase_12 AC 1,895 ms
31,152 KB
testcase_13 TLE -
testcase_14 AC 1,431 ms
30,016 KB
testcase_15 AC 1,686 ms
30,028 KB
testcase_16 AC 1,939 ms
29,848 KB
testcase_17 TLE -
testcase_18 TLE -
testcase_19 AC 1,747 ms
32,992 KB
testcase_20 AC 1,929 ms
33,108 KB
testcase_21 TLE -
testcase_22 TLE -
testcase_23 TLE -
testcase_24 AC 1,998 ms
33,276 KB
testcase_25 TLE -
testcase_26 TLE -
testcase_27 TLE -
testcase_28 TLE -
testcase_29 AC 1,904 ms
36,684 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()))
print(*map(lambda p: p[2], sorted(map(lambda i: (fractions.Fraction(ds[i], ts[i]), - ts[i], i+1), range(n)))))
0