結果
問題 | No.172 UFOを捕まえろ |
ユーザー |
![]() |
提出日時 | 2019-03-04 14:58:40 |
言語 | Go (1.23.4) |
結果 |
AC
|
実行時間 | 2 ms / 5,000 ms |
コード長 | 180 bytes |
コンパイル時間 | 10,690 ms |
コンパイル使用メモリ | 233,724 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-23 13:28:11 |
合計ジャッジ時間 | 11,557 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 21 |
ソースコード
package main import ( "fmt" "math" ) func main() { var x, y, r float64 _, _ = fmt.Scan(&x, &y, &r) fmt.Println(math.Abs(x) + math.Abs(y) + math.Ceil(math.Sqrt(r*r+r*r))) }