結果
問題 |
No.322 Geometry Dash
|
ユーザー |
|
提出日時 | 2016-02-28 22:01:40 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
TLE
|
実行時間 | - |
コード長 | 239 bytes |
コンパイル時間 | 329 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 40,216 KB |
最終ジャッジ日時 | 2024-09-24 12:13:50 |
合計ジャッジ時間 | 52,464 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 16 TLE * 11 |
ソースコード
#!/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)))))