結果
問題 |
No.571 3人兄弟(その2)
|
ユーザー |
|
提出日時 | 2017-10-09 18:48:26 |
言語 | F# (F# 4.0) |
結果 |
AC
|
実行時間 | 80 ms / 2,000 ms |
コード長 | 362 bytes |
コンパイル時間 | 19,121 ms |
コンパイル使用メモリ | 185,456 KB |
実行使用メモリ | 31,744 KB |
最終ジャッジ日時 | 2024-11-17 07:01:07 |
合計ジャッジ時間 | 12,847 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 2 |
other | AC * 12 |
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (932 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/
ソースコード
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)