結果

問題 No.172 UFOを捕まえろ
ユーザー brthyyjp
提出日時 2021-09-07 13:08:00
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 5,000 ms
コード長 148 bytes
コンパイル時間 268 ms
コンパイル使用メモリ 82,232 KB
実行使用メモリ 53,852 KB
最終ジャッジ日時 2024-12-23 07:06:12
合計ジャッジ時間 2,156 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 21
権限があれば一括ダウンロードができます

ソースコード

diff #

x, y, r = map(int, input().split())
x = abs(x)
y = abs(y)
import math
xt, yt = x+r/math.sqrt(2), y+r/math.sqrt(2)
ans = math.ceil(xt+yt)
print(ans)
0