結果

問題 No.1178 Can you draw a Circle?
ユーザー shiomusubi496shiomusubi496
提出日時 2020-08-21 22:52:44
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 228 bytes
コンパイル時間 1,689 ms
コンパイル使用メモリ 166,184 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-07 13:41:31
合計ジャッジ時間 2,714 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 4 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
#define int long long
using namespace std;
signed main(){
    int a,b,c,d,e,f;
    cin>>a>>b>>c>>d>>e>>f;
    f-=e;
    c/=a,d/=a,e/=a,f/=a;
    cout<<fixed<<setprecision(16)<<sqrt(f+c*c/4+d*d/4)<<endl;
}
0