結果
| 問題 | 
                            No.8076 eLepHAnTpAoOM
                             | 
                    
| コンテスト | |
| ユーザー | 
                             a01sa01to
                         | 
                    
| 提出日時 | 2024-06-19 00:45:11 | 
| 言語 | C++23  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 523 bytes | 
| コンパイル時間 | 2,953 ms | 
| コンパイル使用メモリ | 242,984 KB | 
| 実行使用メモリ | 6,948 KB | 
| 最終ジャッジ日時 | 2024-06-19 00:45:16 | 
| 合計ジャッジ時間 | 4,310 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge4 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | WA * 1 | 
| other | WA * 23 | 
ソースコード
#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
  long double h, r;
  cin >> h >> r;
  cout << fixed << setprecision(20) << -8.254L + 6.807L * h + 7.073L * acosl(-1) * 2 * r << endl;
  return 0;
}
            
            
            
        
            
a01sa01to