結果

問題 No.172 UFOを捕まえろ
ユーザー No
提出日時 2017-05-24 14:37:38
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 152 bytes
コンパイル時間 580 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-19 16:07:33
合計ジャッジ時間 1,584 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other AC * 10 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

ss = input().split()
x = int(ss[0])
y = int(ss[1])
r = int(ss[2])

if x < 0: x *= -1
if y < 0: y *= -1

a = int(x + y + (r * 1.41421356) + 0.5)
print(a)
0