結果

問題 No.292 芸名
コンテスト
ユーザー ichibanshibori
提出日時 2017-04-20 22:03:31
言語 F#
(F# 10.0)
コンパイル:
fsharp_c _filename_
実行:
/usr/bin/dotnet_wrap
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 326 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 12,668 ms
コンパイル使用メモリ 207,800 KB
実行使用メモリ 240,628 KB
最終ジャッジ日時 2026-04-02 18:27:01
合計ジャッジ時間 14,621 ms
ジャッジサーバーID
(参考情報)
judge5_1 / judge4_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (279 ミリ秒)。
  main -> /home/judge/data/code/bin/Release/net10.0/main.dll
  main -> /home/judge/data/code/bin/Release/net10.0/publish/

ソースコード

diff #
raw source code

let () =
    let s, t, u = stdin.ReadLine().Split()
                  |> fun arr -> (arr.[0], int arr.[1], int arr.[2])

    Seq.mapi (fun i c -> (i, c)) s
    |> Seq.choose (fun (i, c) ->
        if i = t || i = u then None
        else Some(c))
    |> Array.ofSeq
    |> fun arr -> new System.String(arr)
    |> printfn "%s"
0