結果

問題 No.172 UFOを捕まえろ
ユーザー nobigomunobigomu
提出日時 2018-05-04 14:06:44
言語 Lua
(LuaJit 2.1.1734355927)
結果
AC  
実行時間 2 ms / 5,000 ms
コード長 156 bytes
コンパイル時間 110 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-06-28 01:02:13
合計ジャッジ時間 862 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

print((function (x, y, r)
	return math.ceil(math.abs(x) + math.abs(y) + r*math.sqrt(2))
end)(io.stdin:read("*n"), io.stdin:read("*n"), io.stdin:read("*n")))
0