結果

問題 No.8000 enuemu暗号
ユーザー nobigomu
提出日時 2018-03-01 01:10:58
言語 Lua
(LuaJit 2.1.1734355927)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 284 bytes
コンパイル時間 259 ms
コンパイル使用メモリ 5,248 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-12-23 05:28:18
合計ジャッジ時間 826 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

function g()
	local t = "cqlmdrstfxyzbanopuvweghijk"
	local a = string.byte("a")
	return function (s)
		local r, _ = s:gsub(".", function (e)
			local n = string.byte(e) - a + 1
			return t:sub(n, n)
		end)
		return r
	end
end

local s = io.stdin:read("*l")
local f = g()
print(f(s))
0