結果

問題 No.172 UFOを捕まえろ
ユーザー nanasili
提出日時 2015-04-08 09:40:53
言語 C++11(廃止可能性あり)
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 544 bytes
コンパイル時間 603 ms
コンパイル使用メモリ 83,100 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-07-04 11:00:46
合計ジャッジ時間 1,416 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 13 WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <algorithm>
#include <vector>
#include <cfloat>
#include <string>
#include <cmath>
#include <set>
#include <cstdlib>
#include <map>
#include <ctime>
#include <iomanip>
#include <functional>
#include <deque>
#include <iostream>
#include <cstring>
#include <queue>
#include <cstdio>
#include <stack>
#include <climits>
#include <sys/time.h>
#include <cctype>

using namespace std;

typedef long long ll;

int main() {
  double x, y, r;
  double q = 1.4142;
  cin >> x >> y >> r;
  std::cout << int(abs(x)+abs(y)+r*q+0.6) << std::endl;
}
0