結果
| 問題 | No.292 芸名 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2017-04-20 22:03:31 | 
| 言語 | F# (F# 4.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 77 ms / 2,000 ms | 
| コード長 | 326 bytes | 
| コンパイル時間 | 15,035 ms | 
| コンパイル使用メモリ | 190,900 KB | 
| 実行使用メモリ | 30,976 KB | 
| 最終ジャッジ日時 | 2024-07-19 21:16:25 | 
| 合計ジャッジ時間 | 16,831 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 10 | 
コンパイルメッセージ
復元対象のプロジェクトを決定しています... /home/judge/data/code/main.fsproj を復元しました (273 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 () =
    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"
            
            
            
        