結果
| 問題 | 
                            No.89 どんどんドーナツどーんといこう!
                             | 
                    
| コンテスト | |
| ユーザー | 
                            👑  | 
                    
| 提出日時 | 2020-01-24 12:49:50 | 
| 言語 | C++14  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 250 bytes | 
| コンパイル時間 | 702 ms | 
| コンパイル使用メモリ | 74,288 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-09-14 01:57:11 | 
| 合計ジャッジ時間 | 1,304 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge1 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 WA * 1 | 
| other | AC * 2 WA * 7 | 
ソースコード
#define _USE_MATH_DEFINES
#include <iostream>
#include <iomanip>
#include <cmath>
using namespace std;
int main(){
    int a,x,y;cin>>a>>x>>y;
    cout << fixed << setprecision(15) << (double)(a*(2*((y-x)/2)*((y-x)/2)*((y+x)/2)*M_PI)) << endl;
    
}