結果
問題 | No.605 板挟みの球面 |
ユーザー |
|
提出日時 | 2017-12-05 17:36:00 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 244 bytes |
コンパイル時間 | 774 ms |
コンパイル使用メモリ | 88,640 KB |
最終ジャッジ日時 | 2025-01-05 04:45:48 |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 |
ソースコード
#include <iostream>#include <iomanip>#include <cmath>using namespace std;using ld = long double;constexpr ld PI = 3.14159265359;int main(){ld a,b;cin >> a >> b;cout << fixed << setprecision(10) << 2*PI*(abs(b-a)) << endl;return 0;}