結果

問題 No.605 板挟みの球面
ユーザー Kutimoti_TKutimoti_T
提出日時 2018-06-24 11:22:13
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 256 bytes
コンパイル時間 383 ms
コンパイル使用メモリ 61,384 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-13 13:32:24
合計ジャッジ時間 874 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <iomanip>
using namespace std;

int main(){
    double a,b;
    cin >> a >> b;
    cout << fixed << setprecision(10);
    double p = 3.14159265359;
    cout << p * (b - a) - 1 / 3.0 * p * (b * b * b - a * a * a) << endl;
    
}
0