結果
問題 | No.8076 eLepHAnTpAoOM |
ユーザー |
![]() |
提出日時 | 2021-04-01 21:32:29 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 328 bytes |
コンパイル時間 | 1,747 ms |
コンパイル使用メモリ | 191,724 KB |
最終ジャッジ日時 | 2025-01-20 06:35:02 |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 23 |
ソースコード
#define rep(i,n) for(int i=0;i<(int)(n);i++)#define ALL(v) v.begin(),v.end()typedef long long ll;#include<bits/stdc++.h>using namespace std;const double pi=acos(-1);int main(){double h,r;cin>>h>>r;double s=-8.245 + 6.807 * h + 7.073 * r*pi*2;cout<<fixed<<setprecision(15)<<s<<endl;return 0;}