結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,372 KB
testcase_01 AC 72 ms
71,320 KB
testcase_02 AC 72 ms
71,228 KB
testcase_03 AC 72 ms
71,060 KB
testcase_04 WA -
testcase_05 AC 72 ms
71,216 KB
testcase_06 AC 71 ms
71,096 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 AC 73 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 73 ms
71,300 KB
testcase_20 WA -
testcase_21 AC 71 ms
71,260 KB
testcase_22 WA -
testcase_23 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

import math

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

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