結果
問題 | No.750 Frac #1 |
ユーザー |
|
提出日時 | 2024-06-29 16:36:07 |
言語 | Julia (2.11.2) |
結果 |
WA
|
実行時間 | - |
コード長 | 262 bytes |
コンパイル時間 | 59 ms |
コンパイル使用メモリ | 5,120 KB |
実行使用メモリ | 525,896 KB |
最終ジャッジ日時 | 2024-06-29 16:36:27 |
合計ジャッジ時間 | 19,157 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 WA * 1 |
other | AC * 22 WA * 7 MLE * 1 |
ソースコード
function solve()n = parse(Int, readline())d = []for _ in 1:na, b = parse.(Int, split(readline()))push!(d, a//b)endsort!(d, rev=true)for x in dprintln(numerator(x), " ", denominator(x))endendsolve()