結果
| 問題 |
No.374 コイン
|
| コンテスト | |
| ユーザー |
yaoshimax
|
| 提出日時 | 2017-05-17 21:30:36 |
| 言語 | Elixir (1.18.1) |
| 結果 |
CE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 164 bytes |
| コンパイル時間 | 2,290 ms |
| コンパイル使用メモリ | 61,324 KB |
| 最終ジャッジ日時 | 2024-11-14 20:00:53 |
| 合計ジャッジ時間 | 2,875 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
== Compilation error in file Main.exs ==
** (ArgumentError) errors were found at the given arguments:
* 1st argument: not a binary
(stdlib 5.2) :binary.split(:eof, [" ", " ", "
", "
", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", <<194, 133>>, " ", "\t", "\n", "\v", "\f", "\r"], [:global, :trim_all])
(elixir 1.16.2) lib/elixir/unicode/unicode.ex:470: 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
yaoshimax