結果
| 問題 | No.725 木は明らかに森である |
| コンテスト | |
| ユーザー |
getty104
|
| 提出日時 | 2018-09-11 15:10:26 |
| 言語 | Elixir (1.20.4) |
| 結果 |
RE
不安定
|
| 実行時間 | - |
| コード長 | 133 bytes |
| 記録 | |
| コンパイル時間 | 627 ms |
| コンパイル使用メモリ | 95,872 KB |
| 実行使用メモリ | 90,728 KB |
| 最終ジャッジ日時 | 2026-10-09 19:35:48 |
| 合計ジャッジ時間 | 5,353 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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