結果

問題 No.692 square1001 and Permutation 1
ユーザー wotsushiwotsushi
提出日時 2018-07-24 22:58:16
言語 Elixir
(1.16.2)
結果
AC  
実行時間 642 ms / 2,000 ms
コード長 186 bytes
コンパイル時間 1,178 ms
コンパイル使用メモリ 54,548 KB
実行使用メモリ 50,400 KB
最終ジャッジ日時 2023-08-29 22:46:32
合計ジャッジ時間 7,525 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 634 ms
49,236 KB
testcase_01 AC 636 ms
49,744 KB
testcase_02 AC 632 ms
49,124 KB
testcase_03 AC 638 ms
49,132 KB
testcase_04 AC 634 ms
49,668 KB
testcase_05 AC 640 ms
49,404 KB
testcase_06 AC 642 ms
49,304 KB
testcase_07 AC 642 ms
50,400 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

defmodule Main do
  def main do
    n = IO.gets("") |> String.trim |> String.to_integer

    ans = case n do
      1 -> "square1001"
      _ -> "Petr"
    end

    IO.puts ans
  end
end
0