結果
問題 | No.8076 eLepHAnTpAoOM |
ユーザー |
![]() |
提出日時 | 2024-06-19 00:42:30 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 611 bytes |
コンパイル時間 | 3,037 ms |
コンパイル使用メモリ | 243,044 KB |
実行使用メモリ | 6,948 KB |
最終ジャッジ日時 | 2024-06-19 00:42:35 |
合計ジャッジ時間 | 4,342 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%8Fint h, _h, r, _r;scanf("%d.%d %d.%d", &h, &_h, &r, &_r);double ans = -825400 + 6807 * (h * 100 + _h);ans += 7073 * 2 * (r * 100 + _r) * acos(-1);ans /= 1e5;cout << fixed << setprecision(15) << ans << endl;return 0;}