結果

問題 No.311 z in FizzBuzzString
ユーザー nobigomu
提出日時 2018-03-25 00:37:00
言語 Lua
(LuaJit 2.1.1734355927)
結果
WA  
実行時間 -
コード長 241 bytes
コンパイル時間 160 ms
コンパイル使用メモリ 6,812 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-09-24 22:06:12
合計ジャッジ時間 668 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 6 WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

local ffi = require 'ffi'
local C = ffi.C

ffi.cdef [[
long atol(const char *str);
int printf(const char *fmt, ...);
]]

C.printf("%ld\n", (function (f, s)
	return f(s)
end)(function (s)
	return C.atol(s)*16LL/15LL
end, io.stdin:read("*l")))
0