結果

問題 No.570 3人兄弟(その1)
ユーザー ichibanshiboriichibanshibori
提出日時 2017-10-08 19:03:56
言語 F#
(F# 4.0)
結果
AC  
実行時間 70 ms / 2,000 ms
コード長 246 bytes
コンパイル時間 12,964 ms
コンパイル使用メモリ 183,812 KB
実行使用メモリ 31,232 KB
最終ジャッジ日時 2024-04-28 13:35:42
合計ジャッジ時間 12,062 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
31,228 KB
testcase_01 AC 67 ms
30,976 KB
testcase_02 AC 68 ms
30,976 KB
testcase_03 AC 69 ms
30,976 KB
testcase_04 AC 66 ms
31,232 KB
testcase_05 AC 70 ms
30,848 KB
testcase_06 AC 66 ms
31,104 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (406 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 = stdin.ReadLine () |> int
            let c = int 'A' |> fun x -> x + i |> char
            yield (c, h) }
    |> Seq.sortBy (fun (c, h) -> -h)
    |> Seq.iter (fun (c, h) -> printfn "%c" c)
0