結果

問題 No.8076 eLepHAnTpAoOM
ユーザー a01sa01to
提出日時 2024-06-19 00:39:13
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 514 bytes
コンパイル時間 3,116 ms
コンパイル使用メモリ 242,768 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-19 00:39:18
合計ジャッジ時間 4,684 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other WA * 23
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#ifdef LOCAL
  #include "settings/debug.cpp"
  #define _GLIBCXX_DEBUG
#else
  #define Debug(...) void(0)
#endif
#define rep(i, n) for (int i = 0; i < (n); ++i)
using ll = long long;
using ull = unsigned long long;

int main() {
  // https://ja.wikipedia.org/wiki/%E3%82%A4%E3%83%B3%E3%83%89%E3%82%BE%E3%82%A6#%E5%85%AC%E5%BC%8F
  double h, r;
  cin >> h >> r;
  cout << fixed << setprecision(15) << -8.254 + 6.807 * h + 7.073 * acos(-1) * 2 * r << endl;
  return 0;
}
0