結果
問題 | No.18 うーさー暗号 |
ユーザー | 3qvwn |
提出日時 | 2019-07-04 01:03:34 |
言語 | Elixir (1.16.2) |
結果 |
WA
|
実行時間 | - |
コード長 | 188 bytes |
コンパイル時間 | 1,112 ms |
コンパイル使用メモリ | 55,248 KB |
実行使用メモリ | 50,260 KB |
最終ジャッジ日時 | 2023-08-29 23:39:09 |
合計ジャッジ時間 | 10,684 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge15 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 602 ms
49,192 KB |
testcase_01 | AC | 602 ms
49,904 KB |
testcase_02 | AC | 608 ms
49,804 KB |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | AC | 615 ms
49,328 KB |
testcase_11 | AC | 610 ms
49,744 KB |
testcase_12 | WA | - |
ソースコード
defmodule Main do def main do IO.gets("") |> String.trim |> to_charlist |> Enum.with_index(1) |> Enum.map(fn {key, value} -> rem(key - value + 65, 26) + 65 end) |> IO.puts end end