結果

問題 No.676 C0nvertPr0b1em
ユーザー gemmarogemmaro
提出日時 2020-04-07 08:37:27
言語 Elixir
(1.16.2)
結果
AC  
実行時間 628 ms / 2,000 ms
コード長 169 bytes
コンパイル時間 1,034 ms
コンパイル使用メモリ 57,456 KB
実行使用メモリ 50,388 KB
最終ジャッジ日時 2023-08-29 23:59:21
合計ジャッジ時間 22,051 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 615 ms
50,060 KB
testcase_01 AC 618 ms
49,232 KB
testcase_02 AC 618 ms
49,884 KB
testcase_03 AC 622 ms
49,252 KB
testcase_04 AC 627 ms
49,388 KB
testcase_05 AC 617 ms
49,264 KB
testcase_06 AC 628 ms
49,232 KB
testcase_07 AC 622 ms
49,244 KB
testcase_08 AC 624 ms
49,160 KB
testcase_09 AC 616 ms
49,276 KB
testcase_10 AC 614 ms
49,648 KB
testcase_11 AC 622 ms
49,872 KB
testcase_12 AC 622 ms
49,028 KB
testcase_13 AC 622 ms
49,040 KB
testcase_14 AC 620 ms
50,388 KB
testcase_15 AC 620 ms
49,940 KB
testcase_16 AC 613 ms
49,220 KB
testcase_17 AC 612 ms
49,208 KB
testcase_18 AC 616 ms
49,992 KB
testcase_19 AC 614 ms
49,948 KB
testcase_20 AC 620 ms
49,480 KB
testcase_21 AC 612 ms
49,824 KB
testcase_22 AC 611 ms
49,108 KB
testcase_23 AC 613 ms
49,292 KB
testcase_24 AC 613 ms
49,796 KB
testcase_25 AC 618 ms
49,092 KB
testcase_26 AC 623 ms
49,292 KB
testcase_27 AC 619 ms
49,452 KB
testcase_28 AC 622 ms
49,256 KB
testcase_29 AC 618 ms
49,704 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

defmodule Main do
  def main do
    IO.gets("")
    |> String.trim()
    |> String.replace(~r/[Il]/, "1")
    |> String.replace(~r/[Oo]/, "0")
    |> IO.puts()
  end
end
0