結果

問題 No.172 UFOを捕まえろ
ユーザー roiti46
提出日時 2015-04-21 00:15:01
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 5,000 ms
コード長 119 bytes
コンパイル時間 89 ms
コンパイル使用メモリ 6,912 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2024-10-15 14:05:51
合計ジャッジ時間 1,045 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
x, y, r = map(int, raw_input().split())
print abs(x) + abs(y) + int(math.ceil(r/(math.sqrt(2) / 2) + 1e-9))
0