結果

問題 No.172 UFOを捕まえろ
ユーザー yumenomatayume
提出日時 2020-04-05 11:38:18
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 158 bytes
コンパイル時間 191 ms
コンパイル使用メモリ 82,056 KB
実行使用メモリ 52,352 KB
最終ジャッジ日時 2024-07-03 08:05:17
合計ジャッジ時間 2,049 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7 WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

x,y,r = map(int,input().split())

a = math.sqrt((abs(x)+r/math.sqrt(2))**2+(abs(y)+r/math.sqrt(2))**2)*math.sqrt(2)
ans = math.ceil(a)
print(ans)
0