結果

問題 No.750 Frac #1
ユーザー chike_pluschike_plus
提出日時 2019-03-28 17:20:39
言語 F#
(F# 4.0)
結果
AC  
実行時間 65 ms / 1,000 ms
コード長 354 bytes
コンパイル時間 14,648 ms
コンパイル使用メモリ 198,212 KB
実行使用メモリ 29,824 KB
最終ジャッジ日時 2024-04-21 08:19:43
合計ジャッジ時間 17,418 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 63 ms
29,560 KB
testcase_01 AC 61 ms
29,588 KB
testcase_02 AC 59 ms
29,440 KB
testcase_03 AC 58 ms
29,696 KB
testcase_04 AC 59 ms
29,440 KB
testcase_05 AC 60 ms
29,696 KB
testcase_06 AC 59 ms
29,440 KB
testcase_07 AC 59 ms
29,568 KB
testcase_08 AC 55 ms
29,184 KB
testcase_09 AC 59 ms
29,568 KB
testcase_10 AC 59 ms
29,824 KB
testcase_11 AC 60 ms
29,696 KB
testcase_12 AC 59 ms
29,696 KB
testcase_13 AC 61 ms
29,568 KB
testcase_14 AC 64 ms
29,696 KB
testcase_15 AC 56 ms
29,184 KB
testcase_16 AC 63 ms
29,696 KB
testcase_17 AC 60 ms
29,696 KB
testcase_18 AC 59 ms
29,824 KB
testcase_19 AC 65 ms
29,696 KB
testcase_20 AC 53 ms
29,056 KB
testcase_21 AC 59 ms
29,696 KB
testcase_22 AC 65 ms
29,568 KB
testcase_23 AC 59 ms
29,568 KB
testcase_24 AC 58 ms
29,824 KB
testcase_25 AC 60 ms
29,552 KB
testcase_26 AC 60 ms
29,568 KB
testcase_27 AC 61 ms
29,696 KB
testcase_28 AC 54 ms
29,312 KB
testcase_29 AC 58 ms
29,440 KB
testcase_30 AC 58 ms
29,696 KB
testcase_31 AC 60 ms
29,568 KB
testcase_32 AC 58 ms
29,696 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (305 ms)。
MSBuild のバージョン 17.9.6+a4ecab324 (.NET)
  main -> /home/judge/data/code/bin/Release/net8.0/main.dll
  main -> /home/judge/data/code/bin/Release/net8.0/publish/

ソースコード

diff #

let ``No.750 Frac #1``() =

  let n  = stdin.ReadLine() |> int
  [1..n]
  |> List.map (fun i ->
     stdin.ReadLine().Split(' ') 
    |> fun args -> args.[0] |>int , args.[1] |>int
  )
  |> List.sortByDescending (fun (a, b) ->  ( float a/ float b)) 
  |> List.iter (fun (a,b) -> string a + " " + string b |> stdout.WriteLine  )

  ()
``No.750 Frac #1``()
0