結果

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

ソースコード

diff #

#!/usr/bin/env python

import math
x, y, r = map(int, raw_input().split())
distance = abs(x) + abs(y) + math.ceil(2 * r / math.sqrt(2.0))
print(int(distance))
0