結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 148 ms
87,488 KB
testcase_01 AC 136 ms
87,488 KB
testcase_02 AC 143 ms
87,488 KB
testcase_03 AC 130 ms
87,484 KB
testcase_04 AC 398 ms
120,208 KB
testcase_05 AC 844 ms
121,088 KB
testcase_06 AC 1,010 ms
120,864 KB
testcase_07 AC 1,245 ms
120,860 KB
testcase_08 AC 1,419 ms
120,860 KB
testcase_09 AC 739 ms
121,124 KB
testcase_10 AC 1,029 ms
121,128 KB
testcase_11 AC 1,312 ms
120,864 KB
testcase_12 AC 1,459 ms
120,864 KB
testcase_13 AC 1,561 ms
120,860 KB
testcase_14 AC 1,019 ms
120,600 KB
testcase_15 AC 1,345 ms
120,600 KB
testcase_16 AC 1,514 ms
120,596 KB
testcase_17 AC 1,633 ms
120,332 KB
testcase_18 AC 1,653 ms
120,088 KB
testcase_19 AC 1,232 ms
120,860 KB
testcase_20 AC 1,430 ms
120,864 KB
testcase_21 AC 1,662 ms
120,864 KB
testcase_22 AC 1,693 ms
120,860 KB
testcase_23 AC 1,742 ms
120,600 KB
testcase_24 AC 1,407 ms
120,860 KB
testcase_25 AC 1,572 ms
120,600 KB
testcase_26 AC 1,698 ms
120,860 KB
testcase_27 AC 1,910 ms
120,316 KB
testcase_28 AC 1,730 ms
120,576 KB
testcase_29 AC 1,428 ms
116,356 KB
testcase_30 AC 1,566 ms
118,196 KB
権限があれば一括ダウンロードができます

ソースコード

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