結果

問題 No.172 UFOを捕まえろ
ユーザー yumenomatayumeyumenomatayume
提出日時 2020-04-05 11:38:18
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 158 bytes
コンパイル時間 275 ms
コンパイル使用メモリ 87,004 KB
実行使用メモリ 71,708 KB
最終ジャッジ日時 2023-09-16 06:32:48
合計ジャッジ時間 3,072 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,336 KB
testcase_01 AC 71 ms
71,300 KB
testcase_02 AC 74 ms
71,356 KB
testcase_03 AC 73 ms
71,236 KB
testcase_04 WA -
testcase_05 AC 73 ms
71,120 KB
testcase_06 AC 72 ms
71,296 KB
testcase_07 AC 72 ms
71,128 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 71 ms
71,220 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 72 ms
71,412 KB
testcase_20 WA -
testcase_21 AC 73 ms
71,464 KB
testcase_22 WA -
testcase_23 WA -
権限があれば一括ダウンロードができます

ソースコード

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