結果

問題 No.494 yukicoder
ユーザー gemmaro
提出日時 2020-04-08 11:28:31
言語 Elixir
(1.18.1)
結果
AC  
実行時間 547 ms / 2,000 ms
コード長 338 bytes
コンパイル時間 957 ms
コンパイル使用メモリ 63,604 KB
実行使用メモリ 55,424 KB
最終ジャッジ日時 2024-12-31 03:49:39
合計ジャッジ時間 7,001 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

defmodule Main do
  def main do
    IO.gets("")
    |> String.trim()
    |> String.to_charlist()
    |> Enum.find_index(fn x -> to_string([x]) == "?" end)
    |> (fn i ->
          "yukicoder"
          |> String.to_charlist()
          |> Enum.at(i)
          |> (fn c -> to_string([c]) end).()
        end).()
    |> IO.puts()
  end
end
0