結果
| 問題 | No.725 木は明らかに森である |
| コンテスト | |
| ユーザー |
getty104
|
| 提出日時 | 2018-09-11 15:10:26 |
| 言語 | Elixir (1.19.5) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 133 bytes |
| 記録 | |
| コンパイル時間 | 1,019 ms |
| コンパイル使用メモリ | 87,652 KB |
| 実行使用メモリ | 81,964 KB |
| 最終ジャッジ日時 | 2026-06-04 13:41:20 |
| 合計ジャッジ時間 | 5,797 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 9 |
コンパイルメッセージ
warning: OS.puts/1 is undefined (module OS is not available or is yet to be defined). Make sure the module name is correct and has been specified in full (or that an alias has been defined)
│
4 │ OS.puts Regex.replace(~r/treeone/, str, "forest")
│ ~
│
└─ Main.exs:4:8: Main.main/0
ソースコード
defmodule Main do
def main do
str = IO.gets("") |> String.trim
OS.puts Regex.replace(~r/treeone/, str, "forest")
end
end
getty104