結果

問題 No.292 芸名
コンテスト
ユーザー ichibanshibori
提出日時 2017-04-20 22:03:31
言語 F#
(F# 10.0 + ACL)
コンパイル:
fsharp_c _filename_
実行:
/usr/bin/dotnet_wrap
結果
AC  
実行時間 46 ms / 2,000 ms
+ 458µs
コード長 326 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 12,185 ms
コンパイル使用メモリ 208,664 KB
実行使用メモリ 32,828 KB
最終ジャッジ日時 2026-08-19 01:42:13
合計ジャッジ時間 13,431 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 10
権限があれば一括ダウンロードができます
コンパイルメッセージ
  復元対象のプロジェクトを決定しています...
  /home/judge/data/code/main.fsproj を復元しました (257 ミリ秒)。
  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