結果
| 問題 | No.172 UFOを捕まえろ |
| コンテスト | |
| ユーザー |
cande398
|
| 提出日時 | 2018-06-11 19:53:57 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 5,000 ms |
| + 301µs | |
| コード長 | 190 bytes |
| 記録 | |
| コンパイル時間 | 335 ms |
| コンパイル使用メモリ | 87,296 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-02 11:57:40 |
| 合計ジャッジ時間 | 1,694 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 21 |
ソースコード
#include <complex>
#include <iostream>
#include <cmath>
using namespace std;
int main(void)
{
int x, y;
int r;
cin >> x >> y >> r;
cout << abs(x) + abs(y) + ceil(sqrt(2) * r) << endl;
}
cande398