結果

問題 No.571 3人兄弟(その2)
ユーザー ichibanshiboriichibanshibori
提出日時 2017-10-09 18:48:26
言語 F#
(F# 4.0)
結果
AC  
実行時間 77 ms / 2,000 ms
コード長 362 bytes
コンパイル時間 13,526 ms
コンパイル使用メモリ 185,024 KB
実行使用メモリ 31,864 KB
最終ジャッジ日時 2024-04-28 14:24:00
合計ジャッジ時間 15,282 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
31,612 KB
testcase_01 AC 74 ms
31,864 KB
testcase_02 AC 76 ms
31,488 KB
testcase_03 AC 71 ms
31,488 KB
testcase_04 AC 68 ms
31,716 KB
testcase_05 AC 72 ms
31,744 KB
testcase_06 AC 74 ms
31,616 KB
testcase_07 AC 76 ms
31,744 KB
testcase_08 AC 76 ms
31,488 KB
testcase_09 AC 73 ms
31,852 KB
testcase_10 AC 70 ms
31,616 KB
testcase_11 AC 71 ms
31,616 KB
testcase_12 AC 69 ms
31,744 KB
testcase_13 AC 70 ms
31,488 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (613 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 () =
    seq { for i = 0 to 2 do
            let h, w = stdin.ReadLine ()
                    |> fun s -> s.Split()
                    |> fun arr -> (int arr.[0], int arr.[1])
            let c = 'A' |> int |> fun x -> x + i |> char
            yield (c, h, w) }
    |> Seq.sortBy (fun (_, h, w) -> (-h, w))
    |> Seq.iter (fun (c, _, _) -> printfn "%c" c)
0