結果
問題 | No.374 コイン |
ユーザー |
![]() |
提出日時 | 2017-05-17 21:30:36 |
言語 | Elixir (1.14.3) |
結果 |
CE
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 164 bytes |
コンパイル時間 | 954 ms |
コンパイル使用メモリ | 53,476 KB |
最終ジャッジ日時 | 2023-08-29 22:41:34 |
合計ジャッジ時間 | 1,826 ms |
ジャッジサーバーID (参考情報) |
judge11 / judge14 |
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
== Compilation error in file Main.exs == ** (ArgumentError) errors were found at the given arguments: * 1st argument: not a binary (stdlib 4.3) :binary.split(:eof, [" ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", <<194, 133>>, " ", "\t", "\n", "\v", "\f", "\r"], [:global, :trim_all]) (elixir 1.14.3) lib/elixir/unicode/unicode.ex:515: String.Break.split/1 Main.exs:1: (file)
ソースコード
case IO.gets("")|> String.split |> Enum.map(&Integer.parse/1) |> Enum.map(&elem(&1,0)) do [a, b] when b > a -> IO.puts "K" _ -> IO.puts "S" end