結果
問題 |
No.172 UFOを捕まえろ
|
ユーザー |
|
提出日時 | 2020-04-05 03:46:55 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 140 bytes |
コンパイル時間 | 153 ms |
コンパイル使用メモリ | 82,364 KB |
実行使用メモリ | 54,032 KB |
最終ジャッジ日時 | 2024-07-03 07:58:29 |
合計ジャッジ時間 | 1,874 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | AC * 1 WA * 20 |
ソースコード
import math x,y,r = map(int,input().split()) ans = math.ceil((math.sqrt((x+math.sqrt(r))**2+(y+math.sqrt(r))**2))*math.sqrt(2)) print(ans)