結果
| 問題 | No.605 板挟みの球面 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2017-12-05 00:38:19 | 
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 558 bytes | 
| コンパイル時間 | 765 ms | 
| コンパイル使用メモリ | 93,228 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-11-28 07:04:59 | 
| 合計ジャッジ時間 | 1,072 ms | 
| ジャッジサーバーID (参考情報) | judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 1 WA * 3 | 
ソースコード
#include "iostream"
#include "climits"
#include "list"
#include "queue"
#include "stack"
#include "set"
#include "functional"
#include "algorithm"
#include "string"
#include "map"
#include "iomanip"
#include "cmath"
using namespace std;
const long long int MOD = 1000000007;
long long int N, M, K, H, W, L, R;
int main() {
	ios::sync_with_stdio(false);
	cin.tie(0);
	long double a, b;
	cin >> a >> b;
	a = sqrt((long double)1 - a*a)*a + asin(a);
	b = sqrt((long double)1 - b*b)*b + asin(b);
	cout << setprecision(20) << (b - a) * 4 << endl;
	return 0;
}
            
            
            
        