結果
| 問題 | No.322 Geometry Dash |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-02-29 01:22:52 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 239 bytes |
| 記録 | |
| コンパイル時間 | 261 ms |
| コンパイル使用メモリ | 82,380 KB |
| 実行使用メモリ | 121,980 KB |
| 最終ジャッジ日時 | 2024-09-24 12:32:30 |
| 合計ジャッジ時間 | 45,497 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 25 TLE * 2 |
ソースコード
#!/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)))))