結果
問題 | No.322 Geometry Dash |
ユーザー |
👑 |
提出日時 | 2021-07-27 23:39:09 |
言語 | Lua (LuaJit 2.1.1734355927) |
結果 |
AC
|
実行時間 | 149 ms / 2,000 ms |
コード長 | 257 bytes |
コンパイル時間 | 133 ms |
コンパイル使用メモリ | 6,816 KB |
実行使用メモリ | 7,296 KB |
最終ジャッジ日時 | 2024-07-23 21:38:51 |
合計ジャッジ時間 | 7,205 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 27 |
ソースコード
local n = io.read("*n")local a, b = {}, {}local idx = {}for i = 1, n doa[i] = io.read("*n")idx[i] = iendfor i = 1, n dob[i] = io.read("*n")endtable.sort(idx, function(x, y) return a[x] * b[y] > a[y] * b[x] end)print(table.concat(idx, " "))